KaliVeda  1.13/01
Heavy-Ion Analysis Toolkit
List of all members | Public Member Functions | List of all members
KVINDRADB1 Class Reference

DataBase of parameters for 1st campaign of INDRA.

Definition at line 31 of file KVINDRADB1.h.

Public Member Functions

 KVINDRADB1 ()
 
 KVINDRADB1 (const Char_t *name)
 default ctor More...
 
virtual ~ KVINDRADB1 ()
 
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
 
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 GetCalibFileName (const Char_t *type) const
 
const Char_tGetDataSetDir () 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 TListGetTables () const
 
virtual void Print (Option_t *option="") const
 
- Public Member Functions inherited from TFolder
 TFolder ()
 
 TFolder (const char *name, const char *title)
 
virtual ~TFolder ()
 
virtual void Add (TObject *obj)
 
TFolderAddFolder (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 TObjectFindObject (const char *name) const
 
virtual TObjectFindObject (const TObject *obj) const
 
virtual TObjectFindObjectAny (const char *name) const
 
TCollectionGetListOfFolders () const
 
Bool_t IsFolder () const
 
Bool_t IsOwner () const
 
virtual void ls (Option_t *option="") 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 TObjectClone (const char *newname="") const
 
virtual Int_t Compare (const TObject *obj) 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
 
TNamedoperator= (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 TObjectDrawClone (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_tGetDrawOption () const
 
virtual const char * GetIconName () const
 
virtual char * GetObjectInfo (Int_t px, Int_t py) const
 
virtual Option_tGetOption () 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)
 
voidoperator new (size_t sz)
 
voidoperator new (size_t sz, void *vp)
 
voidoperator new[] (size_t sz)
 
voidoperator new[] (size_t sz, void *vp)
 
TObjectoperator= (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
 
- 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

- Public Types inherited from TObject
enum  EDeprecatedStatusBits
 
enum  EStatusBits
 
- Static Public Member Functions inherited from KVExpDB
static KVExpDBMakeDataBase (const Char_t *name, const Char_t *datasetdir)
 
- 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 KVINDRADB
void _init_MeanGDir_func () const
 
void CloseCalibrationPeakFile ()
 Close file containing database of calibration peaks. More...
 
std::ifstream & GetPeakFileStream ()
 
void init ()
 
Bool_t OpenCalibrationPeakFile ()
 calibration peaks database More...
 
virtual void ReadAbsentDetectors ()
 
virtual void ReadCalibCsI ()
 
virtual void ReadChannelVolt ()
 
virtual void ReadChIoPressures ()
 
virtual void ReadCsITotalLightGainCorrections ()
 
virtual void ReadGainList ()
 Read the file listing any detectors whose gain value changes during exeriment. More...
 
virtual void ReadLightEnergyCsI (const Char_t *, KVDBTable *)
 
virtual void ReadOoOACQParams ()
 
virtual void ReadOoODetectors ()
 
virtual void ReadPedestalList ()
 
virtual void ReadVoltEnergyChIoSi ()
 
- Protected Member Functions inherited from KVExpDB
void init ()
 default initialisations More...
 
Bool_t OpenCalibFile (const Char_t *type, std::ifstream &fs) const
 
virtual void ReadComments ()
 
virtual void ReadSystemList ()
 
- 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 KVINDRADB
KVDBTablefAbsentDet
 (optional) Liste les detecteurs absents More...
 
KVDBTablefChanVolt
 ChIo/Si channel-volt calibration parameters. More...
 
KVDBTablefChIoPressures
 General information. More...
 
KVDBTablefCsILumCorr
 table of CsI gain corrections for total light output More...
 
KVDBTablefGains
 (optional) table of detector gains, in case they change from run to run More...
 
KVDBTablefLitEnerCsI
 CsI light-energy calibration for Z>1. More...
 
KVDBTablefLitEnerCsIZ1
 CsI light-energy calibration for Z=1. More...
 
TF1fMeanGDir
 mean frequency of GENE_DIRECT vs. run number More...
 
KVDBTablefOoOACQPar
 (optional) Liste des parametres d acquisition ne marchant pas More...
 
KVDBTablefOoODet
 (optional) Liste les detecteurs hors service More...
 
KVDBTablefPedestals
 table of pedestal files More...
 
KVINDRAPulserDataTreefPulserData
 mean values of pulsers for all detectors & runs More...
 
KVDBTablefTapes
 table of data tapes More...
 
KVDBTablefVoltMeVChIoSi
 ChIo/Si volt-energy calibration. More...
 
- Protected Attributes inherited from KVExpDB
TString fDataSet
 the name of the dataset to which this database is associated More...
 
TString fDataSetDir
 the directory containing the dataset files More...
 
TString fDBType
 used by GetDBEnv More...
 
KVNumberList fListOfRuns
 list of all run numbers More...
 
KVDBTablefRuns
 table of runs More...
 
KVDBTablefSystems
 table of systems More...
 
- Protected Attributes inherited from TFolder
TCollectionfFolders
 
Bool_t fIsOwner
 
- Protected Attributes inherited from TNamed
TString fName
 
TString fTitle
 
- Protected Attributes inherited from TObject
 kOnlyPrepStep
 

#include <KVINDRADB1.h>

Inheritance diagram for KVINDRADB1:
Inheritance graph
[legend]

Constructor & Destructor Documentation

◆ KVINDRADB1() [1/2]

KVINDRADB1::KVINDRADB1 ( )
inline

Definition at line 35 of file KVINDRADB1.h.

◆ KVINDRADB1() [2/2]

KVINDRADB1::KVINDRADB1 ( const Char_t name)

default ctor

Definition at line 26 of file KVINDRADB1.cpp.

◆ ~ KVINDRADB1()

virtual KVINDRADB1::~ KVINDRADB1 ( )
inlinevirtual

Definition at line 39 of file KVINDRADB1.h.

Member Function Documentation

◆ Build()

void KVINDRADB1::Build ( )
virtual

Use KVINDRARunListReader utility subclass to read complete runlist.

Reimplemented from KVINDRADB.

Definition at line 37 of file KVINDRADB1.cpp.

◆ GoodRunLine()

void KVINDRADB1::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 add a KVDBTape to the database if the "tape" field is active and if it doesn't already exist set properties of run and tape objects kFirstRun & kLastRun are set

Reimplemented from KVINDRADB.

Definition at line 66 of file KVINDRADB1.cpp.


The documentation for this class was generated from the following files: