KaliVeda
Toolkit for HIC analysis
KVCoulombPropagator.h
1 
4 #ifndef __KVCOULOMBPROPAGATOR_H
5 #define __KVCOULOMBPROPAGATOR_H
6 
7 #include "KVRungeKutta.h"
8 #include "KVSimEvent.h"
9 
20 
22  {
23  return (i - 1) * 3;
24  }
26  {
27  return 3 * fMult + particle_position_offset(i);
28  }
29 
30  void updateEvent();
31 
32 public:
33  KVCoulombPropagator(KVSimEvent*, Double_t precision = 1.e-9);
34 
35  virtual ~KVCoulombPropagator();
36 
37  void CalcDerivs(Double_t, Double_t* Y, Double_t* DYDX);
38 
40 
41  void Propagate(int maxTime);
42 
43  ClassDef(KVCoulombPropagator, 1) //Perform Coulomb propagation of events
44 };
45 
46 #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:50
Container class for simulated nuclei, KVSimNucleus.
Definition: KVSimEvent.h:22