KaliVeda
Toolkit for HIC analysis
Loading...
Searching...
No Matches
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
63class KVCaloBase: public KVVarGlob {
64
65 void init_KVCaloBase();
66
67protected:
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
87public:
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.
KVNucleus nn
permet d utiliser des methodes de KVNucleus
Definition KVCaloBase.h:69
virtual Char_t GetValueType(Int_t) const
std::vector< Double_t > GetValueVector(void) const
On retourne un tableau rassemblant l'ensemble des ingredients.
void init_KVCaloBase()
KVCaloBase(const Char_t *nom)
Definition KVCaloBase.h:93
void Init()
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
void ComputeExcitationEnergy()
virtual Double_t getvalue_int(Int_t) const
void AddIngValue(KVString name, Double_t value)
void AddNeutrons(Int_t mult, Double_t mke)
virtual void SumUp()
virtual void fill(const KVNucleus *)
void Print(Option_t *opt="") const
virtual void Calculate()
const KVNameValueList & GetList(Option_t *opt="ing") const
void SetIngValue(KVString name, Double_t value)
Bool_t RootSquare(Double_t aaa, Double_t bbb, Double_t ccc)
Int_t kroot_status
statut pour la methode de RootSquare
Definition KVCaloBase.h:77
Double_t kracine_max
Definition KVCaloBase.h:76
void Reset()
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