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