KaliVeda
Toolkit for HIC analysis
KVINDRADB4 Class Reference

Detailed Description

DataBase of parameters for 4th campaign of INDRA.

Definition at line 33 of file KVINDRADB4.h.

#include <KVINDRADB4.h>

Inheritance diagram for KVINDRADB4:

Public Member Functions

 KVINDRADB4 ()
 
 KVINDRADB4 (const Char_t *name)
 default ctor More...
 
virtual ~ KVINDRADB4 ()
 
virtual void Build ()
 Use KVINDRARunListReader utility subclass to read complete runlist. More...
 
virtual void GoodRunLine ()
 
- Public Member Functions inherited from KVINDRADB
 KVINDRADB ()
 
 KVINDRADB (const Char_t *name)
 
virtual ~ KVINDRADB ()
 
void AddTape (KVDBTape *r)
 
virtual void cd ()
 
KVListGetCalibrationPeaks (Int_t run, KVDetector *detector=0, Int_t peak_type=-1, Int_t signal_type=0, Double_t peak_energy=-1.0)
 
Double_t GetEventCrossSection (const Char_t *system, Int_t Mult_trigger, Double_t Q_apres_cible, Double_t Coul_par_top=1.e-10) const
 
Double_t GetEventCrossSection (Int_t run, Double_t Q_apres_cible, Double_t Coul_par_top=1.e-10) const
 
Double_t GetEventCrossSection (Int_t run1, Int_t run2, Double_t Q_apres_cible, Double_t Coul_par_top=1.e-10) const
 
Double_t GetEventCrossSection (KVNumberList runs, Double_t Q_apres_cible, Double_t Coul_par_top=1.e-10) const
 
Double_t GetMeanGDirFreq (Int_t run) const
 
Float_t GetMeanPulser (const Char_t *, int)
 
KVINDRAPulserDataTreeGetPulserData ()
 
KVINDRADBRunGetRun (Int_t run) const
 
virtual Double_t GetRunLengthFromGeneDirect (int run) const
 
virtual KVDBTapeGetTape (Int_t tape) const
 
virtual KVSeqCollectionGetTapes () const
 
Double_t GetTotalCrossSection (const Char_t *system, Int_t Mult_trigger, Double_t Q_apres_cible, Double_t Coul_par_top=1.e-10) const
 
Double_t GetTotalCrossSection (Int_t run, Double_t Q_apres_cible, Double_t Coul_par_top=1.e-10) const
 
Double_t GetTotalCrossSection (Int_t run1, Int_t run2, Double_t Q_apres_cible, Double_t Coul_par_top=1.e-10) const
 
Double_t GetTotalCrossSection (KVNumberList runs, Double_t Q_apres_cible, Double_t Coul_par_top=1.e-10) const
 
Double_t GetTotalCrossSection (TH1 *events_histo, Double_t Q_apres_cible, Double_t Coul_par_top=1.e-10)
 
void ReadNewRunList ()
 Read new-style runlist (written using KVDBRun v.10 or later) More...
 
