KaliVeda
Toolkit for HIC analysis
Loading...
Searching...
No Matches
KVINDRAGeneDataSelector Class Reference

Detailed Description

For analysing INDRA pulser & laser data.

This class has been automatically generated on Mon Jun 4 18:46:15 2007 by ROOT version 5.14/00 from TChain GeneData/

User analysis classes derived from this one have access to the following variables :

For each event, the values of the acquisition parameters are read and stored in the corresponding KVACQParam objects of the INDRA detectors. Therefore to access the value in your Analysis() method, use something like this:

gIndra->GetACQParam("CI_0201_PG")->GetCoderData()

or

gIndra->GetDetector("CI_0201")->GetACQParam("PG")->GetCoderData()

Use TriggerInfo to check whether the event corresponds to pulser or laser, i.e.

if( TriggerInfo->IsLaser() ) { ... }
if( TriggerInfo->IsPulser() ) { ... }

Definition at line 44 of file KVINDRAGeneDataSelector.h.

#include <KVINDRAGeneDataSelector.h>

Inheritance diagram for KVINDRAGeneDataSelector:

Public Member Functions

 KVINDRAGeneDataSelector (TTree *=0)
 
virtual ~KVINDRAGeneDataSelector ()
 
virtual Bool_t Analysis ()
 
virtual Bool_t AtEndOfRun (void)
 
virtual void Begin (TTree *tree)
 
virtual void EndAnalysis ()
 
virtual void EndRun ()
 
virtual Int_t GetEntry (Long64_t entry, Int_t getall=0)
 
virtual TListGetOutputList () const
 
virtual void Init (TTree *tree)
 
virtual void InitAnalysis ()
 
virtual void InitRun ()
 
virtual Bool_t Notify ()
 
virtual Bool_t Process (Long64_t entry)
 
void SetBranchAddresses ()
 
virtual void SetInputList (TList *input)
 
virtual void SetObject (TObject *obj)
 
virtual void SetOption (const char *option)
 
virtual void SlaveBegin (TTree *tree)
 
virtual void SlaveTerminate ()
 
virtual void Terminate ()
 
virtual Int_t Version () const
 
- Public Member Functions inherited from TSelector
 TSelector ()
 
 ~TSelector () override
 
virtual void Abort (const char *why, EAbort what=kAbortProcess)
 
virtual EAbort GetAbort () const
 
virtual TListGetInputList () const
 
const char * GetOption () const override
 
virtual Long64_t GetStatus () const
 
virtual void ImportOutput (TList *output)
 
TClassIsA () const override
 
Bool_t Notify () override
 
virtual Bool_t ProcessCut (Long64_t)
 
virtual void ProcessFill (Long64_t)
 
virtual void ResetAbort ()
 
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 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 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)
 
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)
 
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)
 Automatic generation of derived class for gene data analysis.
 
- Static Public Member Functions inherited from TSelector
static TClassClass ()
 
static const char * Class_Name ()
 
static constexpr Version_t Class_Version ()
 
static const char * DeclFileName ()
 
static TSelectorGetSelector (const char *filename)
 
static Bool_t IsStandardDraw (const char *selec)
 
- 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 Attributes

TBranchb_EventNumber
 
TBranchb_RunNumber
 List of branches.
 
TBranchb_TriggerInfo
 
Int_t EventNumber
 
TTreefChain
 pointer to the analyzed TTree or TChain
 
Long64_t fTreeEntry
 this is the current TTree entry number, i.e. the argument passed to TSelector::Process(Long64_t entry)
 
Bool_t needToCallEndRun
 tells if one needs to call EndRun
 
Int_t RunNumber
 Declaration of leave types.
 
KVINDRATriggerInfoTriggerInfo
 

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
 
TListfInput
 
TObjectfObject
 
TString fOption
 
TSelectorListfOutput
 
Long64_t fStatus
 
- Protected Attributes inherited from TObject
 kOnlyPrepStep
 

