KaliVeda
Toolkit for HIC analysis
KVINDRADB_e475s Class Reference

Detailed Description

Database for E475s experiment (2006)

Created by KVClassFactory on Tue Sep 18 11:17:53 2007 Author: bonnet

Definition at line 26 of file KVINDRADB_e475s.h.

#include <KVINDRADB_e475s.h>

Inheritance diagram for KVINDRADB_e475s:

Public Member Functions

 KVINDRADB_e475s ()
 Default constructor. More...
 
 KVINDRADB_e475s (const Char_t *name)
 
virtual ~KVINDRADB_e475s ()
 Destructor. More...
 
virtual void Build ()
 
void ReadCalibFile (std::ifstream &fin, TString, TString)
 
void ReadCalibrations ()
 
void ReadPedestalFile (std::ifstream &fin, TString, TString)
 
void ReadPedestalList ()
 
- 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

void init ()
 Define duplicate run, create the tables of the database. More...
 

Private Attributes

KVDBTablefCalibrations
 

Additional Inherited Members

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

Constructor & Destructor Documentation

◆ KVINDRADB_e475s() [1/2]

KVINDRADB_e475s::KVINDRADB_e475s ( )

Default constructor.

Definition at line 48 of file KVINDRADB_e475s.cpp.

◆ KVINDRADB_e475s() [2/2]

KVINDRADB_e475s::KVINDRADB_e475s ( const Char_t *  name)

Definition at line 73 of file KVINDRADB_e475s.cpp.

◆ ~KVINDRADB_e475s()

KVINDRADB_e475s::~KVINDRADB_e475s ( )
virtual

Destructor.

Definition at line 61 of file KVINDRADB_e475s.cpp.

Member Function Documentation

◆ Build()

void KVINDRADB_e475s::Build ( )
virtual

Reimplemented from KVINDRADB.

Definition at line 90 of file KVINDRADB_e475s.cpp.

◆ init()

void KVINDRADB_e475s::init ( void  )
private

Define duplicate run, create the tables of the database.

Definition at line 31 of file KVINDRADB_e475s.cpp.

◆ ReadCalibFile()

void KVINDRADB_e475s::ReadCalibFile ( std::ifstream &  fin,
TString  ,
TString   
)

Definition at line 195 of file KVINDRADB_e475s.cpp.

◆ ReadCalibrations()

void KVINDRADB_e475s::ReadCalibrations ( )

Definition at line 150 of file KVINDRADB_e475s.cpp.

◆ ReadPedestalFile()

void KVINDRADB_e475s::ReadPedestalFile ( std::ifstream &  fin,
TString  ,
TString   
)

Definition at line 302 of file KVINDRADB_e475s.cpp.

◆ ReadPedestalList()

void KVINDRADB_e475s::ReadPedestalList ( )
virtual

Reimplemented from KVINDRADB.

Definition at line 101 of file KVINDRADB_e475s.cpp.

Member Data Documentation

◆ fCalibrations

KVDBTable* KVINDRADB_e475s::fCalibrations
private

Definition at line 31 of file KVINDRADB_e475s.h.