KaliVeda
Toolkit for HIC analysis
Loading...
Searching...
No Matches
KVRawDataAnalyser Class Referenceabstract

Detailed Description

Abstract base class for user analysis of raw data.

Examples
ExampleRawAnalysis.cpp.

Definition at line 27 of file KVRawDataAnalyser.h.

#include <KVRawDataAnalyser.h>

Inheritance diagram for KVRawDataAnalyser:

Public Member Functions

 KVRawDataAnalyser ()
 Default constructor.
 
virtual ~KVRawDataAnalyser ()
 Destructor.
 
void AddHisto (TH1 *histo)
 
void AddTree (TTree *tree)
 
virtual Bool_t Analysis ()=0
 
void CalculateTotalEventsToRead ()
 loop over runs and calculate total events
 
Bool_t CreateTreeFile (const Char_t *filename="")
 
virtual void EndAnalysis ()=0
 
virtual void EndRun ()=0
 
void FillHisto (const Char_t *sname, const Char_t *label, Double_t weight=1)
 Fill 1D histogram with named bins.
 
void FillHisto (const Char_t *sname, Double_t one, Double_t two=1, Double_t three=1, Double_t four=1)
 
void FillTree (const Char_t *sname="")
 
KVDBRunGetCurrentRun () const
 
KVDetectorEventGetDetectorEvent () const
 
Long64_t GetEventNumber () const
 
TH1GetHisto (const Char_t *name) const
 
const KVHashListGetHistoList () const
 
TString GetOpt (const Char_t *option) const
 
const KVRawDataReaderGetRunFileReader () const
 
Int_t GetRunNumber () const
 
Long64_t GetTotalEntriesToRead () const
 
TTreeGetTree (const Char_t *name) const
 
const KVHashListGetTreeList () const
 
virtual void InitAnalysis ()=0
 
virtual void InitRun ()=0
 
Bool_t IsOptGiven (const Char_t *option)
 
virtual void SaveHistos (const Char_t *filename="", Option_t *option="recreate", Bool_t onlyfilled=kFALSE)
 
void SetJobOutputFileName (const TString &filename)
 
void SetOpt (const Char_t *option, const Char_t *value)
 
void SubmitTask ()
 
void UnsetOpt (const Char_t *opt)
 
- Public Member Functions inherited from KVDataSetAnalyser
 KVDataSetAnalyser ()
 Default constructor.
 
virtual ~KVDataSetAnalyser ()
 Destructor.
 
virtual void AddJobDescriptionList (TList *)
 
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
 
KVDBRunGetAnalysedRun () const
 
KVDBSystemGetAnalysedSystem () const
 
const KVDataSetGetDataSet () const
 
const KVNumberListGetFullRunList () const
 
const KV2BodyGetKinematics () const
 
Int_t GetNumberOfFilesToAnalyse () const
 
const Char_tGetRecognisedAutoBatchNameKeywords () const
 
KVString GetRootDirectoryOfDataToAnalyse () const
 Returns path to data to be analysed.
 
const KVNumberListGetRunList () const
 
Int_t GetRunNumberFromFileName (const Char_t *)
 Get the run number from the filename.
 
const KVDBSystemGetSystem () const
 
Bool_t IsChooseDataSet () const
 
Bool_t IsChooseRuns () const
 
Bool_t IsChooseSystem () const
 
Bool_t IsChooseTask () const
 
Bool_t ReadBatchEnvFile (const TString &filename)
 
void Reset ()
 
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 KVNumberList &nl)
 
void SetRuns (const KVNumberList &nl, Bool_t check=kTRUE)
 
void SetSystem (KVDBSystem *syst)
 Set the System used in the analysis.
 
TString SystemBatchName () const
 
void WriteBatchEnvFile (const TString &jobname, Bool_t save=kTRUE)
 
- Public Member Functions inherited from KVDataAnalyser
 KVDataAnalyser ()
 Default constructor.
 
virtual ~KVDataAnalyser ()
 Default destructor.
 
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.
 
void ChooseRunningMode ()
 
void ChooseUserClass ()
 Choose the user's analysis class.
 
void DeleteBatchStatusFile () const
 Delete batch status file (and backup - '.bak') for batch job.
 
