KaliVeda
Toolkit for HIC analysis
KVFAZIAReconDataAnalyser Class Reference

Detailed Description

Pilot analysis of reconstructed FAZIA data.

Definition at line 25 of file KVFAZIAReconDataAnalyser.h.

#include <KVFAZIAReconDataAnalyser.h>

Inheritance diagram for KVFAZIAReconDataAnalyser:

Public Member Functions

 KVFAZIAReconDataAnalyser ()
 Default constructor. More...
 
virtual ~ KVFAZIAReconDataAnalyser ()
 
Int_t GetCurrentRunNumber () const
 
void preInitAnalysis () override
 
void preInitRun () override
 
void ProcessRun ()
 
void RegisterUserClass (TObject *o) override
 
void SubmitTask () override
 Run the interactive analysis. More...
 
- Public Member Functions inherited from KVDataSetAnalyser
 KVDataSetAnalyser ()
 Default constructor. More...
 
virtual ~KVDataSetAnalyser ()
 Destructor. More...
 
void AddJobDescriptionList (TList *) override
 
virtual void ChooseAnalysisTask ()
 
void ChooseDataSet ()
 
void ChooseDataType ()
 
void ChooseRuns (KVDBSystem *system=nullptr, const Char_t *data_type="")
 
void ChooseSystem (const Char_t *data_type="")
 
void ClearRunList ()
 
TString ExpandAutoBatchName (const Char_t *format) const override
 
KVDBRun * GetAnalysedRun () const override
 
KVDBRunFile * GetAnalysedRunFile () const override
 
KVDBSystem * GetAnalysedSystem () const override
 
TString GetAnalyserClassNameForBatchJob () override
 
const KVDataSet * GetDataSet () const
 
const run_index_list & GetFullRunList () const
 
const KV2Body * GetKinematics () const override
 
Int_t GetNumberOfFilesToAnalyse () const override
 
const Char_t * GetRecognisedAutoBatchNameKeywords () const override
 
KVString GetRootDirectoryOfDataToAnalyse () const override
 Returns path to data to be analysed. More...
 
const run_index_list & GetRunList () const
 
const KVDBSystem * GetSystem () const
 
Bool_t IsChooseDataSet () const
 
Bool_t IsChooseRuns () const
 
Bool_t IsChooseSystem () const
 
Bool_t IsChooseTask () const
 
Bool_t ReadBatchEnvFile (const TString &filename) override
 
void Reset () override
 
void SetChooseDataSet (Bool_t yes=kTRUE)
 
void SetChooseRuns (Bool_t yes=kTRUE)
 
void SetChooseSystem (Bool_t yes=kTRUE)
 
void SetChooseTask (Bool_t yes=kTRUE)
 
void SetDataSet (const Char_t *name)
 
void SetDataSet (KVDataSet *ds)
 
void SetFullRunList (const run_index_list &nl)
 
void SetRuns (const run_index_list &nl, Bool_t check=kTRUE)
 
void SetSystem (KVDBSystem *syst)
 Set the System used in the analysis. More...
 
TString SystemBatchName () const
 
void WriteBatchEnvFile (const TString &jobname, Bool_t save=kTRUE) override
 
- Public Member Functions inherited from KVDataAnalyser
 KVDataAnalyser ()
 Default constructor. More...
 
virtual ~KVDataAnalyser ()
 Default destructor. More...
 
Bool_t BatchMode () const
 
virtual Bool_t CheckStatusUpdateInterval (Long64_t nevents) const
 
virtual Bool_t CheckTaskVariables ()
 
void ChooseNbEventToRead ()
 Ask user to set number of events to read. More...
 
void ChooseRunningMode ()
 
void ChooseUserClass ()
 Choose the user's analysis class. More...
 
void DeleteBatchStatusFile () const
 Delete batch status file (and backup - '.bak') for batch job. More...
 
void DoStatusUpdate (Long64_t nevents) const
 Print infos on events treated, disk usage, memory usage. More...
 
Bool_t DoUserClassFilesExist ()
 
virtual TTree * GetAnalysedTree () const
 
KVDataAnalysisTask * GetAnalysisTask () const
 
const Char_t * GetBatchName ()
 
const Char_t * GetBatchStatusFileName () const
 Returns full path to file used to store status of running batch jobs. More...
 
virtual const KVBatchSystem * GetBatchSystem ()
 
const KVString & GetDataType () const
 
const Char_t * GetLaunchDirectory () const
 
Long64_t GetNbEventToRead (void) const
 
KVDataAnalyser * GetParent () const
 
TString GetPathToFileInLaunchDirectory (const TString &) const
 
EProofMode GetProofMode () const
 
Double_t GetStatusUpdateInterval () const
 
virtual Long64_t GetTotalEntriesToRead () const
 
const UserClass & GetUserClass () const
 
