KaliVeda
Toolkit for HIC analysis
Loading...
Searching...
No Matches
KVZVtot.h
1#ifndef KVZVtot_h
2#define KVZVtot_h
3#include "KVVGVectorSum.h"
4
26class KVZVtot: public KVVGVectorSum {
27
28protected:
29 void fill(const KVNucleus* n)
30 {
31 Add(n->GetZ()*n->GetVelocity());
32 }
33
34public:
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)
Global variable calculating sum of 3-dimensional vectors.
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