KaliVeda  1.13/01
Heavy-Ion Analysis Toolkit
KVCoulombPropagator.h
Go to the documentation of this file.
1 
4 #ifndef __KVCOULOMBPROPAGATOR_H
5 #define __KVCOULOMBPROPAGATOR_H
6 
7 #include "KVRungeKutta.h"
8 #include "KVSimEvent.h"
9 
19 
21  {
22  return (i - 1) * 3;
23  }
25  {
26  return 3 * fMult + particle_position_offset(i);
27  }
28 
29  void updateEvent();
30 
31 public:
32  KVCoulombPropagator(KVSimEvent*, Double_t precision = 1.e-9);
33 
34  virtual ~KVCoulombPropagator();
35 
36  void CalcDerivs(Double_t, Double_t* Y, Double_t* DYDX);
37 
39 
40  void Propagate(int maxTime);
41 
42  ClassDef(KVCoulombPropagator, 1) //Perform Coulomb propagation of events
43 };
44 
45 #endif
int Int_t
double Double_t
#define ClassDef(name, id)
Perform Coulomb propagation of events.
virtual ~KVCoulombPropagator()
Destructor.
void Propagate(int maxTime)
Int_t particle_position_offset(Int_t i)
KVCoulombPropagator(KVSimEvent *, Double_t precision=1.e-9)
Double_t TotalPotentialEnergy() const
Int_t particle_velocity_offset(Int_t i)
void CalcDerivs(Double_t, Double_t *Y, Double_t *DYDX)
Adaptive step-size 4th order Runge-Kutta ODE integrator from Numerical Recipes.
Definition: KVRungeKutta.h:49
Container class for simulated nuclei, KVSimNucleus.
Definition: KVSimEvent.h:21