KaliVeda
Toolkit for HIC analysis
KVZVtot.h
1 #ifndef KVZVtot_h
2 #define KVZVtot_h
3 #include "KVVGVectorSum.h"
4 
30 class KVZVtot: public KVVGVectorSum {
31 
32 protected:
33  void fill(const KVNucleus* n)
34  {
35  Add(n->GetZ()*n->GetVelocity());
36  }
37 
38 public:
39  KVZVtot() : KVVGVectorSum("KVZVtot") {}
40  KVZVtot(const Char_t* name) : KVVGVectorSum(name) {}
41  virtual ~KVZVtot() {}
42 
43  ClassDef(KVZVtot, 1) // Global variable ZVtot=Sum(Z(i)*v(i)) (units: cm/ns)
44 };
45 #endif
char Char_t
#define ClassDef(name, id)
char name[80]
Description of properties and kinematics of atomic nuclei.
Definition: KVNucleus.h:123
Global variable calculating sum of 3-dimensional vectors.
Definition: KVVGVectorSum.h:28
Sum of particle pseudo-momentum.
Definition: KVZVtot.h:30
KVZVtot()
Definition: KVZVtot.h:39
KVZVtot(const Char_t *name)
Definition: KVZVtot.h:40
virtual ~KVZVtot()
Definition: KVZVtot.h:41
const Int_t n
Add