KaliVeda
Toolkit for HIC analysis
KVFAZIADB.h
1 
4 #ifndef __KVFAZIADB_H
5 #define __KVFAZIADB_H
6 
7 #include "KVExpDB.h"
8 #include "KVDBTable.h"
9 #include "KVFAZIADBRun.h"
10 #include "KVDBRecord.h"
11 #include "KVFileReader.h"
12 
13 class KVNumberList;
14 class KVDBSystem;
15 
22 class KVFAZIADB : public KVExpDB {
23 
24 protected:
30 
31  virtual void ReadOoODetectors();
32 
33  void init();
34 
35  void ReadCalibFile(const Char_t* filename);
38 
39 public:
40 
41  KVFAZIADB();
42  KVFAZIADB(const Char_t* name);
43  virtual ~KVFAZIADB();
44 
45  virtual void Build();
46 
47  void ReadNewRunList();
49  {
50  return (KVFAZIADBRun*) GetDBRun(run);
51  }
52 
53  const Char_t* GetFileName(const Char_t* meth, const Char_t* keyw);
54  KVFileReader* GetKVFileReader(const Char_t* meth, const Char_t* keyw);
55  TEnv* GetFileTEnv(const Char_t* meth, const Char_t* keyw);
56 
57  void ReadExceptions();
60  void ReadComments();
61  void ReadCalibrationFiles();
62 
63  virtual void cd();
64 
66  Bool_t TransferAcquisitionFileToCcali(TString file, TString ccali_rep = "/fazia", TString option = "frv");
67  Bool_t TransferRunToCcali(Int_t run, TString path, TString ccali_rep = "/fazia", TString option = "frv");
68  void TransferRunListToCcali(KVNumberList lrun, TString path, TString ccali_rep = "/fazia", TString option = "frv");
69  void StartTransfer(TString filename = "runlist.dat", TString ccali_rep = "/fazia", TString option = "frv");
70 
71 
72  ClassDef(KVFAZIADB, 3) //database for FAZIA detector
73 };
75 R__EXTERN KVFAZIADB* gFaziaDB;
76 
77 #endif
int Int_t
#define R__EXTERN
bool Bool_t
char Char_t
#define ClassDef(name, id)
Database class used to store information on different colliding systems studied during an experiment....
Definition: KVDBSystem.h:52
Table in a database.
Definition: KVDBTable.h:34
Base class to describe database of an experiment ,,.
Definition: KVExpDB.h:20
KVDBRun * GetDBRun(Int_t number) const
Definition: KVExpDB.h:76
Database entry for a run in a FAZIA experiment.
Definition: KVFAZIADBRun.h:15
Experiment database for FAZIA.
Definition: KVFAZIADB.h:22
void ReadComments()
Definition: KVFAZIADB.cpp:641
const Char_t * GetFileName(const Char_t *meth, const Char_t *keyw)
Definition: KVFAZIADB.cpp:517
Bool_t TransferRunToCcali(Int_t run, TString path, TString ccali_rep="/fazia", TString option="frv")
Definition: KVFAZIADB.cpp:357
TString fFAILEDfile
Definition: KVFAZIADB.h:37
virtual void cd()
Definition: KVFAZIADB.cpp:87
void ReadRutherfordCrossSection()
Definition: KVFAZIADB.cpp:703
Bool_t TransferAcquisitionFileToCcali(TString file, TString ccali_rep="/fazia", TString option="frv")
Definition: KVFAZIADB.cpp:326
TString fDONEfile
Definition: KVFAZIADB.h:36
void TransferRunListToCcali(KVNumberList lrun, TString path, TString ccali_rep="/fazia", TString option="frv")
Definition: KVFAZIADB.cpp:385
void init()
default initialisations
Definition: KVFAZIADB.cpp:33
void BuildQuickAndDirtyDataBase(TString)
Definition: KVFAZIADB.cpp:878
KVDBTable * fExceptions
table of exceptions
Definition: KVFAZIADB.h:27
void ReadNewRunList()
Definition: KVFAZIADB.cpp:127
KVFileReader * GetKVFileReader(const Char_t *meth, const Char_t *keyw)
Definition: KVFAZIADB.cpp:540
KVDBTable * fCalibrations
table for calibrations
Definition: KVFAZIADB.h:28
void ReadRutherfordCounting()
Definition: KVFAZIADB.cpp:681
void ReadExceptions()
Definition: KVFAZIADB.cpp:581
void ReadCalibrationFiles()
Definition: KVFAZIADB.cpp:741
void StartTransfer(TString filename="runlist.dat", TString ccali_rep="/fazia", TString option="frv")
Definition: KVFAZIADB.cpp:415
virtual ~KVFAZIADB()
reset global pointer gFaziaDB if it was pointing to this database
Definition: KVFAZIADB.cpp:75
KVFAZIADBRun * GetRun(Int_t run) const
Definition: KVFAZIADB.h:48
virtual void Build()
Definition: KVFAZIADB.cpp:101
KVDBTable * fOoODets
(optional) Liste les detecteurs hors service
Definition: KVFAZIADB.h:29
TEnv * GetFileTEnv(const Char_t *meth, const Char_t *keyw)
Definition: KVFAZIADB.cpp:563
virtual void ReadOoODetectors()
Definition: KVFAZIADB.cpp:837
void ReadCalibFile(const Char_t *filename)
Definition: KVFAZIADB.cpp:763
Handle reading columns of numeric data in text files.
Definition: KVFileReader.h:120
Strings used to represent a set of ranges of values.
Definition: KVNumberList.h:85