Constructor & Destructor Documentation

◆ KVINDRAGeneDataSelector()

KVINDRAGeneDataSelector::KVINDRAGeneDataSelector ( TTree = 0)
inline

Definition at line 62 of file KVINDRAGeneDataSelector.h.

◆ ~KVINDRAGeneDataSelector()

virtual KVINDRAGeneDataSelector::~KVINDRAGeneDataSelector ( )
inlinevirtual

Definition at line 66 of file KVINDRAGeneDataSelector.h.

Member Function Documentation

◆ Analysis()

virtual Bool_t KVINDRAGeneDataSelector::Analysis ( )
inlinevirtual

Definition at line 106 of file KVINDRAGeneDataSelector.h.

◆ AtEndOfRun()

Bool_t KVINDRAGeneDataSelector::AtEndOfRun ( void  )
virtual

Check whether the end of run is reached for the current tree

Definition at line 147 of file KVINDRAGeneDataSelector.cpp.

◆ Begin()

void KVINDRAGeneDataSelector::Begin ( TTree tree)
virtual

The Begin() function is called at the start of the query. When running with PROOF Begin() is only called on the client. The tree argument is deprecated (on PROOF 0 is passed).

Reimplemented from TSelector.

Definition at line 18 of file KVINDRAGeneDataSelector.cpp.

◆ EndAnalysis()

virtual void KVINDRAGeneDataSelector::EndAnalysis ( )
inlinevirtual

Definition at line 113 of file KVINDRAGeneDataSelector.h.

◆ EndRun()

virtual void KVINDRAGeneDataSelector::EndRun ( )
inlinevirtual

Definition at line 110 of file KVINDRAGeneDataSelector.h.

◆ GetEntry()

virtual Int_t KVINDRAGeneDataSelector::GetEntry ( Long64_t  entry,
Int_t  getall = 0 
)
inlinevirtual

Reimplemented from TSelector.

Definition at line 78 of file KVINDRAGeneDataSelector.h.

◆ GetOutputList()

virtual TList * KVINDRAGeneDataSelector::GetOutputList ( ) const
inlinevirtual

Reimplemented from TSelector.

Definition at line 94 of file KVINDRAGeneDataSelector.h.

◆ Init()

virtual void KVINDRAGeneDataSelector::Init ( TTree tree)
virtual

Reimplemented from TSelector.

◆ InitAnalysis()

virtual void KVINDRAGeneDataSelector::InitAnalysis ( )
inlinevirtual

Definition at line 100 of file KVINDRAGeneDataSelector.h.

◆ InitRun()

virtual void KVINDRAGeneDataSelector::InitRun ( )
inlinevirtual

Definition at line 103 of file KVINDRAGeneDataSelector.h.

◆ Make()

void KVINDRAGeneDataSelector::Make ( const Char_t kvsname)
static

Automatic generation of derived class for gene data analysis.

Definition at line 164 of file KVINDRAGeneDataSelector.cpp.

◆ Notify()

virtual Bool_t KVINDRAGeneDataSelector::Notify ( )
virtual

Reimplemented from TObject.

◆ Process()

Bool_t KVINDRAGeneDataSelector::Process ( Long64_t  entry)
virtual

The Process() function is called for each entry in the tree (or possibly keyed object in the case of PROOF) to be processed. The entry argument specifies which entry in the currently loaded tree is to be processed. It can be passed to either KVINDRAGeneDataSelector::GetEntry() or TBranch::GetEntry() to read either all or the required parts of the data. When processing keyed objects with PROOF, the object is already loaded and is available via the fObject pointer.

This function should contain the "body" of the analysis. It can contain simple or elaborate selection criteria, run algorithms on the data of the event and typically fill histograms.

The processing can be stopped by calling Abort().

Use fStatus to set the return value of TTree::Process().

The return value is currently not used.

Reimplemented from TSelector.

