KaliVeda
Toolkit for HIC analysis
KVINDRADB_e613 Class Reference

Detailed Description

Database for E613 experiment (2011)

Created by KVClassFactory on Mon Oct 24 14:38:16 2011 Author: bonnet

Definition at line 15 of file KVINDRADB_e613.h.

#include <KVINDRADB_e613.h>

Inheritance diagram for KVINDRADB_e613:

Public Member Functions

 KVINDRADB_e613 ()
 Default constructor. More...
 
 KVINDRADB_e613 (const Char_t *name)
 
virtual ~KVINDRADB_e613 ()
 Destructor. More...
 
virtual void Build ()
 
- 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)
 
virtual void GoodRunLine ()
 
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)
 

Private Member Functions

virtual void ReadChannelVolt ()
 
virtual void ReadChIoPressures ()
 
virtual void ReadGainList ()
 
virtual void ReadPedestalList ()
 
virtual void ReadVoltEnergyChIoSi ()
 

Additional Inherited Members

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

Constructor & Destructor Documentation

◆ KVINDRADB_e613() [1/2]

KVINDRADB_e613::KVINDRADB_e613 ( )

Default constructor.

Definition at line 19 of file KVINDRADB_e613.cpp.

◆ KVINDRADB_e613() [2/2]

KVINDRADB_e613::KVINDRADB_e613 ( const Char_t *  name)

Definition at line 28 of file KVINDRADB_e613.cpp.

◆ ~KVINDRADB_e613()

KVINDRADB_e613::~KVINDRADB_e613 ( )
virtual

Destructor.

Definition at line 38 of file KVINDRADB_e613.cpp.

Member Function Documentation

◆ Build()

void KVINDRADB_e613::Build ( )
virtual

Use KVINDRARunListReader utility subclass to read complete runlist get full path to runlist file, using environment variables for the current dataset

Reimplemented from KVINDRADB.

Definition at line 49 of file KVINDRADB_e613.cpp.

◆ ReadChannelVolt()

void KVINDRADB_e613::ReadChannelVolt ( )
privatevirtual

Read the names of pedestal files to use for each run range, found in file with name defined by the environment variable: [dataset name].INDRADB.Pedestals: ... need description of INDRA geometry

Reimplemented from KVINDRADB.

Definition at line 407 of file KVINDRADB_e613.cpp.

◆ ReadChIoPressures()

void KVINDRADB_e613::ReadChIoPressures ( )
privatevirtual

Read ChIo pressures for different run ranges and enter into database. Format of file is:

some comments which start with '#' RunRange 6001 6018 2_3 50.0 4_5 50.0 6_7 50.0 8_12 30.0 13_17 30.0

Pressures (of C3F8) are given in mbar).

Reimplemented from KVINDRADB.

Definition at line 116 of file KVINDRADB_e613.cpp.

◆ ReadGainList()

void KVINDRADB_e613::ReadGainList ( )
privatevirtual

Read the file listing any detectors whose gain value changes during experiment need description of INDRA geometry information are in [dataset name].INDRADB.Gains: ...

need description of INDRA geometry

Reimplemented from KVINDRADB.

Definition at line 236 of file KVINDRADB_e613.cpp.

◆ ReadPedestalList()

void KVINDRADB_e613::ReadPedestalList ( )
privatevirtual

Read the names of pedestal files to use for each run range, found in file with name defined by the environment variable: [dataset name].INDRADB.Pedestals: ... Actuellement lecture d un seul run de piedestal et donc valeur unique pour l ensemble des runs

Reimplemented from KVINDRADB.

Definition at line 345 of file KVINDRADB_e613.cpp.

◆ ReadVoltEnergyChIoSi()

void KVINDRADB_e613::ReadVoltEnergyChIoSi ( )
privatevirtual

Read Volt-Energy(MeV) calibrations for ChIo and Si detectors. The parameter filename is taken from the environment variable [dataset name].INDRADB.ChIoSiVoltMeVCalib:

Reimplemented from KVINDRADB.

Definition at line 552 of file KVINDRADB_e613.cpp.