ROOT logo
AliRoot » STEER » STEERBASE » AliInputEventHandler

class AliInputEventHandler: public AliVEventHandler

     Event handler for event input
     Author: Andreas Morsch, CERN

Function Members (Methods)

public:
AliInputEventHandler()
AliInputEventHandler(const char* name, const char* title)
virtual~AliInputEventHandler()
voidTObject::AbstractMethod(const char* method) const
virtual voidTObject::AppendPad(Option_t* option = "")
virtual Bool_tBeginEvent(Long64_t entry)
virtual voidTObject::Browse(TBrowser* b)
voidAliVEventHandler::Changed()
static TClass*Class()
virtual const char*TObject::ClassName() const
virtual voidTNamed::Clear(Option_t* option = "")
virtual TObject*TNamed::Clone(const char* newname = "") const
virtual Int_tTNamed::Compare(const TObject* obj) const
virtual voidTNamed::Copy(TObject& named) const
virtual voidCreatePIDResponse(Bool_t = kFALSE)
virtual voidTObject::Delete(Option_t* option = "")MENU
virtual Int_tTObject::DistancetoPrimitive(Int_t px, Int_t py)
virtual voidTObject::Draw(Option_t* option = "")
virtual voidTObject::DrawClass() constMENU
virtual TObject*TObject::DrawClone(Option_t* option = "") constMENU
virtual voidTObject::Dump() constMENU
virtual voidTObject::Error(const char* method, const char* msgfmt) const
virtual voidTObject::Execute(const char* method, const char* params, Int_t* error = 0)
virtual voidTObject::Execute(TMethod* method, TObjArray* params, Int_t* error = 0)
virtual voidTObject::ExecuteEvent(Int_t event, Int_t px, Int_t py)
virtual voidTObject::Fatal(const char* method, const char* msgfmt) const
virtual voidTNamed::FillBuffer(char*& buffer)
virtual TObject*TObject::FindObject(const char* name) const
virtual TObject*TObject::FindObject(const TObject* obj) const
virtual Bool_tFinishEvent()
virtual Option_t*GetAnalysisType() const
virtual Option_t*AliVEventHandler::GetDataType() const
virtual Option_t*TObject::GetDrawOption() const
static Long_tTObject::GetDtorOnly()
virtual Bool_tGetEntry()
virtual AliVEvent*GetEvent() const
virtual AliVCuts*GetEventSelection() const
virtual const AliEventTag*GetEventTag() const
virtual const char*AliVEventHandler::GetExtraOutputs(Bool_t merge = kFALSE) const
virtual Bool_tAliVEventHandler::GetFillAOD() const
virtual Bool_tAliVEventHandler::GetFillExtension() const
virtual const char*TObject::GetIconName() const
virtual const char*GetInputFileName() const
virtual const char*TNamed::GetName() const
virtual char*TObject::GetObjectInfo(Int_t px, Int_t py) const
static Bool_tTObject::GetObjectStat()
virtual Option_t*TObject::GetOption() const
virtual const char*GetOutputFileName() const
virtual AliPIDResponse*GetPIDResponse()
virtual Long64_tGetReadEntry() const
virtual AliRunTag*GetRunTag() const
virtual TObject*GetStatistics(Option_t* option = "") const
virtual const char*TNamed::GetTitle() const
virtual TTree*GetTree() const
virtual UInt_tTObject::GetUniqueID() const
virtual TList*GetUserInfo() const
virtual AliVfriendEvent*AliVEventHandler::GetVfriendEvent() const
virtual Bool_tTObject::HandleTimer(TTimer* timer)
virtual ULong_tTNamed::Hash() const
virtual voidTObject::Info(const char* method, const char* msgfmt) const
virtual Bool_tTObject::InheritsFrom(const char* classname) const
virtual Bool_tTObject::InheritsFrom(const TClass* cl) const
virtual Bool_tInit(Option_t* opt)
virtual Bool_tInit(TTree* tree, Option_t* opt)
virtual Bool_tAliVEventHandler::InitTaskInputData(AliVEvent*, AliVfriendEvent*, TObjArray*)
virtual voidTObject::Inspect() constMENU
voidTObject::InvertBit(UInt_t f)
virtual TClass*IsA() const
virtual Bool_tIsCheckStatistics() const
virtual Bool_tTObject::IsEqual(const TObject* obj) const
virtual UInt_tIsEventSelected()
virtual Bool_tTObject::IsFolder() const
Bool_tAliVEventHandler::IsLocked() const
Bool_tTObject::IsOnHeap() const
virtual Bool_tTNamed::IsSortable() const
virtual Bool_tIsUserCallSelectionMask() const
Bool_tTObject::IsZombie() const
voidAliVEventHandler::Lock()
virtual voidTNamed::ls(Option_t* option = "") const
voidTObject::MayNotUse(const char* method) const
virtual AliMCEvent*MCEvent() const
AliInputEventHandler*MixingHandler()
virtual Bool_tNeedField() const
virtual Bool_tNewEvent()
virtual Bool_tNotify()
virtual Bool_tNotify(const char* path)
voidTObject::Obsolete(const char* method, const char* asOfVers, const char* removedFromVers) const
static voidTObject::operator delete(void* ptr)
static voidTObject::operator delete(void* ptr, void* vp)
static voidTObject::operator delete[](void* ptr)
static voidTObject::operator delete[](void* ptr, void* vp)
void*TObject::operator new(size_t sz)
void*TObject::operator new(size_t sz, void* vp)
void*TObject::operator new[](size_t sz)
void*TObject::operator new[](size_t sz, void* vp)
virtual voidTObject::Paint(Option_t* option = "")
AliInputEventHandler*ParentHandler()
virtual voidTObject::Pop()
virtual voidTNamed::Print(Option_t* option = "") const
virtual Int_tTObject::Read(const char* name)
virtual voidTObject::RecursiveRemove(TObject* obj)
voidTObject::ResetBit(UInt_t f)
virtual voidTObject::SaveAs(const char* filename = "", Option_t* option = "") constMENU
virtual voidTObject::SavePrimitive(basic_ostream<char,char_traits<char> >& out, Option_t* option = "")
voidSetActiveBranches(const char* branches)
voidTObject::SetBit(UInt_t f)
voidTObject::SetBit(UInt_t f, Bool_t set)
virtual voidAliVEventHandler::SetCacheSize(Long64_t)
virtual voidSetCheckStatistics(Bool_t flag = kTRUE)
virtual voidTObject::SetDrawOption(Option_t* option = "")MENU
static voidTObject::SetDtorOnly(void* obj)
virtual voidSetEventSelection(AliVCuts* cuts)
virtual voidAliVEventHandler::SetFillAOD(Bool_t)
virtual voidAliVEventHandler::SetFillExtension(Bool_t)
voidSetInactiveBranches(const char* branches)
virtual voidSetInputFileName(const char* fname)
virtual voidSetInputTree(TTree* tree)
voidSetMixingHandler(AliInputEventHandler* mixing)
virtual voidTNamed::SetName(const char* name)MENU
virtual voidTNamed::SetNameTitle(const char* name, const char* title)
virtual voidSetNeedField(Bool_t flag = kTRUE)
static voidTObject::SetObjectStat(Bool_t stat)
virtual voidSetOutputFileName(const char*)
voidSetParentHandler(AliInputEventHandler* parent)
virtual voidTNamed::SetTitle(const char* title = "")MENU
virtual voidTObject::SetUniqueID(UInt_t uid)
virtual voidSetUserCallSelectionMask(Bool_t flag = kTRUE)
virtual voidShowMembers(TMemberInspector&)
virtual Int_tTNamed::Sizeof() const
virtual voidStreamer(TBuffer&)
voidStreamerNVirtual(TBuffer& ClassDef_StreamerNVirtual_b)
virtual voidTObject::SysError(const char* method, const char* msgfmt) const
virtual Bool_tTerminate()
virtual Bool_tTerminateIO()
Bool_tTObject::TestBit(UInt_t f) const
Int_tTObject::TestBits(UInt_t f) const
voidAliVEventHandler::UnLock()
virtual voidTObject::UseCurrentStyle()
virtual voidTObject::Warning(const char* method, const char* msgfmt) const
virtual Int_tTObject::Write(const char* name = 0, Int_t option = 0, Int_t bufsize = 0)
virtual Int_tTObject::Write(const char* name = 0, Int_t option = 0, Int_t bufsize = 0) const
protected:
virtual voidTObject::DoError(int level, const char* location, const char* fmt, va_list va) const
voidTObject::MakeZombie()
voidSwitchOffBranches() const
voidSwitchOnBranches() const