KVString GetUserClassName ()
 
const KVString & GetUserClassOptions () const
 
const KVString & GetUserIncludes () const
 
const KVString & GetUserLibraries () const
 
Bool_t IsMenus () const
 
Bool_t IsQuit () const
 
Bool_t IsSubmit () const
 
Bool_t IsUserClassValid () const
 
virtual void postAnalysis ()
 
virtual void postEndAnalysis ()
 
virtual void postEndRun ()
 
virtual void postInitAnalysis ()
 
virtual void postInitRun ()
 
virtual void preAnalysis ()
 
virtual void preEndAnalysis ()
 
virtual void preEndRun ()
 
virtual void Run ()
 Check all task variables, then run analyser. More...
 
virtual void RunMenus ()
 Run data analyser in menu-driven mode. More...
 
Bool_t RunningInLaunchDirectory ()
 
virtual void SetAnalysedTree (TTree *)
 
void SetAnalysisTask (KVDataAnalysisTask *at)
 
virtual void SetAuxFileList (const KVUnownedList &)
 
void SetBatchMode (Bool_t on=kTRUE)
 
void SetBatchName (const Char_t *batchname)
 
void SetBatchSystem (KVBatchSystem *bs)
 
void SetDataType (const Char_t *name)
 
virtual void SetFileList (const KVUnownedList &)
 
void SetMenus (Bool_t on=kTRUE)
 
void SetNbEventToRead (Long64_t nb=0)
 
void SetParent (KVDataAnalyser *da)
 
void SetProofMode (EProofMode e)
 
void SetQuit (Bool_t yes=kTRUE)
 
void SetStatusUpdateInterval (double t)
 
void SetSubmit (Bool_t yes=kTRUE)
 
virtual void SetTriggerConditionsForRun (int)
 
void SetUserClass (const UserClass &kvs, Bool_t check=kTRUE)
 
void SetUserClassOptions (const Char_t *o="")
 
void SetUserIncludes (const Char_t *incDirs=0)
 
void SetUserLibraries (const Char_t *libs=0)
 
void UpdateBatchStatusFile (Int_t totev, Int_t evread, TString disk) const
 Update infos in batch status file. More...
 
void UseBaseClassSubmitTask ()
 
void WriteBatchInfo (TTree *)
 

Additional Inherited Members

- Public Types inherited from KVDataAnalyser
enum  EProofMode { None , Lite , Proof }
 
- 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)
 

Constructor & Destructor Documentation

◆ KVFAZIAReconDataAnalyser()

KVFAZIAReconDataAnalyser::KVFAZIAReconDataAnalyser ( )

Default constructor.

Definition at line 25 of file KVFAZIAReconDataAnalyser.cpp.

◆ ~ KVFAZIAReconDataAnalyser()

virtual KVFAZIAReconDataAnalyser::~ KVFAZIAReconDataAnalyser ( )
virtual

Member Function Documentation

◆ GetCurrentRunNumber()

Int_t KVFAZIAReconDataAnalyser::GetCurrentRunNumber ( ) const
inline

Definition at line 49 of file KVFAZIAReconDataAnalyser.h.

◆ preInitAnalysis()

void KVFAZIAReconDataAnalyser::preInitAnalysis ( )
overridevirtual

Called by currently-processed KVFAZIASelector 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()).

Reimplemented from KVDataAnalyser.

Definition at line 239 of file KVFAZIAReconDataAnalyser.cpp.

◆ preInitRun()

void KVFAZIAReconDataAnalyser::preInitRun ( )
overridevirtual

Called by currently-processed KVFAZIASelector when a new file in the TChain is opened. We call gFazia->SetParameters for the current run. Infos on currently read file/tree are printed.

Reimplemented from KVDataAnalyser.

Definition at line 263 of file KVFAZIAReconDataAnalyser.cpp.

◆ ProcessRun()

void KVFAZIAReconDataAnalyser::ProcessRun ( )

Perform treatment of a given run Before processing each run, after opening the associated file, user's InitRun() method is called. After each run, user's EndRun() is called. For each event of each run, user's Analysis() method is called.

For further customisation, the pre/post-methods are called just before and just after each of these methods (preInitRun(), postAnalysis(), etc. etc.)

Definition at line 76 of file KVFAZIAReconDataAnalyser.cpp.

◆ RegisterUserClass()

void KVFAZIAReconDataAnalyser::RegisterUserClass ( TObject *  o)
inlineoverridevirtual

Reimplemented from KVDataAnalyser.

Definition at line 36 of file KVFAZIAReconDataAnalyser.h.

◆ SubmitTask()

void KVFAZIAReconDataAnalyser::SubmitTask ( )
overridevirtual

Run the interactive analysis.

Reimplemented from KVDataAnalyser.

Definition at line 48 of file KVFAZIAReconDataAnalyser.cpp.