virtual void ReadObjects (TFile *)
 Read associated objects (i.e. KVINDRAPulserDataTree's TTree) from file. More...
 
virtual void WriteObjects (TFile *)
 Write associated objects (i.e. KVINDRAPulserDataTree's TTree) in file. More...
 
- Public Member Functions inherited from KVExpDB
 KVExpDB ()
 Default constructor. More...
 
 KVExpDB (const Char_t *name)
 Constructor inherited from KVDataBase. More...
 
 KVExpDB (const Char_t *name, const Char_t *title)
 Constructor inherited from KVDataBase. More...
 
virtual ~KVExpDB ()
 Destructor. More...
 
void AddRun (KVDBRun *r)
 
void AddSystem (KVDBSystem *r)
 
Bool_t FindCalibFile (const Char_t *type, TString &fullpath, const TString &array_name="") const
 
TString GetCalibFileName (const Char_t *type) const
 
const Char_t * GetDataSetDir () const
 
virtual TString GetDBEnv (const Char_t *) const
 
KVDBRunGetDBRun (Int_t number) const
 
TString GetDBType () const
 
const KVNumberListGetRunList () const
 
virtual KVSeqCollectionGetRuns () const
 
virtual KVDBSystemGetSystem (const Char_t *system) const
 
virtual KVSeqCollectionGetSystems () const
 
ULong64_t GetTotalEvents (const KVString &system) const
 Return total number of events for given system. More...
 
ULong64_t GetTotalEvents (int first_run, int last_run=-1) const
 
virtual void LinkListToRunRange (TList *list, const KVNumberList &nl)
 Link the records contained in the list to the set of runs (see LinkRecordToRunRanges). More...
 
virtual void LinkListToRunRanges (TList *list, UInt_t rr_number, UInt_t run_ranges[][2])
 Link the records contained in the list to the set of runs (see LinkRecordToRunRanges). More...
 
virtual void LinkRecordToRun (KVDBRecord *rec, Int_t run)
 
virtual void LinkRecordToRunRange (KVDBRecord *rec, const KVNumberList &nl)
 
virtual void LinkRecordToRunRange (KVDBRecord *rec, UInt_t first_run, UInt_t last_run)
 
virtual void LinkRecordToRunRanges (KVDBRecord *rec, UInt_t rr_number, UInt_t run_ranges[][2])
 
virtual void PrintRuns (KVNumberList &) const
 
void RemoveSystem (KVDBSystem *s)
 
virtual void Save (const Char_t *)
 
void SetDataSet (const TString &s)
 
void SetDataSetDir (const Char_t *d)
 
void SetDBType (const TString &s)
 
void WriteRunListFile () const
 
void WriteSystemsFile () const
 
- Public Member Functions inherited from KVDataBase
 KVDataBase ()
 
 KVDataBase (const Char_t *name)
 
 KVDataBase (const Char_t *name, const Char_t *title)
 
virtual ~ KVDataBase ()
 
virtual KVDBTableAddTable (const Char_t *name, const Char_t *title, Bool_t unique=kFALSE)
 
virtual Bool_t AddTable (KVDBTable *table)
 
virtual KVDBRecordGetRecord (const Char_t *table_name, const Char_t *rec_name) const
 
virtual KVDBTableGetTable (const Char_t *table) const
 
virtual TList * GetTables () const
 
virtual void Print (Option_t *option="") const
 
- Public Member Functions inherited from KVINDRARunListReader
 KVINDRARunListReader ()
 
virtual ~ KVINDRARunListReader ()
 
void CloseRLFile ()
 
KVRunListLineGetLineReader () const
 
Int_t GetRLLineNumber () const
 
Int_t GetRunListTrigger (const Char_t *field, const Char_t *fmt)
 
Bool_t IsNewRunList () const
 
Bool_t OpenRLFile (const Char_t *)
 
Bool_t ReadRLLine ()
 
void ReadRunList (const Char_t *name="")
 
void SetRLCommentChar (Char_t c)
 
void SetRLSeparatorChar (Char_t c)
 

Additional Inherited Members

- Static Public Member Functions inherited from KVExpDB
static KVExpDBMakeDataBase (const Char_t *name, const Char_t *datasetdir)
 

Constructor & Destructor Documentation

◆ KVINDRADB4() [1/2]

KVINDRADB4::KVINDRADB4 ( )
inline

Definition at line 36 of file KVINDRADB4.h.

◆ KVINDRADB4() [2/2]

KVINDRADB4::KVINDRADB4 ( const Char_t *  name)

default ctor

Definition at line 34 of file KVINDRADB4.cpp.

◆ ~ KVINDRADB4()

virtual KVINDRADB4::~ KVINDRADB4 ( )
virtual

Member Function Documentation

◆ Build()

void KVINDRADB4::Build ( )
virtual

Use KVINDRARunListReader utility subclass to read complete runlist.

Reimplemented from KVINDRADB.

Definition at line 55 of file KVINDRADB4.cpp.

◆ GoodRunLine()

void KVINDRADB4::GoodRunLine ( )
virtual

For each "good run line" in the run list file, we: add a KVINDRADBRun to the database if it doesn't already exist set properties of run objects kFirstRun & kLastRun are set

Reimplemented from KVINDRADB.

Definition at line 80 of file KVINDRADB4.cpp.