Data Members

public:
enum EInputHandlerFlags { kUserCallSelectionMask
kCheckStatistics
kNeedField
};
enum AliVEventHandler::EEventHandlerFlags { kHandlerLocked
};
enum TObject::EStatusBits { kCanDelete
kMustCleanup
kObjInCanvas
kIsReferenced
kHasUUID
kCannotPick
kNoContextMenu
kInvalidObject
};
enum TObject::[unnamed] { kIsOnHeap
kNotDeleted
kZombie
kBitMask
kSingleKey
kOverwrite
kWriteDelete
};
protected:
TStringfBranchesList of branches to be switched off (separated by space)
TStringfBranchesOnList of branches to be switched on (separated by space)
AliVCuts*fEventCutsCuts on the event level
TStringfInputFileNameName of the input file
UInt_tfIsSelectedResultSelection result
AliInputEventHandler*fMixingHandlerOptionla plugin for mixing
TStringTNamed::fNameobject identifier
Bool_tfNewEventNew event flag
AliInputEventHandler*fParentHandleroptional pointer to parent handlers (used in AliMultiInputEventHandler)
TStringTNamed::fTitleobject title
TTree*fTree! Pointer to the tree
TList*fUserInfo! transient user info for current tree

Class Charts

Inheritance Chart:
TNamed
AliVEventHandler
AliInputEventHandler
AliAODInputHandler
AliDummyHandler
AliESDInputHandler
AliESDInputHandlerRP
AliRecoInputHandler
AliMCEventHandler
AliMCAuxHandler
AliMCGenHandler
AliMultiEventInputHandler
AliMultiInputEventHandler
 [more...]

