KaliVeda
1.13/01
Heavy-Ion Analysis Toolkit
|
Manage analysis of reconstructed INDRA data.
Definition at line 24 of file KVINDRAReconDataAnalyser.h.
Protected Attributes | |
Long64_t | Entry |
Int_t | fDataReleaseNum |
KV release number used to write analysed data. More... | |
KVString | fDataSeries |
KV series used to write analysed data. More... | |
KVString | fDataVersion |
KV version used to write analysed data. More... | |
KVOldINDRASelector * | fOldSelector |
backwards compatibility More... | |
KVDataPatchList | fRustines |
patches to be applied to correct data before analysis More... | |
KVEventSelector * | fSelector |
the data analysis class More... | |
Int_t | NbParFired |
TObjArray * | parList |
UInt_t * | ParNum |
UShort_t * | ParVal |
TTree * | theChain |
chain of TTrees to be analysed More... | |
TTree * | theGeneData |
gene data TTree in recon file More... | |
TTree * | theRawData |
raw data TTree in recon file More... | |
Long64_t | TotalEntriesToRead |
Protected Attributes inherited from KVDataAnalyser | |
TList * | fWorkDirInit |
list of files in working directory before task runs More... | |
Protected Attributes inherited from TObject | |
kOnlyPrepStep | |
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 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 | |
#include <KVINDRAReconDataAnalyser.h>
KVINDRAReconDataAnalyser::KVINDRAReconDataAnalyser | ( | ) |
Definition at line 33 of file KVINDRAReconDataAnalyser.cpp.
|
virtual |
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 562 of file KVINDRAReconDataAnalyser.cpp.
Checks the task variables.
Reimplemented from KVDataAnalyser.
Definition at line 79 of file KVINDRAReconDataAnalyser.cpp.
void KVINDRAReconDataAnalyser::CloneRawAndGeneTrees | ( | ) |
Definition at line 547 of file KVINDRAReconDataAnalyser.cpp.
|
protected |
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 474 of file KVINDRAReconDataAnalyser.cpp.
|
protected |
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 440 of file KVINDRAReconDataAnalyser.cpp.
|
inlinevirtual |
Reimplemented from KVDataAnalyser.
Definition at line 66 of file KVINDRAReconDataAnalyser.h.
|
inline |
Definition at line 103 of file KVINDRAReconDataAnalyser.h.
|
inline |
Definition at line 99 of file KVINDRAReconDataAnalyser.h.
|
inline |
Definition at line 95 of file KVINDRAReconDataAnalyser.h.
|
inline |
Definition at line 111 of file KVINDRAReconDataAnalyser.h.
|
inline |
Definition at line 107 of file KVINDRAReconDataAnalyser.h.
Long64_t KVINDRAReconDataAnalyser::GetRawEntryNumber | ( | ) |
Definition at line 377 of file KVINDRAReconDataAnalyser.cpp.
TEnv * KVINDRAReconDataAnalyser::GetReconDataTreeInfos | ( | ) | const |
Definition at line 493 of file KVINDRAReconDataAnalyser.cpp.
KVReconstructedEvent * KVINDRAReconDataAnalyser::GetReconstructedEvent | ( | ) |
Definition at line 389 of file KVINDRAReconDataAnalyser.cpp.
|
inlinevirtual |
Reimplemented from KVDataAnalyser.
Definition at line 50 of file KVINDRAReconDataAnalyser.h.
|
inline |
Definition at line 58 of file KVINDRAReconDataAnalyser.h.
|
virtual |
Read and set raw data for the current reconstructed event Any required data patches ("rustines") are applied.
Reimplemented from KVDataAnalyser.
Definition at line 412 of file KVINDRAReconDataAnalyser.cpp.
|
virtual |
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 286 of file KVINDRAReconDataAnalyser.cpp.
|
virtual |
Called by currently-processed TSelector when a new file in the TChain is opened. We call gIndra->SetParameters for the current run: only physics parameters will be set, not the full set of identification/calibration parameters.
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 335 of file KVINDRAReconDataAnalyser.cpp.
|
protectedvirtual |
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 231 of file KVINDRAReconDataAnalyser.cpp.
void KVINDRAReconDataAnalyser::PrintTreeInfos | ( | ) |
Print informations on currently analysed TTree.
Definition at line 503 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 85 of file KVINDRAReconDataAnalyser.h.
Reset task variables.
Reimplemented from KVDataAnalyser.
Definition at line 45 of file KVINDRAReconDataAnalyser.cpp.
Reimplemented from KVDataAnalyser.
Definition at line 70 of file KVINDRAReconDataAnalyser.h.
void KVINDRAReconDataAnalyser::SetSelectorCurrentRun | ( | KVINDRADBRun * | CurrentRun | ) |
Definition at line 311 of file KVINDRAReconDataAnalyser.cpp.
Definition at line 62 of file KVINDRAReconDataAnalyser.h.
|
virtual |
Reimplemented from KVDataAnalyser.
Definition at line 399 of file KVINDRAReconDataAnalyser.cpp.
|
virtual |
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 107 of file KVINDRAReconDataAnalyser.cpp.
|
virtual |
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 KVDataAnalyser.
Definition at line 210 of file KVINDRAReconDataAnalyser.cpp.
|
protected |
Definition at line 37 of file KVINDRAReconDataAnalyser.h.
|
protected |
KV release number used to write analysed data.
Definition at line 44 of file KVINDRAReconDataAnalyser.h.
|
protected |
KV series used to write analysed data.
Definition at line 43 of file KVINDRAReconDataAnalyser.h.
|
protected |
KV version used to write analysed data.
Definition at line 42 of file KVINDRAReconDataAnalyser.h.
|
protected |
backwards compatibility
Definition at line 29 of file KVINDRAReconDataAnalyser.h.
|
protected |
patches to be applied to correct data before analysis
Definition at line 46 of file KVINDRAReconDataAnalyser.h.
|
protected |
the data analysis class
Definition at line 28 of file KVINDRAReconDataAnalyser.h.
|
protected |
Definition at line 33 of file KVINDRAReconDataAnalyser.h.
|
protected |
Definition at line 36 of file KVINDRAReconDataAnalyser.h.
|
protected |
Definition at line 35 of file KVINDRAReconDataAnalyser.h.
|
protected |
Definition at line 34 of file KVINDRAReconDataAnalyser.h.
|
protected |
chain of TTrees to be analysed
Definition at line 30 of file KVINDRAReconDataAnalyser.h.
|
protected |
gene data TTree in recon file
Definition at line 32 of file KVINDRAReconDataAnalyser.h.
|
protected |
raw data TTree in recon file
Definition at line 31 of file KVINDRAReconDataAnalyser.h.
|
protected |
Definition at line 41 of file KVINDRAReconDataAnalyser.h.