KaliVeda
Toolkit for HIC analysis
KVCaloBase.h
1 /*
2 $Id: KVCaloBase.h,v 1.3 2009/01/23 15:25:52 franklan Exp $
3 $Revision: 1.3 $
4 $Date: 2009/01/23 15:25:52 $
5 */
6 
9 
10 #ifndef __KVCaloBase_H
11 #define __KVCaloBase_H
12 
13 #include "KVVarGlob.h"
14 #include "KVNameValueList.h"
15 #include "KVNucleus.h"
16 
63 class KVCaloBase: public KVVarGlob {
64 
65  void init_KVCaloBase();
66 
67 protected:
68 
71 
73  virtual void SumUp();
74 
78 
79  virtual void fill(const KVNucleus*);
80  virtual Double_t getvalue_int(Int_t) const;
81  Double_t GetIngValue(Int_t idx) const;
82  void SetIngValue(KVString name, Double_t value);
83  void AddIngValue(KVString name, Double_t value);
84 
86 
87 public:
88 
89  KVCaloBase() : KVVarGlob("KVCaloBase")
90  {
92  }
93  KVCaloBase(const Char_t* nom) : KVVarGlob(nom)
94  {
96  }
97  ROOT_COPY_CTOR(KVCaloBase, KVVarGlob)
98  ROOT_COPY_ASSIGN_OP(KVCaloBase)
99  virtual ~KVCaloBase(void) {}
100  virtual void Copy(TObject& obj) const;
101 
102  void Init();
103  void Reset();
104  void Print(Option_t* opt = "") const;
105  const KVNameValueList& GetList(Option_t* opt = "ing") const;
106 
107  Double_t GetIngValue(const KVString& name) const;
108  virtual Char_t GetValueType(Int_t) const;
109  std::vector<Double_t> GetValueVector(void) const;
110 
111  void AddNeutrons(Int_t mult, Double_t mke);
112  virtual void Calculate();
113 
114  ClassDef(KVCaloBase, 1) //compute CaloBase
115 
116 };
117 
118 
119 #endif
int Int_t
bool Bool_t
char Char_t
double Double_t
const char Option_t
#define ClassDef(name, id)
Calorimetry of hot nuclei.
Definition: KVCaloBase.h:63
Bool_t kIsModified
indique les ingredients ont ete modifies
Definition: KVCaloBase.h:72
virtual void Copy(TObject &obj) const
Methode de Copy.
Definition: KVCaloBase.cpp:19
KVNucleus nn
permet d utiliser des methodes de KVNucleus
Definition: KVCaloBase.h:69
virtual Char_t GetValueType(Int_t) const
Definition: KVCaloBase.cpp:154
std::vector< Double_t > GetValueVector(void) const
On retourne un tableau rassemblant l'ensemble des ingredients.
Definition: KVCaloBase.cpp:190
void init_KVCaloBase()
Definition: KVCaloBase.cpp:207
KVCaloBase(const Char_t *nom)
Definition: KVCaloBase.h:93
void Init()
Definition: KVCaloBase.cpp:32
KVNameValueList nvl_ing
//Contains all ingredients computed
Definition: KVCaloBase.h:70
Double_t kracine_min
deux racines issues de la resolution de RootSquare
Definition: KVCaloBase.h:76
Double_t GetIngValue(Int_t idx) const
Definition: KVCaloBase.cpp:242
void ComputeExcitationEnergy()
Definition: KVCaloBase.cpp:341
virtual Double_t getvalue_int(Int_t) const
Definition: KVCaloBase.cpp:118
void AddIngValue(KVString name, Double_t value)
Definition: KVCaloBase.cpp:267
void AddNeutrons(Int_t mult, Double_t mke)
Definition: KVCaloBase.cpp:353
virtual void SumUp()
Definition: KVCaloBase.cpp:319
virtual void fill(const KVNucleus *)
Definition: KVCaloBase.cpp:287
void Print(Option_t *opt="") const
Definition: KVCaloBase.cpp:73
virtual void Calculate()
Definition: KVCaloBase.cpp:378
const KVNameValueList & GetList(Option_t *opt="ing") const
Definition: KVCaloBase.cpp:95
void SetIngValue(KVString name, Double_t value)
Definition: KVCaloBase.cpp:254
Bool_t RootSquare(Double_t aaa, Double_t bbb, Double_t ccc)
Definition: KVCaloBase.cpp:417
Int_t kroot_status
statut pour la methode de RootSquare
Definition: KVCaloBase.h:77
Double_t kracine_max
Definition: KVCaloBase.h:76
void Reset()
Definition: KVCaloBase.cpp:51
Handles lists of named parameters with different types, a list of KVNamedParameter objects.
Description of properties and kinematics of atomic nuclei.
Definition: KVNucleus.h:126
Extension of ROOT TString class which allows backwards compatibility with ROOT v3....
Definition: KVString.h:73
Base class for all global variable implementations.
Definition: KVVarGlob.h:233