ROOT logo
AliRoot » STEER » ESD » AliESDInputHandler

class AliESDInputHandler: public AliInputEventHandler

     Event handler for ESD input
     Author: Andreas Morsch, CERN

Function Members (Methods)

public:
AliESDInputHandler()
AliESDInputHandler(const char* name, const char* title)
virtual~AliESDInputHandler()
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()
voidCheckSelectionMask()
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 isMC = 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
Bool_tGetCutSummaryForChain(Int_t* aTotal, Int_t* aAccepted, Int_t* aRejected)
virtual Option_t*GetDataType() const
virtual Option_t*TObject::GetDrawOption() const
static Long_tTObject::GetDtorOnly()
virtual Bool_tAliInputEventHandler::GetEntry()
AliESDfriend*GetESDfriend() const
AliESDpid*GetESDpid() const
virtual AliESDEvent*GetEvent() const
virtual AliVCuts*AliInputEventHandler::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
const char*GetFriendFileName() const
AliESDEvent*GetHLTEvent() const
TTree*GetHLTTree() const
virtual const char*TObject::GetIconName() const
virtual const char*AliInputEventHandler::GetInputFileName() const
virtual const char*TNamed::GetName() const
Int_tGetNEventAcceptedInFile()
Int_tGetNEventRejectedInFile()
Int_tGetNFilesEmpty()
virtual char*TObject::GetObjectInfo(Int_t px, Int_t py) const
static Bool_tTObject::GetObjectStat()
virtual Option_t*TObject::GetOption() const
virtual const char*AliInputEventHandler::GetOutputFileName() const
virtual AliPIDResponse*GetPIDResponse()
virtual Long64_tAliInputEventHandler::GetReadEntry() const
Bool_tGetReadFriends() const
Bool_tGetReadHLT() const
virtual AliRunTag*GetRunTag() const
virtual TObject*GetStatistics(Option_t* option = "") const
virtual const char*TNamed::GetTitle() const
virtual TTree*AliInputEventHandler::GetTree() const
virtual UInt_tTObject::GetUniqueID() const
virtual TList*AliInputEventHandler::GetUserInfo() const
virtual AliVfriendEvent*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_tAliInputEventHandler::IsCheckStatistics() const
virtual Bool_tTObject::IsEqual(const TObject* obj) const
virtual UInt_tAliInputEventHandler::IsEventSelected()
virtual Bool_tTObject::IsFolder() const
Bool_tAliVEventHandler::IsLocked() const
Bool_tTObject::IsOnHeap() const
virtual Bool_tTNamed::IsSortable() const
virtual Bool_tAliInputEventHandler::IsUserCallSelectionMask() const
Bool_tTObject::IsZombie() const
voidAliVEventHandler::Lock()
virtual voidTNamed::ls(Option_t* option = "") const
voidTObject::MayNotUse(const char* method) const
virtual AliMCEvent*AliInputEventHandler::MCEvent() const
AliInputEventHandler*AliInputEventHandler::MixingHandler()
virtual Bool_tAliInputEventHandler::NeedField() const
virtual Bool_tAliInputEventHandler::NewEvent()
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*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 = "")
voidAliInputEventHandler::SetActiveBranches(const char* branches)
voidTObject::SetBit(UInt_t f)
voidTObject::SetBit(UInt_t f, Bool_t set)
virtual voidAliVEventHandler::SetCacheSize(Long64_t)
virtual voidAliInputEventHandler::SetCheckStatistics(Bool_t flag = kTRUE)
virtual voidTObject::SetDrawOption(Option_t* option = "")MENU
static voidTObject::SetDtorOnly(void* obj)
voidSetESDpid(AliESDpid* pid)
virtual voidAliInputEventHandler::SetEventSelection(AliVCuts* cuts)
virtual voidAliVEventHandler::SetFillAOD(Bool_t)
virtual voidAliVEventHandler::SetFillExtension(Bool_t)
voidSetFriendFileName(const char* fname)
voidAliInputEventHandler::SetInactiveBranches(const char* branches)
virtual voidAliInputEventHandler::SetInputFileName(const char* fname)
virtual voidAliInputEventHandler::SetInputTree(TTree* tree)
voidAliInputEventHandler::SetMixingHandler(AliInputEventHandler* mixing)
virtual voidTNamed::SetName(const char* name)MENU
virtual voidTNamed::SetNameTitle(const char* name, const char* title)
virtual voidAliInputEventHandler::SetNeedField(Bool_t flag = kTRUE)
static voidTObject::SetObjectStat(Bool_t stat)
virtual voidAliInputEventHandler::SetOutputFileName(const char*)
voidAliInputEventHandler::SetParentHandler(AliInputEventHandler* parent)
voidSetReadFriends(Bool_t flag)
voidSetReadHLT()
voidSetReadTags()
virtual voidTNamed::SetTitle(const char* title = "")MENU
virtual voidTObject::SetUniqueID(UInt_t uid)
virtual voidAliInputEventHandler::SetUserCallSelectionMask(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_tAliInputEventHandler::Terminate()
virtual Bool_tAliInputEventHandler::TerminateIO()
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()
voidAliInputEventHandler::SwitchOffBranches() const
voidAliInputEventHandler::SwitchOnBranches() const

Data Members

public:
enum AliInputEventHandler::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:
Option_t*fAnalysisType! local, proof, grid
TStringAliInputEventHandler::fBranchesList of branches to be switched off (separated by space)
TStringAliInputEventHandler::fBranchesOnList of branches to be switched on (separated by space)
TChain*fChainT! File with event tags
AliESDpid*fESDpid! Pointer to PID information
AliESDEvent*fEvent! Pointer to the event
AliVCuts*AliInputEventHandler::fEventCutsCuts on the event level
const AliEventTag*fEventTag! Current event tag
AliESDfriend*fFriend! Pointer to the esd friend
TStringfFriendFileNameName of the file containing the frien tree (branch)
AliESDEvent*fHLTEvent! Pointer to the HLT Event (if present)
TTree*fHLTTree! Pointer to the HLT Event (if present)
TStringAliInputEventHandler::fInputFileNameName of the input file
UInt_tAliInputEventHandler::fIsSelectedResultSelection result
AliInputEventHandler*AliInputEventHandler::fMixingHandlerOptionla plugin for mixing
Int_tfNEvents! Number of events in the current tree
TStringTNamed::fNameobject identifier
Bool_tAliInputEventHandler::fNewEventNew event flag
AliInputEventHandler*AliInputEventHandler::fParentHandleroptional pointer to parent handlers (used in AliMultiInputEventHandler)
Bool_tfReadFriendsFlag for friends reading
AliRunTag*fRunTag! Pointer to the run tag
TMap*fTagCutSumm! Tag cut summary map
TStringTNamed::fTitleobject title
TTree*AliInputEventHandler::fTree! Pointer to the tree
TTree*fTreeT! Tree of tags
Bool_tfUseHLTFlag to access HLT Events
Bool_tfUseTagsFlag to use tags
TList*AliInputEventHandler::fUserInfo! transient user info for current tree

Class Charts

Inheritance Chart:
TNamed
AliVEventHandler
AliInputEventHandler
AliESDInputHandler
AliESDInputHandlerRP
AliRecoInputHandler

Function documentation

AliESDInputHandler()
 default constructor
~AliESDInputHandler()
  destructor
AliESDInputHandler(const char* name, const char* title)
 Constructor
Bool_t Init(TTree* tree, Option_t* opt)
 Initialisation necessary for each new tree

Bool_t BeginEvent(Long64_t entry)
void CheckSelectionMask()
 This method can be called by a task only if IsUserCallSelectionMask is true.
void ConnectFriends()
 Connect the friends tree as soon as available.

 Handle the friends first

Bool_t FinishEvent()
 Finish the event
Bool_t Notify(const char* path)
 Notify a directory change
Option_t * GetDataType() const
 Returns handled data type.
Int_t GetNEventAcceptedInFile()
 Get number of events in file accepted by the tag cuts
 return -1 if no info is available
Int_t GetNEventRejectedInFile()
 Get number of events in file rejected by the tag cuts
 return -1 if no info is available
Bool_t GetCutSummaryForChain(Int_t* aTotal, Int_t* aAccepted, Int_t* aRejected)
 Get number of events in the full chain
 Count accepted and rejected events
 return kFALSE if no info is available
Int_t GetNFilesEmpty()
 Count number of files in which all events were de-selected
 For such files Notify() will NOT be called
 return -1 if no info is available
TObject * GetStatistics(Option_t* option = "") const
 Get the statistics histogram(s) from the physics selection object. This
 should be called during FinishTaskOutput(). Option can be empty (default
 statistics histogram) or BIN0.
void CreatePIDResponse(Bool_t isMC = kFALSE)
 create the pid response object if it does not exist yet

AliESDInputHandler()
Bool_t Init(Option_t* opt)
{return AliInputEventHandler::Init(opt);}
Bool_t Notify()
AliESDEvent * GetEvent() const
{return fEvent;}
Option_t * GetAnalysisType() const
{return fAnalysisType;}
AliESDEvent * GetHLTEvent() const
 HLT  analysis
{return fHLTEvent;}
TTree * GetHLTTree() const
{return fHLTTree;}
void SetReadHLT()
Bool_t GetReadHLT() const
 Friends&Co
{return fUseHLT;}
AliESDfriend * GetESDfriend() const
{return fFriend;}
void SetReadFriends(Bool_t flag)
{Changed(); fReadFriends = flag;}
Bool_t GetReadFriends() const
{return fReadFriends;}
void SetFriendFileName(const char* fname)
{Changed(); fFriendFileName = fname;}
const char * GetFriendFileName() const
 Tag analysis
{return fFriendFileName;}
void SetReadTags()
AliRunTag * GetRunTag() const
{return fRunTag;}
const AliEventTag * GetEventTag() const
 Get the statistics object (currently TH2). Option can be BIN0.
{return fEventTag;}
AliPIDResponse* GetPIDResponse()
PID response
AliESDpid * GetESDpid() const
{return fESDpid;}
void SetESDpid(AliESDpid* pid)
{Changed(); fESDpid = pid;}
AliVfriendEvent* GetVfriendEvent() const
HLT
{return fFriend;}
AliESDInputHandler& operator=(const AliESDInputHandler& handler)