KaliVeda
1.13/01
Heavy-Ion Analysis Toolkit
|
Database entry for each run of an INDRA experiment.
Information available:
Cross-section for a given run can be calculated with GetEventCrossSection()
Total measured cross-section for all events in run can be calculated with GetTotalCrossSection()
Definition at line 29 of file KVINDRADBRun.h.
Public Member Functions | |
KVINDRADBRun () | |
default ctor More... | |
KVINDRADBRun (Int_t number, const Char_t *title="INDRA Run") | |
ctor for a given run number More... | |
virtual | ~ KVINDRADBRun () |
const Char_t * | GetCahier () const |
Double_t | GetDeadTime () const |
KVDatime & | GetEndDatime () |
Double_t | GetEventCrossSection (Double_t Q_apres_cible, Double_t Coul_par_top=1.e-10) const |
virtual Double_t | GetGeneDirectTime (Double_t average_gene_dir_frequency=185.0) const |
const Char_t * | GetLogbook () const |
Float_t | GetMeanPulser (const Char_t *) |
Double_t | GetNIncidentIons (Double_t Q_apres_cible, Double_t Coul_par_top=1.e-10) const |
KVDatime & | GetStartDatime () |
KVDBTape * | GetTape () const |
Int_t | GetTapeNumber () const |
Double_t | GetTempsMort () const |
Double_t | GetTMpercent () const |
Double_t | GetTotalCrossSection (Double_t Q_apres_cible, Double_t Coul_par_top=1.e-10) const |
void | SetCahier (const Char_t *log) |
void | SetLogbook (const Char_t *log) |
void | SetTMpercent (Float_t tmp) |
virtual void | UnsetSystem () |
Public Member Functions inherited from KVDBRun | |
KVDBRun () | |
default ctor More... | |
KVDBRun (Int_t number, const Char_t *title) | |
ctor for a given run number More... | |
virtual | ~ KVDBRun () |
void | BlockSignals (Bool_t yes=kTRUE) |
Double_t | Get (const Char_t *param) const |
Get numerical (non-scaler) characteristic of run. More... | |
const Char_t * | GetComments () const |
const Char_t * | GetDate () const |
const TDatime & | GetDatime () const |
const Char_t * | GetDatimeString () |
const Char_t * | GetEndDate () const |
ULong64_t | GetEvents () const |
const Char_t * | GetKVVersion () const |
virtual Int_t | GetScaler (const Char_t *name) const |
Get value of scaler with the given name for this run. More... | |
virtual ULong64_t | GetScaler64 (const Char_t *name) const |
Get value of 64-bit scaler with the given name for this run. More... | |
Double_t | GetSize () const |
const Char_t * | GetStartDate () const |
const Char_t * | GetString (const Char_t *param) const |
Get characteristic of run. More... | |
KVDBSystem * | GetSystem () const |
const Char_t * | GetSystemName () const |
KVTarget * | GetTarget () const |
Return target used for this run (actually target of KVDBSystem associated to run) More... | |
Double_t | GetTime () const |
Int_t | GetTrigger () const |
const Char_t * | GetTriggerString () const |
const Char_t * | GetUserName () const |
Bool_t | Has (const Char_t *param, Bool_t check_whitespace=kTRUE) const |
void | Modified () |
virtual void | Print (Option_t *option="") const |
virtual void | ReadRunListLine (const KVString &) |
void | Set (const Char_t *param, const KVString &val) |
Set characteristic of run. More... | |
void | Set (const Char_t *param, Double_t val) |
Set numerical (non-scaler) characteristic of run. More... | |
void | SetComments (const KVString &comments) |
void | SetDate (const KVString &d) |
void | SetDatime (TDatime &dat) |
void | SetEndDate (const KVString &d) |
void | SetEvents (ULong64_t evt_number) |
void | SetKVVersion (const Char_t *V) |
void | SetNumber (Int_t n) |
virtual void | SetScaler (const Char_t *name, Int_t val) |
Set value for the scaler with the given name for this run. More... | |
virtual void | SetScaler64 (const Char_t *name, ULong64_t val) |
Set value for 64-bit scaler with the given name for this run. More... | |
void | SetSize (Double_t s) |
void | SetStartDate (const KVString &date) |
virtual void | SetSystem (KVDBSystem *system) |
Set system for run. Any previous system is unassociated (run will be removed from system's list) More... | |
void | SetTime (Double_t time) |
void | SetTrigger (Int_t trig) |
void | SetUserName (const Char_t *U) |
virtual void | WriteRunListHeader (std::ostream &, Char_t delim='|') const |
Write the version flag. More... | |
virtual void | WriteRunListLine (std::ostream &, Char_t delim='|') const |
Public Member Functions inherited from KVDBRecord | |
KVDBRecord () | |
KVDBRecord (const Char_t *name, const Char_t *title="") | |
virtual | ~ KVDBRecord () |
virtual KVDBKey * | AddKey (const Char_t *name, const Char_t *title, Bool_t check=kTRUE) |
virtual Bool_t | AddKey (KVDBKey *key, Bool_t check=kTRUE) |
virtual Bool_t | AddLink (const Char_t *key_name, KVDBRecord *rec, Bool_t linkback=kTRUE) |
virtual Int_t | Compare (const TObject *obj) const |
virtual KVDBKey * | GetKey (const Char_t *key) const |
virtual TList * | GetKeys () const |
virtual KVDBRecord * | GetLink (const Char_t *key, const Char_t *link) const |
Returns the record named "link" in the table named "key". More... | |
virtual KVRList * | GetLinks (const Char_t *key) const |
Returns the list of records linked to this record in table "key". More... | |
virtual Int_t | GetNumber () const |
virtual KVDBTable * | GetTable () const |
virtual void | ls (Option_t *option="*") const |
virtual void | RemoveAllLinks (const Char_t *key) |
Remove all links between this record and the records in the DB table"key_name". More... | |
virtual void | RemoveLink (const Char_t *key_name, KVDBRecord *rec, Bool_t linkback=kTRUE) |
Remove the link between this record and the record "rec" in the DB table"key_name". More... | |
virtual void | SetTable (const KVDBTable *table) |
Public Member Functions inherited from TFolder | |
TFolder () | |
TFolder (const char *name, const char *title) | |
virtual | ~TFolder () |
virtual void | Add (TObject *obj) |
TFolder * | AddFolder (const char *name, const char *title, TCollection *collection=0) |
virtual void | Browse (TBrowser *b) |
virtual void | Clear (Option_t *option="") |
virtual void | Copy (TObject &) const |
virtual const char * | FindFullPathName (const char *name) const |
virtual const char * | FindFullPathName (const TObject *obj) const |
virtual TObject * | FindObject (const char *name) const |
virtual TObject * | FindObject (const TObject *obj) const |
virtual TObject * | FindObjectAny (const char *name) const |
TCollection * | GetListOfFolders () const |
Bool_t | IsFolder () const |
Bool_t | IsOwner () const |
virtual Int_t | Occurence (const TObject *obj) const |
virtual void | RecursiveRemove (TObject *obj) |
virtual void | Remove (TObject *obj) |
virtual void | SaveAs (const char *filename="", Option_t *option="") const |
virtual void | SetOwner (Bool_t owner=kTRUE) |
Public Member Functions inherited from TNamed | |
TNamed () | |
TNamed (const char *name, const char *title) | |
TNamed (const TNamed &named) | |
TNamed (const TString &name, const TString &title) | |
virtual | ~TNamed () |
virtual TObject * | Clone (const char *newname="") const |
virtual void | FillBuffer (char *&buffer) |
virtual const char * | GetName () const |
virtual const char * | GetTitle () const |
virtual ULong_t | Hash () const |
virtual Bool_t | IsSortable () const |
TNamed & | operator= (const TNamed &rhs) |
virtual void | SetName (const char *name) |
virtual void | SetNameTitle (const char *name, const char *title) |
virtual void | SetTitle (const char *title="") |
virtual Int_t | Sizeof () const |
Public Member Functions inherited from TObject | |
TObject () | |
TObject (const TObject &object) | |
virtual | ~TObject () |
void | AbstractMethod (const char *method) const |
virtual void | AppendPad (Option_t *option="") |
ULong_t | CheckedHash () |
virtual const char * | ClassName () const |
virtual void | Delete (Option_t *option="") |
virtual Int_t | DistancetoPrimitive (Int_t px, Int_t py) |
virtual void | Draw (Option_t *option="") |
virtual void | DrawClass () const |
virtual TObject * | DrawClone (Option_t *option="") const |
virtual void | Dump () const |
virtual void | Error (const char *method, const char *msgfmt,...) const |
virtual void | Execute (const char *method, const char *params, Int_t *error=0) |
virtual void | Execute (TMethod *method, TObjArray *params, Int_t *error=0) |
virtual void | ExecuteEvent (Int_t event, Int_t px, Int_t py) |
virtual void | Fatal (const char *method, const char *msgfmt,...) const |
virtual Option_t * | GetDrawOption () const |
virtual const char * | GetIconName () const |
virtual char * | GetObjectInfo (Int_t px, Int_t py) const |
virtual Option_t * | GetOption () const |
virtual UInt_t | GetUniqueID () const |
virtual Bool_t | HandleTimer (TTimer *timer) |
Bool_t | HasInconsistentHash () const |
virtual void | Info (const char *method, const char *msgfmt,...) const |
virtual Bool_t | InheritsFrom (const char *classname) const |
virtual Bool_t | InheritsFrom (const TClass *cl) const |
virtual void | Inspect () const |
void | InvertBit (UInt_t f) |
virtual Bool_t | IsEqual (const TObject *obj) const |
R__ALWAYS_INLINE Bool_t | IsOnHeap () const |
R__ALWAYS_INLINE Bool_t | IsZombie () const |
void | MayNotUse (const char *method) const |
virtual Bool_t | Notify () |
void | Obsolete (const char *method, const char *asOfVers, const char *removedFromVers) const |
void | operator delete (void *ptr) |
void | operator delete[] (void *ptr) |
void * | operator new (size_t sz) |
void * | operator new (size_t sz, void *vp) |
void * | operator new[] (size_t sz) |
void * | operator new[] (size_t sz, void *vp) |
TObject & | operator= (const TObject &rhs) |
virtual void | Paint (Option_t *option="") |
virtual void | Pop () |
virtual Int_t | Read (const char *name) |
void | ResetBit (UInt_t f) |
virtual void | SavePrimitive (std::ostream &out, Option_t *option="") |
void | SetBit (UInt_t f) |
void | SetBit (UInt_t f, Bool_t set) |
virtual void | SetDrawOption (Option_t *option="") |
virtual void | SetUniqueID (UInt_t uid) |
virtual void | SysError (const char *method, const char *msgfmt,...) const |
R__ALWAYS_INLINE Bool_t | TestBit (UInt_t f) const |
Int_t | TestBits (UInt_t f) const |
virtual void | UseCurrentStyle () |
virtual void | Warning (const char *method, const char *msgfmt,...) const |
virtual Int_t | Write (const char *name=0, Int_t option=0, Int_t bufsize=0) |
virtual Int_t | Write (const char *name=0, Int_t option=0, Int_t bufsize=0) const |
Private Attributes | |
KVDatime | fStartEndDate |
used by GetStartDatime and GetEndDatime methods More... | |
Additional Inherited Members | |
Public Types inherited from TObject | |
enum | EDeprecatedStatusBits |
enum | EStatusBits |
Static Public Member Functions inherited from TObject | |
static Longptr_t | GetDtorOnly () |
static Bool_t | GetObjectStat () |
static void | SetDtorOnly (void *obj) |
static void | SetObjectStat (Bool_t stat) |
Public Attributes inherited from TObject | |
kBitMask | |
kCanDelete | |
kCannotPick | |
kHasUUID | |
kInconsistent | |
kInvalidObject | |
kIsOnHeap | |
kIsReferenced | |
kMustCleanup | |
kNoContextMenu | |
kNotDeleted | |
kObjInCanvas | |
kOverwrite | |
kSingleKey | |
kWriteDelete | |
kZombie | |
Protected Member Functions inherited from TObject | |
virtual void | DoError (int level, const char *location, const char *fmt, va_list va) const |
void | MakeZombie () |
Protected Attributes inherited from KVDBRun | |
TDatime | fDatime |
set dynamically with date&time of ROOT file corresponding to run More... | |
TString | fKVVersion |
set dynamically with KaliVeda version used to generate ROOT file corresponding to run More... | |
KVNameValueList | fParameters |
list of named parameters for run More... | |
TString | fUserName |
set dynamically with name of user who generated ROOT file corresponding to run More... | |
Protected Attributes inherited from KVDBRecord | |
TString | fFullPathTable |
full path to parent table in folder structure More... | |
Int_t | fNumber |
number which can be used to identify/sort record More... | |
Protected Attributes inherited from TFolder | |
TCollection * | fFolders |
Bool_t | fIsOwner |
Protected Attributes inherited from TNamed | |
TString | fName |
TString | fTitle |
Protected Attributes inherited from TObject | |
kOnlyPrepStep | |
#include <KVINDRADBRun.h>
KVINDRADBRun::KVINDRADBRun | ( | ) |
default ctor
Definition at line 19 of file KVINDRADBRun.cpp.
ctor for a given run number
Definition at line 29 of file KVINDRADBRun.cpp.
|
virtual |
|
inline |
Definition at line 45 of file KVINDRADBRun.h.
|
inline |
Definition at line 74 of file KVINDRADBRun.h.
|
inline |
Returns KVDatime with end date/time of run, i.e. string returned by GetEndDate(). For INDRA runs, this string is assumed to be in GANIL acquisition format.
Definition at line 102 of file KVINDRADBRun.h.
Double_t KVINDRADBRun::GetEventCrossSection | ( | Double_t | Q_apres_cible, |
Double_t | Coul_par_top = 1.e-10 |
||
) | const |
Calculation of cross-section (in millibarn) per event of this run from the measured integrated beam current and correcting for dead time. Based on sect_effic.f by M.F. Rivet
For meaning of arguments, see GetNIncidentIons()
Definition at line 54 of file KVINDRADBRun.cpp.
|
inlinevirtual |
The GENE DIRECT of INDRA Selector module is generated from an internal clock with a nominal frequency of 160Hz, but which in reality (as measured by scaler) is approximately 185Hz (it actually appears to fluctuate around this value). Therefore the length of a run can be obtained from the GD simply by dividing by 185 (or another value for the average frequency of the pulser, which may be given as argument). This method returns the result of this division, corresponding to the length of the run (in seconds).
Definition at line 87 of file KVINDRADBRun.h.
|
inline |
Definition at line 49 of file KVINDRADBRun.h.
Return mean value of pulser/laser for this run.
For detectors, param should be name of an acquisition parameter e.g. CI_0201_PG, CSI_1301_L, etc. For pin laser diodes, param should be name of associated acquisition parameter with either '_laser' or '_gene' appended e.g. PILA_05_PG_laser, SI_PIN1_PG_gene
Returns -1.0 if no data available for this parameter/run.
Definition at line 201 of file KVINDRADBRun.cpp.
Double_t KVINDRADBRun::GetNIncidentIons | ( | Double_t | Q_apres_cible, |
Double_t | Coul_par_top = 1.e-10 |
||
) | const |
Calculate total number of incident beam particles during run, based on measured integrated beam current Arguments: Q_apres_cible = (average) charge state of projectile ions AFTER passage through target Coul_par_top = calibration of Faraday current integrator (default: 1.e-10 Coul/top) Note (from sect_effic.f): /*** Etalonnage de l'integrateur en 1993: voir cahier 4 page 87. /** Si l'oscillateur interne du trigger est a 169 Hz, on a 10**(-10) Cb/top. /** si c'est 160 Hz, on a 1.0610*(10**(-10)).
Definition at line 130 of file KVINDRADBRun.cpp.
|
inline |
Returns KVDatime with start date/time of run, i.e. string returned by GetStartDate(). For INDRA runs, this string is assumed to be in GANIL acquisition format. If date is not set, we return current time & date.
Definition at line 93 of file KVINDRADBRun.h.
KVDBTape * KVINDRADBRun::GetTape | ( | ) | const |
Definition at line 167 of file KVINDRADBRun.cpp.
Int_t KVINDRADBRun::GetTapeNumber | ( | ) | const |
Definition at line 179 of file KVINDRADBRun.cpp.
Double_t KVINDRADBRun::GetTempsMort | ( | ) | const |
Calculate temps mort for run from values of Gene dir, Gene MRQ and Gene TM, according to: T.M. = Gene TM / (Gene dir - Gene MRQ) If Gene dir = Gene MRQ, temps mort = 0. This can be compared to the value of GetTMpercent() (if present) which is the percentage value filled in the runsheet during the experimental run.
Definition at line 104 of file KVINDRADBRun.cpp.
|
inline |
Definition at line 41 of file KVINDRADBRun.h.
Double_t KVINDRADBRun::GetTotalCrossSection | ( | Double_t | Q_apres_cible, |
Double_t | Coul_par_top = 1.e-10 |
||
) | const |
Calculate total cross-section (in millibarn) measured for this run from the calculated cross-section per event (see GetEventCrossSection()) and the total number of measured events
Definition at line 87 of file KVINDRADBRun.cpp.
Definition at line 59 of file KVINDRADBRun.h.
Definition at line 63 of file KVINDRADBRun.h.
Definition at line 54 of file KVINDRADBRun.h.
|
virtual |
If this run has previously been associated with a system in the database, this will remove the association. The run will also be removed from the system's list of associated runs.
Reimplemented from KVDBRun.
Definition at line 153 of file KVINDRADBRun.cpp.
|
private |
used by GetStartDatime and GetEndDatime methods
Definition at line 32 of file KVINDRADBRun.h.