void DoStatusUpdate (Long64_t nevents) const
 Print infos on events treated, disk usage, memory usage.
 
Bool_t DoUserClassFilesExist ()
 
virtual TTreeGetAnalysedTree () const
 
KVDataAnalysisTaskGetAnalysisTask () const
 
const Char_tGetBatchName ()
 
const Char_tGetBatchStatusFileName () const
 Returns full path to file used to store status of running batch jobs.
 
virtual const KVBatchSystemGetBatchSystem ()
 
const KVStringGetDataType () const
 
const Char_tGetLaunchDirectory () const
 
Long64_t GetNbEventToRead (void) const
 
KVDataAnalyserGetParent () const
 
TString GetPathToFileInLaunchDirectory (const TString &) const
 
EProofMode GetProofMode () const
 
Double_t GetStatusUpdateInterval () const
 
const Char_tGetUserClass ()
 
const KVStringGetUserClassDec () const
 
const KVStringGetUserClassImp () const
 
const KVStringGetUserClassOptions () const
 
const KVStringGetUserIncludes () const
 
const KVStringGetUserLibraries () 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 preInitAnalysis ()
 
virtual void preInitRun ()
 
virtual void RegisterUserClass (TObject *)
 
virtual void Run ()
 Check all task variables, then run analyser.
 
virtual void RunMenus ()
 Run data analyser in menu-driven mode.
 
Bool_t RunningInLaunchDirectory ()
 
virtual void SetAnalysedTree (TTree *)
 
void SetAnalysisTask (KVDataAnalysisTask *at)
 
virtual void SetAuxFileList (TList *)
 
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 (TList *)
 
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 Char_t *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.
 
void UseBaseClassSubmitTask ()
 
void WriteBatchInfo (TTree *)
 
- 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="")
 
virtual void Browse (TBrowser *b)
 
ULong_t CheckedHash ()
 
virtual const char * ClassName () const
 
virtual void Clear (Option_t *="")
 
virtual TObjectClone (const char *newname="") const
 
virtual Int_t Compare (const TObject *obj) const
 
virtual void Copy (TObject &object) 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 TObjectDrawClone (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 TObjectFindObject (const char *name) const
 
virtual TObjectFindObject (const TObject *obj) const
 
virtual Option_tGetDrawOption () const
 
virtual const char * GetIconName () const
 
virtual const char * GetName () const
 
virtual char * GetObjectInfo (Int_t px, Int_t py) const
 
virtual Option_tGetOption () const
 
virtual const char * GetTitle () const
 
virtual UInt_t GetUniqueID () const
 
virtual Bool_t HandleTimer (TTimer *timer)
 
virtual ULong_t Hash () const
 
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)
 
virtual TClassIsA () const
 
Bool_t IsDestructed () const
 
virtual Bool_t IsEqual (const TObject *obj) const
 
virtual Bool_t IsFolder () const
 
R__ALWAYS_INLINE Bool_t IsOnHeap () const
 
virtual Bool_t IsSortable () const
 
R__ALWAYS_INLINE Bool_t IsZombie () const
 
virtual void ls (Option_t *option="") 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)
 
voidoperator new (size_t sz)
 
voidoperator new (size_t sz, void *vp)
 
voidoperator new[] (size_t sz)
 
voidoperator new[] (size_t sz, void *vp)
 
TObjectoperator= (const TObject &rhs)
 
virtual void Paint (Option_t *option="")
 
virtual void Pop ()
 
virtual void Print (Option_t *option="") const
 
virtual Int_t Read (const char *name)
 
virtual void RecursiveRemove (TObject *obj)
 
void ResetBit (UInt_t f)
 
virtual void SaveAs (const char *filename="", Option_t *option="") const
 
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)
 
virtual void Streamer (TBuffer &)
 
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
 

Static Public Member Functions

static void Make (const Char_t *kvsname="MyOwnRawDataAnalyser")
 Automatic generation of derived class for raw data analysis.
 
- Static Public Member Functions inherited from KVDataAnalyser
static Bool_t AbortProcessingLoop ()
 