Function documentation

AliInputEventHandler()
 default constructor
~AliInputEventHandler()
 destructor
AliInputEventHandler(const char* name, const char* title)
 Named constructor.
void SwitchOffBranches() const
 Switch of branches on user request
void SwitchOnBranches() const
 Switch of branches on user request
TObject * GetStatistics(Option_t* option = "") const
 Returns the statistics object(s) (TH2F histogram) produced by the physics
 selection. Implementations both for ESD and AOD input handlers.
Long64_t GetReadEntry() const
 Get the current entry.
void SetInputFileName(const char* fname)
 Set the input file name to be analyzed. Done automatically by the manager, but
 in case this needs to be done at an earlier stage has to be done manually.
AliInputEventHandler()
const char * GetInputFileName() const
{return fInputFileName;}
void SetOutputFileName(const char* )
{;}
const char * GetOutputFileName() const
{return 0;}
Bool_t Init(Option_t* opt)
Bool_t Init(TTree* tree, Option_t* opt)
{if(fMixingHandler) fMixingHandler->Init(tree,opt);return kTRUE;}
Bool_t GetEntry()
Bool_t BeginEvent(Long64_t entry)
Bool_t NeedField() const
Bool_t Notify()
{ return AliVEventHandler::Notify();}
Bool_t Notify(const char* path)
Bool_t FinishEvent()
Bool_t Terminate()
Bool_t TerminateIO()
 Setters
void SetInputTree(TTree* tree)
{fTree = tree;}
void SetEventSelection(AliVCuts* cuts)
{if (fEventCuts) Changed(); fEventCuts = cuts;}
void SetUserCallSelectionMask(Bool_t flag = kTRUE)
void SetCheckStatistics(Bool_t flag = kTRUE)
void SetNeedField(Bool_t flag = kTRUE)
void SetInactiveBranches(const char* branches)
{Changed(); fBranches = branches;}
void SetActiveBranches(const char* branches)
 Getters
{Changed(); fBranchesOn = branches;}
AliVEvent * GetEvent() const
{return 0;}
const AliEventTag * GetEventTag() const
{return 0;}
AliRunTag * GetRunTag() const
 Get the statistics object (currently TH2). Option can be BIN0.
{return 0;}
Option_t * GetAnalysisType() const
{return 0;}
TTree * GetTree() const
{return fTree;}
AliVCuts * GetEventSelection() const
{return fEventCuts;}
Bool_t IsCheckStatistics() const
Bool_t IsUserCallSelectionMask() const
Bool_t NewEvent()
{Bool_t ne = fNewEvent; fNewEvent = kFALSE; return ne;}
UInt_t IsEventSelected()
TList * GetUserInfo() const
 Mixing
{return fUserInfo;}
void SetMixingHandler(AliInputEventHandler* mixing)
{Changed(); fMixingHandler = mixing;}
AliInputEventHandler* MixingHandler()
 Parent Handler
{return fMixingHandler;}
void SetParentHandler(AliInputEventHandler* parent)
{Changed(); fParentHandler = parent;}
AliInputEventHandler* ParentHandler()
{return fParentHandler;}
AliPIDResponse* GetPIDResponse()
PID response
{return 0x0;}
void CreatePIDResponse(Bool_t = kFALSE)
{;}
AliInputEventHandler& operator=(const AliInputEventHandler& handler)