KaliVeda
Toolkit for HIC analysis
|
Analysis of FAZIA data.
Created by KVClassFactory on Wed Jan 28 09:54:34 2015 Author: Eric Bonnet
Definition at line 17 of file KVFAZIASelector.h.
#include <KVFAZIASelector.h>
Static Public Member Functions | |
static void | CheckBatchOutputFiles (const Char_t *kvsname, Bool_t eraseafter=kFALSE) |
static void | CheckListOfWellEndedRuns (const Char_t *kvsname, const Char_t *dsname) |
static void | GetMissingRunsListing (const Char_t *kvsname, const Char_t *dsname) |
static void | Make (const Char_t *kvsname="MyOwnFAZIASelector") |
Automatic generation of KVSelector-derived class for KaliVeda analysis. | |
static void | MergeListOfEndedRuns (const Char_t *kvsname, const Char_t *dsname) |
Static Public Member Functions inherited from TSelector | |
static TClass * | Class () |
static const char * | Class_Name () |
static constexpr Version_t | Class_Version () |
static const char * | DeclFileName () |
static TSelector * | GetSelector (const char *filename) |
static Bool_t | IsStandardDraw (const char *selec) |
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) |
Private Member Functions | |
Bool_t | CreateOutputFile () |
Bool_t | SaveAndCloseOutputFile () |
void | SetAutomaticManagementOfOutputs (Bool_t automatic=kTRUE) |
Private Attributes | |
Bool_t | fAutomatic |
Int_t | fCurrentRun |
TFile * | fOutputFile |
TString | fOutputPath |
Bool_t | fRawData |
TString | rawdatabranchname |
KVFAZIARawEvent * | RawEvent |
Additional Inherited Members | |
Public Types inherited from TSelector | |
enum | EAbort |
Public Types inherited from TObject | |
enum | EDeprecatedStatusBits |
enum | EStatusBits |
Public Attributes inherited from TSelector | |
kAbortFile | |
kAbortProcess | |
kContinue | |
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 TSelector | |
EAbort | fAbort |
TList * | fInput |
TObject * | fObject |
TString | fOption |
TSelectorList * | fOutput |
Long64_t | fStatus |
Protected Attributes inherited from TObject | |
kOnlyPrepStep | |
|
inline |
Definition at line 36 of file KVFAZIASelector.h.
|
inlinevirtual |
Definition at line 44 of file KVFAZIASelector.h.
|
static |
static method
Get the list of output batch files with the format [kvsname]_R*.o* for example : CheckCsIIdentification_R14748-14767.o110904 Extract information on CPU, Memory consuming and the list of ended/not ended files
It is more adapted than the analyse_logs script when several runs are in a same job
output TEnv file is produced with the following information with the following format : [kvsname].joblog example with CheckCsIIdentification.joblog
Nfiles: 21 Runlist: 14588-14905 CpuSys(s): 4.51931 CpuUser(s): 494.547 CpuPerRun: 24.7273 ResMem(MB): 474.09 VirtMem(MB): 1870.77 MissingRuns:
if eraseafter=kTRUE, (kFALSE by default), log files are erased after the checking
Definition at line 628 of file KVFAZIASelector.cpp.
|
virtual |
Testing whether EndRun() should be called.
Reimplemented from KVEventSelector.
Definition at line 320 of file KVFAZIASelector.cpp.
|
static |
static method List well ended files in the corresponding directory : FAZIA_SELECTOR_OUTPUTS/[kvsname]/[dsname]/ Only available if the selector you ran had the option SetAutomaticManagementOfOutputs(kTRUE)
Definition at line 344 of file KVFAZIASelector.cpp.
void KVFAZIASelector::ConnectSignalsToDetectors | ( | ) |
Definition at line 162 of file KVFAZIASelector.cpp.
|
private |
create ROOT file where all outputs coming from the selector will be stores to be active FAZIA_SELECTOR_OUTPUTS shell variable has to be defined in your .cshrc type configuration file the format of the output file will be : FAZIA_SELECTOR_OUTPUTS/nameofthekvfaziaselector/dataset/Rd.root When it is created, the output file name is tmp_Rd.root and renamed at the end of the run Rd.root This helps to know if the entire run has been read
Definition at line 268 of file KVFAZIASelector.cpp.
|
inline |
Definition at line 57 of file KVFAZIASelector.h.
Reimplemented from KVEventSelector.
Definition at line 49 of file KVFAZIASelector.h.
|
static |
static method
Read the TEnv file created by the MergeListOfEndedRuns method with the format listruns_[SYSTEM].env extract the system name and the run list of the well ended file and compare this list to the all run list of the system for the considering dataset The output is a printing of the missing runs compare to the system run list
Definition at line 546 of file KVFAZIASelector.cpp.
The Init() function is called when the selector needs to initialize a new tree or chain. Typically here the branch addresses and branch pointers of the tree will be set. It is normally not necessary to make changes to the generated code, but the routine can be extended by the user if needed. Init() will be called many times when running on PROOF (once per file to be processed). Set object pointer
Reimplemented from KVEventSelector.
Definition at line 84 of file KVFAZIASelector.cpp.
void KVFAZIASelector::LinkRawData | ( | ) |
Definition at line 151 of file KVFAZIASelector.cpp.
Automatic generation of KVSelector-derived class for KaliVeda analysis.
Definition at line 201 of file KVFAZIASelector.cpp.
static method Gather well ended files in the corresponding directory : FAZIA_SELECTOR_OUTPUTS/[kvsname]/[dsname]/ Files are merged using the hadd command the -f option is set, so previous output file is deleted
To avoid mixing, one merging is done for each system
The output file is deduced from system name Example for "48Ca + 48Ca 35.0 MeV/A" gives 48Ca48Ca35.0
An additional TEnv file is created with the format listruns_48Ca48Ca35.0.env to follow the previous example It is a summary of info coming from the merging : System: 48Ca + 48Ca 35.0 MeV/A DataSet: FAZIASYM Selector: CheckCsIIdentification Number: 34 RunList: 14588-14621
Only available if the selector you ran had the option SetAutomaticManagementOfOutputs(kTRUE)
Definition at line 406 of file KVFAZIASelector.cpp.
|
inline |
Definition at line 62 of file KVFAZIASelector.h.
|
virtual |
The Notify() function is called when a new file is opened. This can be either for a new TTree in a TChain or when when a new TTree is started when using PROOF. It is normally not necessary to make changes to the generated code, but the routine can be extended by the user if needed. The return value is currently not used.
Reimplemented from KVEventSelector.
Definition at line 125 of file KVFAZIASelector.cpp.
|
virtual |
Reimplemented from KVEventSelector.
Definition at line 185 of file KVFAZIASelector.cpp.
|
private |
write in and close the ROOT file created by the CreateOutputFile method
Definition at line 293 of file KVFAZIASelector.cpp.
indicate if outputs (histograms, trees or other objects has to be managed automatically by the selector
to be active FAZIA_SELECTOR_OUTPUTS shell variable has to be defined in your .cshrc type configuration file the format of the output file will be : FAZIA_SELECTOR_OUTPUTS/nameofthekvfaziaselector/dataset/Rd.root
Definition at line 222 of file KVFAZIASelector.cpp.
Definition at line 66 of file KVFAZIASelector.h.
The SlaveBegin() function is called after the Begin() function. When running with PROOF SlaveBegin() is called on each slave server. The tree argument is deprecated (on PROOF 0 is passed).
Reimplemented from KVEventSelector.
Definition at line 56 of file KVFAZIASelector.cpp.
|
private |
Definition at line 23 of file KVFAZIASelector.h.
|
private |
Definition at line 21 of file KVFAZIASelector.h.
|
private |
Definition at line 24 of file KVFAZIASelector.h.
|
private |
Definition at line 25 of file KVFAZIASelector.h.
|
private |
Definition at line 27 of file KVFAZIASelector.h.
|
private |
Definition at line 29 of file KVFAZIASelector.h.
|
private |
Definition at line 28 of file KVFAZIASelector.h.