KaliVeda
Toolkit for HIC analysis
KVReconEventSelector Class Reference

Detailed Description

Base class for user analysis of reconstructed data.

Created by KVClassFactory on Thu Jul 19 15:38:10 2018 Author: eindra

See KVEventSelector for details of use.

Examples
CompleteEvents.cpp, CompleteEventsFW.cpp, ExampleAnalysis_KVEventMixerN_2Body.cpp, ExampleAnalysis_KVEventMixerN_3Body.cpp, ExampleCorrelationAnalysis.cpp, and ExampleReconAnalysis.cpp.

Definition at line 20 of file KVReconEventSelector.h.

#include <KVReconEventSelector.h>

Inheritance diagram for KVReconEventSelector:

Public Member Functions

 KVReconEventSelector (TTree *arg1=0)
 
virtual ~KVReconEventSelector ()
 
KVDBRun * GetCurrentRun () const
 
KVDBRunFile * GetCurrentRunFile () const
 
KVReconstructedEvent * GetEvent () const
 
Int_t GetEventNumber ()
 
void Init (TTree *tree) override
 When using PROOF, need to set tree pointer in KVDataAnalyser. More...
 
void SetCurrentRun (KVDBRun *r) override
 
- Public Member Functions inherited from KVEventSelector
 KVEventSelector (TTree *=0)
 
KVVarGlob * AddGV (const Char_t *class_name, const Char_t *name)
 
void AddGV (KVVarGlob *vg)
 
KVGVList * AddGVList (const KVString &list_name, const KVParticleCondition &selection=KVParticleCondition())
 
virtual Bool_t Analysis ()
 
void Begin (TTree *tree) override
 
virtual void EndAnalysis ()
 
virtual void EndRun ()
 
const Char_t * GetBranchName () const
 
Int_t GetEntry (Long64_t entry, Int_t getall=0) override
 
KVEvent * GetEvent () const
 
Int_t GetEventNumber () const
 
KVEvent * GetFriendEvent () const
 
Int_t GetFriendTreeEntry (Long64_t entry, Int_t getall=0)
 
KVVarGlob * GetGV (const Char_t *name) const
 
KVGVList * GetGVList (const KVString &list_name="default")
 
const KVGVList * GetGVList (const KVString &list_name="default") const
 
TString GetOpt (const Char_t *option) const
 
TList * GetOutputList () const override
 
virtual void InitAnalysis ()
 
virtual void InitRun ()
 
Bool_t IsOptGiven (const Char_t *option)
 
Bool_t Notify () override
 
Bool_t Process (Long64_t entry) override
 
virtual void SaveHistos (const Char_t *="", Option_t *="recreate", Bool_t=kFALSE)
 
virtual void SetAdditionalBranchAddress ()
 
void SetBranchName (const Char_t *n)
 
void SetEventsReadInterval (Long64_t N)
 
void SetInputList (TList *input) override
 
void SetJobOutputFileName (const TString &filename)
 
void SetObject (TObject *obj) override
 
void SetOpt (const Char_t *option, const Char_t *value)
 
void SetParticleConditions (const KVParticleCondition &cond)
 
void SetTriggerConditionsForRun (int run)
 
void SlaveBegin (TTree *tree) override
 
void SlaveTerminate () override
 
void Terminate () override
 
void UnsetOpt (const Char_t *opt)
 
Int_t Version () const override
 
- Public Member Functions inherited from TSelector
 TSelector ()
 
 ~TSelector () override
 
virtual void Abort (const char *why, EAbort what=kAbortProcess)
 
virtual EAbort GetAbort () const
 
virtual TList * GetInputList () const
 
const char * GetOption () const override
 
virtual Long64_t GetStatus () const
 
virtual void ImportOutput (TList *output)
 
TClass * IsA () const override
 
virtual Bool_t ProcessCut (Long64_t)
 
virtual void ProcessFill (Long64_t)
 
virtual void ResetAbort ()
 
virtual void SetOption (const char *option)
 
virtual void SetStatus (Long64_t status)
 
