KaliVeda
Toolkit for HIC analysis
|
Manage analysis of reconstructed INDRA data.
Definition at line 25 of file KVINDRAReconDataAnalyser.h.
#include <KVINDRAReconDataAnalyser.h>
Private Member Functions | |
void | ConnectGeneDataTree () |
void | ConnectRawDataTree () |
virtual KVNumberList | PrintAvailableRuns (KVString &datatype) override |
Private Attributes | |
Long64_t | Entry |
Int_t | fDataReleaseNum |
KV release number used to write analysed data. | |
KVString | fDataSeries |
KV series used to write analysed data. | |
KVString | fDataVersion |
KV version used to write analysed data. | |
KVOldINDRASelector * | fOldSelector |
backwards compatibility | |
KVDataPatchList | fRustines |
patches to be applied to correct data before analysis | |
KVEventSelector * | fSelector |
the data analysis class | |
Int_t | NbParFired |
TObjArray * | parList |
UInt_t * | ParNum |
UShort_t * | ParVal |
TTree * | theChain |
chain of TTrees to be analysed | |
TTree * | theGeneData |
gene data TTree in recon file | |
TTree * | theRawData |
raw data TTree in recon file | |
Long64_t | TotalEntriesToRead |
Additional Inherited Members | |
Public Types inherited from KVDataAnalyser | |
enum | EProofMode { None , Lite , Proof } |
Public Types inherited from TObject | |
enum | EDeprecatedStatusBits |
enum | EStatusBits |
Static Public Member Functions inherited from KVDataAnalyser | |
static Bool_t | AbortProcessingLoop () |
static KVDataAnalyser * | GetAnalyser (const Char_t *plugin) |
static Bool_t | IsRunningBatchAnalysis () |
static void | RunAnalyser (const Char_t *plugin="") |
static void | SetAbortProcessingLoop (Bool_t now=kTRUE) |
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 TObject | |
kOnlyPrepStep | |
KVINDRAReconDataAnalyser::KVINDRAReconDataAnalyser | ( | ) |
Definition at line 34 of file KVINDRAReconDataAnalyser.cpp.
|
inline |
Destructor
Definition at line 57 of file KVINDRAReconDataAnalyser.h.
Overrides KVDataAnalyser method, for backwards & forwards compatibility.
Old user analysis classes may derive from KVOldINDRASelector (aka KVSelector) instead of KVINDRAEventSelector.
It is also possible to analyse data with a "vanilla" KVReconEventSelector analysis class.
Reimplemented from KVDataAnalyser.
Definition at line 577 of file KVINDRAReconDataAnalyser.cpp.
Checks the task variables.
Reimplemented from KVDataAnalyser.
Definition at line 68 of file KVINDRAReconDataAnalyser.cpp.
void KVINDRAReconDataAnalyser::CloneRawAndGeneTrees | ( | ) |
Definition at line 562 of file KVINDRAReconDataAnalyser.cpp.
|
private |
Called by preInitRun(). When starting to read a new run (=new file), we look for the TTree "GeneData" in the current file (it should have been created by KVINDRARawDataReconstructor).
Definition at line 487 of file KVINDRAReconDataAnalyser.cpp.
|
private |
Called by preInitRun(). When starting to read a new run (=new file), we look for the TTree "RawData" in the current file (it should have been created by KVINDRARawDataReconstructor). If found, it will be used by ReadRawData() to set the values of all acquisition parameters for each event.
Definition at line 452 of file KVINDRAReconDataAnalyser.cpp.
|
inlineoverridevirtual |
Reimplemented from KVDataAnalyser.
Definition at line 74 of file KVINDRAReconDataAnalyser.h.
|
inline |
Definition at line 111 of file KVINDRAReconDataAnalyser.h.
|
inline |
Definition at line 107 of file KVINDRAReconDataAnalyser.h.
|
inline |
Definition at line 103 of file KVINDRAReconDataAnalyser.h.
|
inline |
Definition at line 119 of file KVINDRAReconDataAnalyser.h.
|
inline |
Definition at line 115 of file KVINDRAReconDataAnalyser.h.
Long64_t KVINDRAReconDataAnalyser::GetRawEntryNumber | ( | ) |
Definition at line 389 of file KVINDRAReconDataAnalyser.cpp.
TEnv * KVINDRAReconDataAnalyser::GetReconDataTreeInfos | ( | ) | const |
Definition at line 507 of file KVINDRAReconDataAnalyser.cpp.
KVReconstructedEvent * KVINDRAReconDataAnalyser::GetReconstructedEvent | ( | ) |
Definition at line 401 of file KVINDRAReconDataAnalyser.cpp.
|
inlineoverridevirtual |
Reimplemented from KVDataAnalyser.
Definition at line 51 of file KVINDRAReconDataAnalyser.h.
|
inline |
Definition at line 66 of file KVINDRAReconDataAnalyser.h.
|
overridevirtual |
Read and set raw data for the current reconstructed event Any required data patches ("rustines") are applied.
Reimplemented from KVDataAnalyser.
Definition at line 424 of file KVINDRAReconDataAnalyser.cpp.
|
overridevirtual |
Called by currently-processed KVEventSelector before user's InitAnalysis() method. We build the multidetector for the current dataset in case informations on detector are needed e.g. to define histograms in InitAnalysis(). Note that at this stage we are not analysing a given run, so the parameters of the array are not set (they will be set in preInitRun()).
Note for PROOF: as this will be called both on master and on slave workers, in order to reduce memory footprint we only build INDRA on the slaves
Reimplemented from KVDataAnalyser.
Definition at line 279 of file KVINDRAReconDataAnalyser.cpp.
|
overridevirtual |
Called by currently-processed TSelector when a new file in the TChain is opened. We call gIndra->SetParameters for the current run: whether only physics parameters will be set, or the full set of identification/calibration parameters depends on the value of the environment variable
This can be overridden for any individual analysis by setting the analysis class option
We connect the acquisition parameter objects to the branches of the raw data tree. Infos on currently read file/tree are printed. Any required data patches ("rustines") are initialized.
Reimplemented from KVDataAnalyser.
Definition at line 336 of file KVINDRAReconDataAnalyser.cpp.
|
overrideprivatevirtual |
Prints list of available runs, sorted according to multiplicity trigger, for selected dataset, data type/analysis task, and system Returns list containing all run numbers
Reimplemented from KVDataSetAnalyser.
Definition at line 224 of file KVINDRAReconDataAnalyser.cpp.
void KVINDRAReconDataAnalyser::PrintTreeInfos | ( | ) |
Print informations on currently analysed TTree.
Definition at line 517 of file KVINDRAReconDataAnalyser.cpp.
The user class may inherit from KVEventSelector or KVOldINDRASelector Only one of the two pointers will be valid
Reimplemented from KVDataAnalyser.
Definition at line 93 of file KVINDRAReconDataAnalyser.h.
|
overridevirtual |
Reset task variables.
Reimplemented from KVDataSetAnalyser.
Definition at line 46 of file KVINDRAReconDataAnalyser.cpp.
Reimplemented from KVDataAnalyser.
Definition at line 78 of file KVINDRAReconDataAnalyser.h.
void KVINDRAReconDataAnalyser::SetSelectorCurrentRun | ( | KVINDRADBRun * | CurrentRun | ) |
Definition at line 304 of file KVINDRAReconDataAnalyser.cpp.
Definition at line 70 of file KVINDRAReconDataAnalyser.h.
|
overridevirtual |
Reimplemented from KVDataAnalyser.
Definition at line 411 of file KVINDRAReconDataAnalyser.cpp.
|
overridevirtual |
Run the interactive analysis make the chosen dataset the active dataset ( = gDataSet; note this also opens database and positions gDataBase & gIndraDB).
Reimplemented from KVDataAnalyser.
Definition at line 97 of file KVINDRAReconDataAnalyser.cpp.
|
overridevirtual |
Save (in the TEnv fBatchEnv) all necessary information on analysis task which can be used to execute it later (i.e. when batch processing system executes the job). If save=kTRUE (default), write the information in a file whose name is given by ".jobname" where 'jobname' is the name of the job as given to the batch system.
Reimplemented from KVDataSetAnalyser.
Definition at line 203 of file KVINDRAReconDataAnalyser.cpp.
|
private |
Definition at line 38 of file KVINDRAReconDataAnalyser.h.
|
private |
KV release number used to write analysed data.
Definition at line 45 of file KVINDRAReconDataAnalyser.h.
|
private |
KV series used to write analysed data.
Definition at line 44 of file KVINDRAReconDataAnalyser.h.
|
private |
KV version used to write analysed data.
Definition at line 43 of file KVINDRAReconDataAnalyser.h.
|
private |
backwards compatibility
Definition at line 30 of file KVINDRAReconDataAnalyser.h.
|
private |
patches to be applied to correct data before analysis
Definition at line 47 of file KVINDRAReconDataAnalyser.h.
|
private |
the data analysis class
Definition at line 29 of file KVINDRAReconDataAnalyser.h.
|
private |
Definition at line 34 of file KVINDRAReconDataAnalyser.h.
|
private |
Definition at line 37 of file KVINDRAReconDataAnalyser.h.
|
private |
Definition at line 36 of file KVINDRAReconDataAnalyser.h.
|
private |
Definition at line 35 of file KVINDRAReconDataAnalyser.h.
|
private |
chain of TTrees to be analysed
Definition at line 31 of file KVINDRAReconDataAnalyser.h.
|
private |
gene data TTree in recon file
Definition at line 33 of file KVINDRAReconDataAnalyser.h.
|
private |
raw data TTree in recon file
Definition at line 32 of file KVINDRAReconDataAnalyser.h.
|
private |
Definition at line 42 of file KVINDRAReconDataAnalyser.h.