static KVDataAnalyserGetAnalyser (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 TClassClass ()
 
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

void AbortDuringRunProcessing ()
 Method called to abort analysis during processing of a run.
 
void FillTH1 (TH1 *h1, Double_t one, Double_t two)
 
void FillTH2 (TH2 *h2, Double_t one, Double_t two, Double_t three)
 
void FillTH3 (TH3 *h3, Double_t one, Double_t two, Double_t three, Double_t four)
 
void FillTProfile (TProfile *h1, Double_t one, Double_t two, Double_t three)
 
void FillTProfile2D (TProfile2D *h2, Double_t one, Double_t two, Double_t three, Double_t four)
 
void ProcessRun ()
 
void SetCombinedOutputFile (const KVString &filename)
 

Private Attributes

KVString fCombinedOutputFile
 optional name for single results file with trees and histos
 
KVDBRunfCurrentRun
 poiner to current run
 
Long64_t fEventNumber
 event number in current run
 
KVHashList fHistoList
 list of histograms of user analysis
 
KVUserAnalysisOptionList fOptionList
 list of options set by user for analysis
 
KVRawDataReaderfRunFile
 currently analysed run file
 
Int_t fRunNumber
 run number of current file
 
TFilefTreeFile
 
KVHashList fTreeList
 list of trees of user analysis
 
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
 
- 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
 

Constructor & Destructor Documentation

◆ KVRawDataAnalyser()

KVRawDataAnalyser::KVRawDataAnalyser ( )

Default constructor.

Definition at line 21 of file KVRawDataAnalyser.cpp.

◆ ~KVRawDataAnalyser()

KVRawDataAnalyser::~KVRawDataAnalyser ( )
virtual

Destructor.

Definition at line 34 of file KVRawDataAnalyser.cpp.

Member Function Documentation

◆ AbortDuringRunProcessing()

void KVRawDataAnalyser::AbortDuringRunProcessing ( )
private

Method called to abort analysis during processing of a run.

Definition at line 469 of file KVRawDataAnalyser.cpp.

◆ AddHisto()

void KVRawDataAnalyser::AddHisto ( TH1 histo)
inline

◆ AddTree()

void KVRawDataAnalyser::AddTree ( TTree tree)

Add a user analysis results TTree to list which will be automatically written to disk at end of analysis. User must call CreateTreeFile(const Char_t*) before calling this method

Definition at line 256 of file KVRawDataAnalyser.cpp.

◆ Analysis()

virtual Bool_t KVRawDataAnalyser::Analysis ( )
pure virtual

◆ CalculateTotalEventsToRead()

void KVRawDataAnalyser::CalculateTotalEventsToRead ( )

loop over runs and calculate total events

Definition at line 238 of file KVRawDataAnalyser.cpp.

◆ CreateTreeFile()

Bool_t KVRawDataAnalyser::CreateTreeFile ( const Char_t filename = "")

This method must be called before creating any user TTree in InitAnalysis(). If no filename is given, default name="TreeFileFrom[name of analysis class].root"

Definition at line 429 of file KVRawDataAnalyser.cpp.

◆ EndAnalysis()

virtual void KVRawDataAnalyser::EndAnalysis ( )
pure virtual

◆ EndRun()

virtual void KVRawDataAnalyser::EndRun ( )
pure virtual

◆ FillHisto() [1/2]

void KVRawDataAnalyser::FillHisto ( const Char_t sname,
const Char_t label,
Double_t  weight = 1 
)

Fill 1D histogram with named bins.

Definition at line 311 of file KVRawDataAnalyser.cpp.

◆ FillHisto() [2/2]

void KVRawDataAnalyser::FillHisto ( const Char_t histo_name,
Double_t  one,
Double_t  two = 1,
Double_t  three = 1,
Double_t  four = 1 
)

Find in the list, if there is an histogram named "histo_name" If not print an error message If yes redirect to the right method according to its closest mother class to fill it

Definition at line 279 of file KVRawDataAnalyser.cpp.

◆ FillTH1()

void KVRawDataAnalyser::FillTH1 ( TH1 h1,
Double_t  one,
Double_t  two 
)
inlineprivate

Definition at line 47 of file KVRawDataAnalyser.h.

◆ FillTH2()

void KVRawDataAnalyser::FillTH2 ( TH2 h2,
Double_t  one,
Double_t  two,
Double_t  three 
)
inlineprivate

Definition at line 55 of file KVRawDataAnalyser.h.

◆ FillTH3()

void KVRawDataAnalyser::FillTH3 ( TH3 h3,
Double_t  one,
Double_t  two,
Double_t  three,
Double_t  four 
)
inlineprivate

Definition at line 63 of file KVRawDataAnalyser.h.

◆ FillTProfile()

void KVRawDataAnalyser::FillTProfile ( TProfile h1,
Double_t  one,
Double_t  two,
Double_t  three 
)
inlineprivate

Definition at line 51 of file KVRawDataAnalyser.h.

◆ FillTProfile2D()

void KVRawDataAnalyser::FillTProfile2D ( TProfile2D h2,
Double_t  one,
Double_t  two,
Double_t  three,
Double_t  four 
)
inlineprivate

Definition at line 59 of file KVRawDataAnalyser.h.

◆ FillTree()

void KVRawDataAnalyser::FillTree ( const Char_t tree_name = "")

Filltree method, the tree named tree_name has to be declared with AddTTree(TTree*) method

if no sname="", all trees in the list is filled

Definition at line 332 of file KVRawDataAnalyser.cpp.

◆ GetCurrentRun()

KVDBRun * KVRawDataAnalyser::GetCurrentRun ( ) const
inline

Definition at line 110 of file KVRawDataAnalyser.h.

◆ GetDetectorEvent()

KVDetectorEvent * KVRawDataAnalyser::GetDetectorEvent ( ) const
inline

Definition at line 90 of file KVRawDataAnalyser.h.

◆ GetEventNumber()

Long64_t KVRawDataAnalyser::GetEventNumber ( ) const
inline

Definition at line 106 of file KVRawDataAnalyser.h.

◆ GetHisto()

TH1 * KVRawDataAnalyser::GetHisto ( const Char_t name) const
inline

Definition at line 146 of file KVRawDataAnalyser.h.

◆ GetHistoList()

const KVHashList * KVRawDataAnalyser::GetHistoList ( ) const
inline

Definition at line 137 of file KVRawDataAnalyser.h.

◆ GetOpt()

TString KVRawDataAnalyser::GetOpt ( const Char_t option) const
inline

Definition at line 185 of file KVRawDataAnalyser.h.

◆ GetRunFileReader()

const KVRawDataReader & KVRawDataAnalyser::GetRunFileReader ( ) const
inline

Definition at line 120 of file KVRawDataAnalyser.h.

◆ GetRunNumber()

Int_t KVRawDataAnalyser::GetRunNumber ( ) const
inline

Definition at line 102 of file KVRawDataAnalyser.h.

◆ GetTotalEntriesToRead()

Long64_t KVRawDataAnalyser::GetTotalEntriesToRead ( ) const
inlinevirtual

Reimplemented from KVDataAnalyser.

Definition at line 82 of file KVRawDataAnalyser.h.

◆ GetTree()

TTree * KVRawDataAnalyser::GetTree ( const Char_t name) const
inline

Definition at line 150 of file KVRawDataAnalyser.h.

◆ GetTreeList()

const KVHashList * KVRawDataAnalyser::GetTreeList ( ) const
inline

Definition at line 141 of file KVRawDataAnalyser.h.

◆ InitAnalysis()

virtual void KVRawDataAnalyser::InitAnalysis ( )
pure virtual

◆ InitRun()

virtual void KVRawDataAnalyser::InitRun ( )
pure virtual

◆ IsOptGiven()

Bool_t KVRawDataAnalyser::IsOptGiven ( const Char_t option)
inline

Definition at line 181 of file KVRawDataAnalyser.h.

◆ Make()

void KVRawDataAnalyser::Make ( const Char_t kvsname = "MyOwnRawDataAnalyser")
static

Automatic generation of derived class for raw data analysis.

Definition at line 453 of file KVRawDataAnalyser.cpp.

◆ ProcessRun()

void KVRawDataAnalyser::ProcessRun ( )
private

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 just after calling gMultiDetArray->HandleRawDataEvent(fRunfile). In the Analysis() method the user can test gMultiDetArray->HandledRawData() to know if some pertinent data was found in the event or not.

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

Definition at line 54 of file KVRawDataAnalyser.cpp.

◆ SaveHistos()

void KVRawDataAnalyser::SaveHistos ( const Char_t filename = "",
Option_t option = "recreate",
Bool_t  onlyfilled = kFALSE 
)
virtual

Write in file all histograms declared with AddHisto(TH1*)

If no filename is specified, set default name : HistoFileFrom[name_of_class].root

If a filename is specified, search in gROOT->GetListOfFiles() if this file has been already opened

  • if yes write in it
  • if not, create it with the corresponding option, write in it and close it just after

onlyfilled flag allow to write all (onlyfilled=kFALSE, default) or only histograms (onlyfilled=kTRUE) those have been filled

Definition at line 369 of file KVRawDataAnalyser.cpp.

◆ SetCombinedOutputFile()

void KVRawDataAnalyser::SetCombinedOutputFile ( const KVString filename)
inlineprivate

Call in InitAnalysis() to set the name of the single output file containing all histograms and TTrees produced by analysis. This is equivalent to running the analysis with option CombinedOutputFile=[filename] but setting this option in InitAnalysis() will not work. Note that if this method is not called/the option is not given, histograms and TTrees will be written in separate files.

Definition at line 68 of file KVRawDataAnalyser.h.

◆ SetJobOutputFileName()

void KVRawDataAnalyser::SetJobOutputFileName ( const TString filename)
inline

Call in InitAnalysis() to set the name of the single output file containing all histograms and TTrees produced by analysis.

For interactive jobs or jos using PROOF, filename will be used for the ROOT file. For jobs using a batch system to execute many jobs in parallel, we use the job name with the '.root' extension.

Definition at line 156 of file KVRawDataAnalyser.h.

◆ SetOpt()

void KVRawDataAnalyser::SetOpt ( const Char_t option,
const Char_t value 
)
inline

Definition at line 177 of file KVRawDataAnalyser.h.

◆ SubmitTask()

void KVRawDataAnalyser::SubmitTask ( )
virtual

Perform analysis of chosen runs Before beginning the loop over the runs, the user's InitAnalysis() method is called. After completing the analysis of all runs, the user's EndAnalysis() method is called.

Further customisation of the event loop is possible by overriding the methods preInitAnalysis() postInitAnalysis() preEndAnalysis() postEndAnalysis() which are executed respectively just before and just after the methods.

Reimplemented from KVDataAnalyser.

Definition at line 157 of file KVRawDataAnalyser.cpp.

◆ UnsetOpt()

void KVRawDataAnalyser::UnsetOpt ( const Char_t opt)
inline

Definition at line 189 of file KVRawDataAnalyser.h.

Member Data Documentation

◆ fCombinedOutputFile

KVString KVRawDataAnalyser::fCombinedOutputFile
private

optional name for single results file with trees and histos

Definition at line 38 of file KVRawDataAnalyser.h.

◆ fCurrentRun

KVDBRun* KVRawDataAnalyser::fCurrentRun
private

poiner to current run

Definition at line 36 of file KVRawDataAnalyser.h.

◆ fEventNumber

Long64_t KVRawDataAnalyser::fEventNumber
private

event number in current run

Definition at line 32 of file KVRawDataAnalyser.h.

◆ fHistoList

KVHashList KVRawDataAnalyser::fHistoList
private

list of histograms of user analysis

Definition at line 33 of file KVRawDataAnalyser.h.

◆ fOptionList

KVUserAnalysisOptionList KVRawDataAnalyser::fOptionList
private

list of options set by user for analysis

Definition at line 39 of file KVRawDataAnalyser.h.

◆ fRunFile

KVRawDataReader* KVRawDataAnalyser::fRunFile
private

currently analysed run file

Definition at line 30 of file KVRawDataAnalyser.h.

◆ fRunNumber

Int_t KVRawDataAnalyser::fRunNumber
private

run number of current file

Definition at line 31 of file KVRawDataAnalyser.h.

◆ fTreeFile

TFile* KVRawDataAnalyser::fTreeFile
private

Definition at line 35 of file KVRawDataAnalyser.h.

◆ fTreeList

KVHashList KVRawDataAnalyser::fTreeList
private

list of trees of user analysis

Definition at line 34 of file KVRawDataAnalyser.h.

◆ TotalEntriesToRead

Long64_t KVRawDataAnalyser::TotalEntriesToRead
private

Definition at line 37 of file KVRawDataAnalyser.h.