void Streamer (TBuffer &) override
 
void StreamerNVirtual (TBuffer &ClassDef_StreamerNVirtual_b)
 
- 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 TObject * Clone (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 TObject * DrawClone (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 TObject * FindObject (const char *name) const
 
virtual TObject * FindObject (const TObject *obj) const
 
virtual Option_t * GetDrawOption () const
 
virtual const char * GetIconName () const
 
virtual const char * GetName () const
 
virtual char * GetObjectInfo (Int_t px, Int_t py) 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)
 
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
 
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)
 
void * operator new (size_t sz)
 
void * operator new (size_t sz, void *vp)
 
void * operator new[] (size_t sz)
 
void * operator new[] (size_t sz, void *vp)
 
TObject & operator= (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)
 
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
 
- Public Member Functions inherited from KVDataAnalysisTreeHistoHandler< KVEventSelector >
HistoType * AddHisto (Args &&... args)
 
TTree * AddTree (const TString &name, const TString &title="")
 
void FillHisto (const Char_t *histo_name, const Char_t *label, Double_t weight=1)
 Fill histogram with given name according to label bin and weight. More...
 
void FillHisto (const Char_t *histo_name, Double_t x, Double_t y=1, Double_t z=1, Double_t w=1)
 Fill previously-declared histogram with given name and required arguments. More...
 
void FillTree (std::optional< TString > tree_name={})
 
TH1 * GetHisto (const Char_t *name) const
 
const KVHashList * GetHistoList () const
 
TTree * GetTree (const Char_t *name) const
 
const KVHashList * GetTreeList () const
 GetTreeList. More...
 

Static Public Member Functions

static void Make (const Char_t *kvsname)
 
- 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)
 
- Static Public Member Functions inherited from KVDataAnalysisTreeHistoHandler< KVEventSelector >
static const Char_t * Class_Name ()
 

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
 

Constructor & Destructor Documentation

◆ KVReconEventSelector()

KVReconEventSelector::KVReconEventSelector ( TTree *  arg1 = 0)
inline

Definition at line 24 of file KVReconEventSelector.h.

◆ ~KVReconEventSelector()

virtual KVReconEventSelector::~KVReconEventSelector ( )
inlinevirtual

Definition at line 28 of file KVReconEventSelector.h.

Member Function Documentation

◆ GetCurrentRun()

KVDBRun* KVReconEventSelector::GetCurrentRun ( ) const
inline

Definition at line 34 of file KVReconEventSelector.h.

◆ GetCurrentRunFile()

KVDBRunFile * KVReconEventSelector::GetCurrentRunFile ( ) const
Returns
pointer to description of currently-analysed runfile in the experimental database
Warning
DO NOT USE when analysing data with PROOFLite!!! (which mixes up the files)

Definition at line 18 of file KVReconEventSelector.cpp.

◆ GetEvent()

KVReconstructedEvent* KVReconEventSelector::GetEvent ( ) const
inline

Definition at line 48 of file KVReconEventSelector.h.

◆ GetEventNumber()

Int_t KVReconEventSelector::GetEventNumber ( )
inline

returns number of currently analysed event N.B. this may be different to the TTree/TChain entry number etc.

Definition at line 42 of file KVReconEventSelector.h.

◆ Init()

void KVReconEventSelector::Init ( TTree *  tree)
overridevirtual

When using PROOF, need to set tree pointer in KVDataAnalyser.

Reimplemented from KVEventSelector.

Definition at line 32 of file KVReconEventSelector.cpp.

◆ Make()

void KVReconEventSelector::Make ( const Char_t *  kvsname)
static

Generate a new recon data analysis selector class

This will be based on a template file which may change as a function of the current dataset, if a variable

[dataset].ReconEventSelector.Template

is defined with the name of the template

Definition at line 53 of file KVReconEventSelector.cpp.

◆ SetCurrentRun()

void KVReconEventSelector::SetCurrentRun ( KVDBRun *  r)
inlineoverridevirtual

Reimplemented from KVEventSelector.

Definition at line 30 of file KVReconEventSelector.h.