KaliVeda
Toolkit for HIC analysis
|
#include <KVFAZIADB.h>
Public Member Functions | |
KVFAZIADB () | |
KVFAZIADB (const Char_t *name) | |
virtual | ~KVFAZIADB () |
reset global pointer gFaziaDB if it was pointing to this database | |
virtual void | Build () |
void | BuildQuickAndDirtyDataBase (TString) |
virtual void | cd () |
const Char_t * | GetFileName (const Char_t *meth, const Char_t *keyw) |
TEnv * | GetFileTEnv (const Char_t *meth, const Char_t *keyw) |
KVFileReader * | GetKVFileReader (const Char_t *meth, const Char_t *keyw) |
KVFAZIADBRun * | GetRun (Int_t run) const |
void | ReadCalibrationFiles () |
void | ReadComments () |
void | ReadExceptions () |
void | ReadNewRunList () |
void | ReadRutherfordCounting () |
void | ReadRutherfordCrossSection () |
void | StartTransfer (TString filename="runlist.dat", TString ccali_rep="/fazia", TString option="frv") |
Bool_t | TransferAcquisitionFileToCcali (TString file, TString ccali_rep="/fazia", TString option="frv") |
void | TransferRunListToCcali (KVNumberList lrun, TString path, TString ccali_rep="/fazia", TString option="frv") |
Bool_t | TransferRunToCcali (Int_t run, TString path, TString ccali_rep="/fazia", TString option="frv") |
Public Member Functions inherited from KVExpDB | |
KVExpDB () | |
Default constructor. | |
KVExpDB (const Char_t *name) | |
Constructor inherited from KVDataBase. | |
KVExpDB (const Char_t *name, const Char_t *title) | |
Constructor inherited from KVDataBase. | |
virtual | ~KVExpDB () |
Destructor. | |
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 |
KVDBRun * | GetDBRun (Int_t number) const |
TString | GetDBType () const |
const KVNumberList & | GetRunList () const |
virtual KVSeqCollection * | GetRuns () const |
virtual KVDBSystem * | GetSystem (const Char_t *system) const |
virtual KVSeqCollection * | GetSystems () const |
ULong64_t | GetTotalEvents (const KVString &system) const |
Return total number of events for given system. | |
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). | |
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). | |
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 |
virtual void | ReadObjects (TFile *) |
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) |
virtual void | WriteObjects (TFile *) |
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 () |
reset global database pointer if it was pointing to this DB | |
virtual KVDBTable * | AddTable (const Char_t *name, const Char_t *title, Bool_t unique=kFALSE) |
virtual Bool_t | AddTable (KVDBTable *table) |
virtual KVDBRecord * | GetRecord (const Char_t *table_name, const Char_t *rec_name) const |
virtual KVDBTable * | GetTable (const Char_t *table) const |
virtual TList * | GetTables () 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) |
TFolder * | AddFolder (const char *name, const char *title, TCollection *collection=nullptr) |
void | Browse (TBrowser *b) override |
void | Clear (Option_t *option="") override |
void | Copy (TObject &) const override |
virtual const char * | FindFullPathName (const char *name) const |
virtual const char * | FindFullPathName (const TObject *obj) const |
TObject * | FindObject (const char *name) const override |
TObject * | FindObject (const TObject *obj) const override |
virtual TObject * | FindObjectAny (const char *name) const |
TCollection * | GetListOfFolders () const |
TClass * | IsA () const override |
Bool_t | IsFolder () const override |
Bool_t | IsOwner () const |
void | ls (Option_t *option="") const override |
virtual Int_t | Occurence (const TObject *obj) const |
void | RecursiveRemove (TObject *obj) override |
virtual void | Remove (TObject *obj) |
void | SaveAs (const char *filename="", Option_t *option="") const override |
virtual void | SetOwner (Bool_t owner=kTRUE) |
void | Streamer (TBuffer &) override |
void | StreamerNVirtual (TBuffer &ClassDef_StreamerNVirtual_b) |
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 () |
void | Clear (Option_t *option="") override |
TObject * | Clone (const char *newname="") const override |
Int_t | Compare (const TObject *obj) const override |
void | Copy (TObject &named) const override |
virtual void | FillBuffer (char *&buffer) |
const char * | GetName () const override |
const char * | GetTitle () const override |
ULong_t | Hash () const override |
TClass * | IsA () const override |
Bool_t | IsSortable () const override |
void | ls (Option_t *option="") const override |
TNamed & | operator= (const TNamed &rhs) |
void | Print (Option_t *option="") const override |
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 |
void | Streamer (TBuffer &) override |
void | StreamerNVirtual (TBuffer &ClassDef_StreamerNVirtual_b) |
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 TObject * | DrawClone (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=nullptr) |
virtual void | Execute (TMethod *method, TObjArray *params, Int_t *error=nullptr) |
virtual void | ExecuteEvent (Int_t event, Int_t px, Int_t py) |
virtual void | Fatal (const char *method, const char *msgfmt,...) const |
virtual Option_t * | GetDrawOption () const |
virtual const char * | GetIconName () const |
virtual char * | GetObjectInfo (Int_t px, Int_t py) const |
virtual Option_t * | GetOption () 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) |
Bool_t | IsDestructed () const |
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, void *vp) |
void | operator delete[] (void *ptr) |
void | operator delete[] (void *ptr, void *vp) |
void * | operator new (size_t sz) |
void * | operator new (size_t sz, void *vp) |
void * | operator new[] (size_t sz) |
void * | operator new[] (size_t sz, void *vp) |
TObject & | operator= (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) |
void | StreamerNVirtual (TBuffer &ClassDef_StreamerNVirtual_b) |
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=nullptr, Int_t option=0, Int_t bufsize=0) |
virtual Int_t | Write (const char *name=nullptr, Int_t option=0, Int_t bufsize=0) const |
Private Member Functions | |
void | init () |
default initialisations | |
void | ReadCalibFile (const Char_t *filename) |
virtual void | ReadOoODetectors () |
Private Attributes | |
KVDBTable * | fCalibrations |
table for calibrations | |
TString | fDONEfile |
KVDBTable * | fExceptions |
table of exceptions | |
TString | fFAILEDfile |
KVDBTable * | fOoODets |
(optional) Liste les detecteurs hors service | |
Additional Inherited Members | |
Public Types inherited from TObject | |
enum | EDeprecatedStatusBits |
enum | EStatusBits |
Static Public Member Functions inherited from KVExpDB | |
static KVExpDB * | MakeDataBase (const Char_t *name, const Char_t *datasetdir) |
Static Public Member Functions inherited from TFolder | |
static TClass * | Class () |
static const char * | Class_Name () |
static constexpr Version_t | Class_Version () |
static const char * | DeclFileName () |
Static Public Member Functions inherited from TNamed | |
static TClass * | Class () |
static const char * | Class_Name () |
static constexpr Version_t | Class_Version () |
static const char * | DeclFileName () |
Static Public Member Functions inherited from TObject | |
static TClass * | Class () |
static const char * | Class_Name () |
static constexpr Version_t | Class_Version () |
static const char * | DeclFileName () |
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 TObject | |
virtual void | DoError (int level, const char *location, const char *fmt, va_list va) const |
void | MakeZombie () |
Protected Attributes inherited from TFolder | |
TCollection * | fFolders |
Bool_t | fIsOwner |
Protected Attributes inherited from TNamed | |
TString | fName |
TString | fTitle |
Protected Attributes inherited from TObject | |
kOnlyPrepStep | |
KVFAZIADB::KVFAZIADB | ( | ) |
Definition at line 64 of file KVFAZIADB.cpp.
KVFAZIADB::KVFAZIADB | ( | const Char_t * | name | ) |
Definition at line 53 of file KVFAZIADB.cpp.
|
virtual |
reset global pointer gFaziaDB if it was pointing to this database
Definition at line 75 of file KVFAZIADB.cpp.
|
virtual |
Use KVINDRARunListReader utility subclass to read complete runlist get full path to runlist file, using environment variables for the current dataset
Reimplemented from KVExpDB.
Definition at line 101 of file KVFAZIADB.cpp.
Use this method in order to read runs written on disk during the experiment File is produced with main information for each run : number of files size starting date Information on runs has to completed after reading acquisition file specially information on trigger and deatdime usage : acqfiles_dir is the repository where acquisition files are written 2 output files are written
Definition at line 878 of file KVFAZIADB.cpp.
|
virtual |
Reimplemented from KVExpDB.
Definition at line 87 of file KVFAZIADB.cpp.
Definition at line 517 of file KVFAZIADB.cpp.
Definition at line 563 of file KVFAZIADB.cpp.
KVFileReader * KVFAZIADB::GetKVFileReader | ( | const Char_t * | meth, |
const Char_t * | keyw | ||
) |
Definition at line 540 of file KVFAZIADB.cpp.
|
inline |
Definition at line 48 of file KVFAZIADB.h.
|
private |
default initialisations
Definition at line 33 of file KVFAZIADB.cpp.
Definition at line 763 of file KVFAZIADB.cpp.
void KVFAZIADB::ReadCalibrationFiles | ( | ) |
Definition at line 741 of file KVFAZIADB.cpp.
|
virtual |
Reimplemented from KVExpDB.
Definition at line 641 of file KVFAZIADB.cpp.
void KVFAZIADB::ReadExceptions | ( | ) |
Definition at line 581 of file KVFAZIADB.cpp.
void KVFAZIADB::ReadNewRunList | ( | ) |
Read first runlist.dat file if exists and then read runsheets
Definition at line 127 of file KVFAZIADB.cpp.
|
privatevirtual |
Lit le fichier ou sont listes les dedtecteurs ne marchant plus au cours de la manip
Definition at line 837 of file KVFAZIADB.cpp.
void KVFAZIADB::ReadRutherfordCounting | ( | ) |
Definition at line 681 of file KVFAZIADB.cpp.
void KVFAZIADB::ReadRutherfordCrossSection | ( | ) |
Definition at line 703 of file KVFAZIADB.cpp.
void KVFAZIADB::StartTransfer | ( | TString | filename = "runlist.dat" , |
TString | ccali_rep = "/fazia" , |
||
TString | option = "frv" |
||
) |
Definition at line 415 of file KVFAZIADB.cpp.
Bool_t KVFAZIADB::TransferAcquisitionFileToCcali | ( | TString | file, |
TString | ccali_rep = "/fazia" , |
||
TString | option = "frv" |
||
) |
Perform the tranfer via irods to ccali for the indicated directory [file] return status of the iput command OK if the transfer is done not OK if it has failed
Definition at line 326 of file KVFAZIADB.cpp.
void KVFAZIADB::TransferRunListToCcali | ( | KVNumberList | lrun, |
TString | path, | ||
TString | ccali_rep = "/fazia" , |
||
TString | option = "frv" |
||
) |
Remove file where failed tranfer runs are listed
Definition at line 385 of file KVFAZIADB.cpp.
Bool_t KVFAZIADB::TransferRunToCcali | ( | Int_t | run, |
TString | path, | ||
TString | ccali_rep = "/fazia" , |
||
TString | option = "frv" |
||
) |
test the status of the transfer write to the corresponding file : done or failed
Definition at line 357 of file KVFAZIADB.cpp.
|
private |
table for calibrations
Definition at line 28 of file KVFAZIADB.h.
|
private |
Definition at line 36 of file KVFAZIADB.h.
|
private |
table of exceptions
specific table associated to fazia experiment
Definition at line 27 of file KVFAZIADB.h.
|
private |
Definition at line 37 of file KVFAZIADB.h.
|
private |
(optional) Liste les detecteurs hors service
Definition at line 29 of file KVFAZIADB.h.