Definition at line 68 of file KVINDRAGeneDataSelector.cpp.

◆ SetBranchAddresses()

void KVINDRAGeneDataSelector::SetBranchAddresses ( )

◆ SetInputList()

virtual void KVINDRAGeneDataSelector::SetInputList ( TList input)
inlinevirtual

Reimplemented from TSelector.

Definition at line 90 of file KVINDRAGeneDataSelector.h.

◆ SetObject()

virtual void KVINDRAGeneDataSelector::SetObject ( TObject obj)
inlinevirtual

Reimplemented from TSelector.

Definition at line 86 of file KVINDRAGeneDataSelector.h.

◆ SetOption()

virtual void KVINDRAGeneDataSelector::SetOption ( const char *  option)
inlinevirtual

Reimplemented from TSelector.

Definition at line 82 of file KVINDRAGeneDataSelector.h.

◆ SlaveBegin()

void KVINDRAGeneDataSelector::SlaveBegin ( TTree tree)
virtual

The SlaveBegin() function is called after the Begin() function. When running with PROOF SlaveBegin() is called on each slave server. The tree argument is deprecated (on PROOF 0 is passed).

Reimplemented from TSelector.

Definition at line 37 of file KVINDRAGeneDataSelector.cpp.

◆ SlaveTerminate()

void KVINDRAGeneDataSelector::SlaveTerminate ( )
virtual

The SlaveTerminate() function is called after all entries or objects have been processed. When running with PROOF SlaveTerminate() is called on each slave server.

Reimplemented from TSelector.

Definition at line 111 of file KVINDRAGeneDataSelector.cpp.

◆ Terminate()

void KVINDRAGeneDataSelector::Terminate ( )
virtual

The Terminate() function is the last function to be called during a query. It always runs on the client, it can be used to present the results graphically or save the results to file.

Reimplemented from TSelector.

Definition at line 126 of file KVINDRAGeneDataSelector.cpp.

◆ Version()

virtual Int_t KVINDRAGeneDataSelector::Version ( ) const
inlinevirtual

Reimplemented from TSelector.

Definition at line 69 of file KVINDRAGeneDataSelector.h.

Member Data Documentation

◆ b_EventNumber

TBranch* KVINDRAGeneDataSelector::b_EventNumber
private

Definition at line 55 of file KVINDRAGeneDataSelector.h.

◆ b_RunNumber

TBranch* KVINDRAGeneDataSelector::b_RunNumber
private

List of branches.

Definition at line 54 of file KVINDRAGeneDataSelector.h.

◆ b_TriggerInfo

TBranch* KVINDRAGeneDataSelector::b_TriggerInfo
private

Definition at line 56 of file KVINDRAGeneDataSelector.h.

◆ EventNumber

Int_t KVINDRAGeneDataSelector::EventNumber
private

Definition at line 50 of file KVINDRAGeneDataSelector.h.

◆ fChain

TTree* KVINDRAGeneDataSelector::fChain
private

pointer to the analyzed TTree or TChain

Definition at line 46 of file KVINDRAGeneDataSelector.h.

◆ fTreeEntry

Long64_t KVINDRAGeneDataSelector::fTreeEntry
private

this is the current TTree entry number, i.e. the argument passed to TSelector::Process(Long64_t entry)

Definition at line 58 of file KVINDRAGeneDataSelector.h.

◆ needToCallEndRun

Bool_t KVINDRAGeneDataSelector::needToCallEndRun
private

tells if one needs to call EndRun

Definition at line 59 of file KVINDRAGeneDataSelector.h.

◆ RunNumber

Int_t KVINDRAGeneDataSelector::RunNumber
private

Declaration of leave types.

Definition at line 49 of file KVINDRAGeneDataSelector.h.

◆ TriggerInfo

KVINDRATriggerInfo* KVINDRAGeneDataSelector::TriggerInfo
private

Definition at line 51 of file KVINDRAGeneDataSelector.h.