![]() |
AliPhysics
e9ca8a5 (e9ca8a5)
|
#include <AliMCAuxHandler.h>
Public Member Functions | |
AliMCAuxHandler (const char *name="FMD", const char *clsName="AliFMDHit", AliMCEventHandler *parent=0) | |
virtual | ~AliMCAuxHandler () |
AliMCEventHandler * | GetParent () |
virtual TTree * | GetTree () const |
TClonesArray * | GetArray () const |
Int_t | GetNEntry () const |
TClonesArray * | GetEntryArray (Int_t entry) |
Interface member functions | |
virtual Bool_t | Init (TTree *t, Option_t *o) |
virtual Bool_t | Init (Option_t *opt) |
virtual Bool_t | BeginEvent (Long64_t entry) |
virtual Bool_t | Notify () |
virtual Bool_t | Notify (const char *path) |
virtual Bool_t | FinishEvent () |
virtual Bool_t | Terminate () |
virtual Bool_t | TerminateIO () |
virtual void | ResetIO () |
virtual Bool_t | LoadEvent (Int_t iev) |
virtual void | SetNumberOfEventsInContainer (Int_t nev) |
virtual Bool_t | OpenFile (Int_t ev) |
Static Public Member Functions | |
static AliMCAuxHandler * | Create (const char *name="FMD", const char *what="Hits") |
static TClonesArray * | GetParticleArray (AliMCAuxHandler *handler, Int_t particle) |
Protected Member Functions | |
AliMCAuxHandler (const AliMCAuxHandler &o) | |
AliMCAuxHandler & | operator= (const AliMCAuxHandler &o) |
TString * | GetParentPath () const |
ClassDef (AliMCAuxHandler, 1) | |
Protected Attributes | |
AliMCEventHandler * | fParent |
TFile * | fFile |
TTree * | fTree |
TDirectory * | fDir |
TClonesArray * | fArray |
Int_t | fNEvents |
Int_t | fNEventsPerFile |
Int_t | fNEventsInContainer |
Int_t | fEvent |
Int_t | fFileNumber |
TString | fTreeName |
TString | fFileBase |
This class defines an input handler for simulated data which will connect the FMD Hit tree. It is intended to be added to the global MC input handler using AliMCEventHandler::AddSubsidiaryHandler
Definition at line 22 of file AliMCAuxHandler.h.
AliMCAuxHandler::AliMCAuxHandler | ( | const char * | name = "FMD" , |
const char * | clsName = "AliFMDHit" , |
||
AliMCEventHandler * | parent = 0 |
||
) |
|
inlinevirtual |
Destructor
Definition at line 36 of file AliMCAuxHandler.h.
|
inlineprotected |
Called at the beginning of an event
entry | Entry in tree |
Definition at line 121 of file AliMCAuxHandler.cxx.
|
protected |
|
static |
Static member function to create and attach this handler
name | Name of the handler |
what | What to get |
Definition at line 315 of file AliMCAuxHandler.cxx.
Referenced by AliFMDMCHitEnergyFitterTask::Book().
|
virtual |
Called at the end of an event
Definition at line 173 of file AliMCAuxHandler.cxx.
|
inline |
Get array of hits
Definition at line 145 of file AliMCAuxHandler.h.
Referenced by GetParticleArray().
TClonesArray * AliMCAuxHandler::GetEntryArray | ( | Int_t | entry | ) |
Get array of track-refs for an entry
entry | Entry number |
Definition at line 296 of file AliMCAuxHandler.cxx.
Referenced by AliFMDMCHitEnergyFitter::Event().
Int_t AliMCAuxHandler::GetNEntry | ( | ) | const |
Get the number of entries
Definition at line 288 of file AliMCAuxHandler.cxx.
Referenced by AliFMDMCHitEnergyFitter::Event().
|
inline |
Get the parent handler
Definition at line 133 of file AliMCAuxHandler.h.
Referenced by GetParticleArray().
|
protected |
Get the parent path
Definition at line 43 of file AliMCAuxHandler.cxx.
Referenced by OpenFile(), and ResetIO().
|
static |
Static member function to get the kinamtics array
handler | Unput handler |
particle | Particle number |
Definition at line 345 of file AliMCAuxHandler.cxx.
|
inlinevirtual |
Get the tree
Definition at line 139 of file AliMCAuxHandler.h.
Referenced by GetParticleArray().
Intialize
t | Not used |
o | Not used |
Definition at line 49 of file AliMCAuxHandler.h.
Initialize the input
opt | Options |
Definition at line 54 of file AliMCAuxHandler.cxx.
Load an event
iev | Event number |
Definition at line 251 of file AliMCAuxHandler.cxx.
Referenced by BeginEvent().
|
inlinevirtual |
Called when the input file is changed
Definition at line 71 of file AliMCAuxHandler.h.
|
virtual |
Called when the input file is changed
path | New path |
Definition at line 160 of file AliMCAuxHandler.cxx.
Open a file
ev | event number |
Definition at line 222 of file AliMCAuxHandler.cxx.
Referenced by Init(), and LoadEvent().
|
inlineprotected |
Assignment operator
o | Object to assign from |
Definition at line 208 of file AliMCAuxHandler.h.
|
virtual |
Reset the I/O
Definition at line 204 of file AliMCAuxHandler.cxx.
|
inlinevirtual |
Set the number of events in the container
nev | Number of events |
Definition at line 116 of file AliMCAuxHandler.h.
|
virtual |
Called at the end of a job
Definition at line 183 of file AliMCAuxHandler.cxx.
|
virtual |
Called at the end of a sub-job
Definition at line 193 of file AliMCAuxHandler.cxx.
|
protected |
Definition at line 227 of file AliMCAuxHandler.h.
Referenced by GetArray(), GetEntryArray(), Init(), and LoadEvent().
|
protected |
Definition at line 226 of file AliMCAuxHandler.h.
Referenced by LoadEvent().
|
protected |
Definition at line 231 of file AliMCAuxHandler.h.
Referenced by BeginEvent(), and Init().
|
protected |
Definition at line 224 of file AliMCAuxHandler.h.
Referenced by LoadEvent(), OpenFile(), operator=(), and ResetIO().
|
protected |
Definition at line 234 of file AliMCAuxHandler.h.
Referenced by Init(), and OpenFile().
|
protected |
Definition at line 232 of file AliMCAuxHandler.h.
Referenced by Init(), and LoadEvent().
|
protected |
Definition at line 228 of file AliMCAuxHandler.h.
Referenced by BeginEvent(), and Init().
|
protected |
Definition at line 230 of file AliMCAuxHandler.h.
Referenced by SetNumberOfEventsInContainer().
|
protected |
Definition at line 229 of file AliMCAuxHandler.h.
Referenced by BeginEvent(), Init(), and LoadEvent().
|
protected |
Definition at line 223 of file AliMCAuxHandler.h.
Referenced by BeginEvent(), GetParent(), GetParentPath(), Init(), and operator=().
|
protected |
Definition at line 225 of file AliMCAuxHandler.h.
Referenced by GetEntryArray(), GetNEntry(), GetTree(), LoadEvent(), and operator=().
|
protected |
Definition at line 233 of file AliMCAuxHandler.h.
Referenced by Init(), and LoadEvent().