KaliVeda
Toolkit for HIC analysis
KVDirectivity.h
1 #ifndef __KVDIRECTIVITY_H
2 #define __KVDIRECTIVITY_H
3 
4 #include "KVVarGlob1.h"
5 
23 class KVDirectivity: public KVVarGlob1 {
24 
27 
28 public:
30  : KVVarGlob1()
31  {
32  init();
33  }
34  KVDirectivity(const Char_t* nom)
35  : KVVarGlob1(nom)
36  {
37  init();
38  }
39  ROOT_COPY_CTOR(KVDirectivity, KVVarGlob1)
40  ROOT_COPY_ASSIGN_OP(KVDirectivity)
41 
42  virtual ~KVDirectivity(void) {}
43 
44  virtual void Copy(TObject& obj) const;
45 
46  void Calculate();
47  void Init()
48  {
50  total_mod_trans = 0;
51  SetFrame("CM");
52  }
53  void Reset()
54  {
55  Init();
56  }
57 
58 private:
59  void init();
60 
61 protected:
62  void fill(const KVNucleus* n);
63 
64  ClassDef(KVDirectivity, 1) //Transverse momentum directivity (FOPI)
65 };
66 
67 #endif
char Char_t
#define ClassDef(name, id)
Transverse momentum directivity (FOPI)
Definition: KVDirectivity.h:23
virtual void Copy(TObject &obj) const
TVector3 total_trans
Definition: KVDirectivity.h:26
double total_mod_trans
Definition: KVDirectivity.h:25
KVDirectivity(const Char_t *nom)
Definition: KVDirectivity.h:34
void fill(const KVNucleus *n)
void Calculate()
Calculation of global variable value(s) after filling is finished.
Description of properties and kinematics of atomic nuclei.
Definition: KVNucleus.h:126
Abstract base class for global variables which calculate a single value.
Definition: KVVarGlob1.h:14
void SetFrame(const Char_t *ref)
Definition: KVVarGlob.h:505