![]() |
AliRoot Core
3dc7879 (3dc7879)
|
AOD Input Handler realisation of the AliVEventHandler interface. More...
#include <AliAODInputHandler.h>
Public Member Functions | |
AliAODInputHandler () | |
AliAODInputHandler (const char *name, const char *title) | |
virtual | ~AliAODInputHandler () |
virtual Bool_t | Init (Option_t *) |
virtual Bool_t | Init (TTree *tree, Option_t *opt) |
AliAODEvent * | GetEvent () const |
AliMCEvent * | MCEvent () const |
virtual void | AddFriend (char *filename) |
virtual Bool_t | BeginEvent (Long64_t entry) |
virtual Bool_t | Notify () |
virtual Bool_t | Notify (const char *path) |
virtual Bool_t | FinishEvent () |
Option_t * | GetDataType () const |
virtual TObject * | GetStatistics (Option_t *option="") const |
void | SetMergeEvents (Bool_t flag) |
Bool_t | GetMergeEvents () const |
AliAODEvent * | GetEventToMerge () |
TTree * | GetTreeToMerge () const |
void | SetMergeOffset (Int_t ioff) |
Int_t | GetMergeOffset () const |
void | SetMergeTracks (Bool_t flag) |
Bool_t | GetMergeTracks () const |
void | SetMergeEMCALClusters (Bool_t flag) |
Bool_t | GetMergeEMCALClusters () const |
void | SetMergeEMCALCells (Bool_t flag) |
Bool_t | GetMergeEMCALCells () const |
void | SetMergePHOSClusters (Bool_t flag) |
Bool_t | GetMergePHOSClusters () const |
void | SetMergePHOSCells (Bool_t flag) |
Bool_t | GetMergePHOSCells () const |
void | SetMergeEMCALTrigger (Bool_t flag) |
Bool_t | GetMergeEMCALTrigger () const |
void | SetMergePHOSTrigger (Bool_t flag) |
Bool_t | GetMergePHOSTrigger () const |
void | SetMergeHMPIDrings (Bool_t flag) |
Bool_t | GetMergeHMPIDrings () const |
virtual AliPIDResponse * | GetPIDResponse () |
virtual void | CreatePIDResponse (Bool_t isMC=kFALSE) |
AliAODpidUtil * | GetAODpidUtil () const |
![]() | |
AliInputEventHandler () | |
AliInputEventHandler (const char *name, const char *title) | |
virtual | ~AliInputEventHandler () |
virtual void | SetInputFileName (const char *fname) |
virtual const char * | GetInputFileName () const |
virtual void | SetOutputFileName (const char *) |
virtual const char * | GetOutputFileName () const |
virtual Bool_t | GetEntry () |
virtual Bool_t | NeedField () const |
virtual Bool_t | Terminate () |
virtual Bool_t | TerminateIO () |
virtual void | SetInputTree (TTree *tree) |
virtual void | SetEventSelection (AliVCuts *cuts) |
virtual void | SetUserCallSelectionMask (Bool_t flag=kTRUE) |
virtual void | SetCheckStatistics (Bool_t flag=kTRUE) |
virtual void | SetNeedField (Bool_t flag=kTRUE) |
void | SetInactiveBranches (const char *branches) |
void | SetActiveBranches (const char *branches) |
virtual const AliEventTag * | GetEventTag () const |
virtual AliRunTag * | GetRunTag () const |
virtual Option_t * | GetAnalysisType () const |
virtual TTree * | GetTree () const |
virtual AliVCuts * | GetEventSelection () const |
virtual Long64_t | GetReadEntry () const |
virtual Bool_t | IsCheckStatistics () const |
virtual Bool_t | IsUserCallSelectionMask () const |
virtual Bool_t | NewEvent () |
virtual UInt_t | IsEventSelected () |
TList * | GetUserInfo () const |
void | SetMixingHandler (AliInputEventHandler *mixing) |
AliInputEventHandler * | MixingHandler () |
void | SetParentHandler (AliInputEventHandler *parent) |
AliInputEventHandler * | ParentHandler () |
![]() | |
AliVEventHandler () | |
AliVEventHandler (const char *name, const char *title) | |
virtual | ~AliVEventHandler () |
virtual Bool_t | GetFillAOD () const |
virtual Bool_t | GetFillExtension () const |
virtual void | SetFillAOD (Bool_t) |
virtual void | SetFillExtension (Bool_t) |
virtual const char * | GetExtraOutputs (Bool_t merge=kFALSE) const |
Bool_t | IsLocked () const |
void | Lock () |
void | UnLock () |
void | Changed () |
virtual void | SetCacheSize (Long64_t) |
virtual Bool_t | InitTaskInputData (AliVEvent *, AliVfriendEvent *, TObjArray *) |
virtual AliVfriendEvent * | GetVfriendEvent () const |
Private Member Functions | |
void | ConnectFriends () |
AliAODInputHandler (const AliAODInputHandler &handler) | |
AliAODInputHandler & | operator= (const AliAODInputHandler &handler) |
Private Attributes | |
AliAODEvent * | fEvent |
! Pointer to the event More... | |
AliMCEvent * | fMCEvent |
! Pointer to the MCEvent More... | |
TList * | fFriends |
List of friend trees. More... | |
AliAODpidUtil * | fAODpidUtil |
! Pointer to PID information More... | |
Bool_t | fMergeEvents |
Flag for event merging. More... | |
Bool_t | fMergeTracks |
Merge tracks. More... | |
Bool_t | fMergeEMCALClusters |
Merge PHOS cluster. More... | |
Bool_t | fMergePHOSClusters |
Merge EMCAL cluster. More... | |
Bool_t | fMergeEMCALCells |
Merge PHOS cluster. More... | |
Bool_t | fMergePHOSCells |
Merge EMCAL cluster. More... | |
Bool_t | fMergeEMCALTrigger |
Merge EMCAL cluster. More... | |
Bool_t | fMergePHOSTrigger |
Merge PHOS cluster. More... | |
Bool_t | fMergeHMPIDrings |
Merge HMPID rings information. More... | |
Bool_t | fFriendsConnected |
Friends are connected. More... | |
TFile * | fFileToMerge |
! File for merging More... | |
TTree * | fTreeToMerge |
! Tree for merging More... | |
AliAODEvent * | fAODEventToMerge |
! Event for merging More... | |
Int_t | fMergeOffset |
! Event offset for merging More... | |
TH2F * | fHistStatistics [2] |
! how many events are cut away why {all,bin 0} More... | |
Additional Inherited Members | |
![]() | |
enum | EInputHandlerFlags { kUserCallSelectionMask = BIT(14), kCheckStatistics = BIT(15), kNeedField = BIT(16) } |
![]() | |
enum | EEventHandlerFlags { kHandlerLocked = BIT(14) } |
![]() | |
void | SwitchOffBranches () const |
void | SwitchOnBranches () const |
![]() | |
TTree * | fTree |
TString | fBranches |
Pointer to the tree. More... | |
TString | fBranchesOn |
TString | fInputFileName |
Bool_t | fNewEvent |
AliVCuts * | fEventCuts |
UInt_t | fIsSelectedResult |
AliInputEventHandler * | fMixingHandler |
AliInputEventHandler * | fParentHandler |
TList * | fUserInfo |
AOD Input Handler realisation of the AliVEventHandler interface.
Definition at line 25 of file AliAODInputHandler.h.
AliAODInputHandler::AliAODInputHandler | ( | ) |
Default constructor
Definition at line 37 of file AliAODInputHandler.cxx.
Referenced by GetAODpidUtil().
AliAODInputHandler::AliAODInputHandler | ( | const char * | name, |
const char * | title | ||
) |
Constructor
Definition at line 64 of file AliAODInputHandler.cxx.
|
virtual |
Destructor
Definition at line 91 of file AliAODInputHandler.cxx.
|
private |
|
virtual |
|
virtual |
Begin event
Reimplemented from AliInputEventHandler.
Definition at line 126 of file AliAODInputHandler.cxx.
Referenced by MCEvent().
|
private |
Connect the friend trees
Definition at line 260 of file AliAODInputHandler.cxx.
Referenced by GetAODpidUtil(), Init(), and Notify().
|
virtual |
create the pid response object if it does not exist yet
Reimplemented from AliInputEventHandler.
Definition at line 298 of file AliAODInputHandler.cxx.
Referenced by GetPIDResponse().
|
virtual |
Finish event
Reimplemented from AliInputEventHandler.
Definition at line 220 of file AliAODInputHandler.cxx.
Referenced by Notify().
|
inline |
Definition at line 70 of file AliAODInputHandler.h.
|
virtual |
Returns handled data type.
Reimplemented from AliVEventHandler.
Definition at line 240 of file AliAODInputHandler.cxx.
Referenced by Notify().
|
inlinevirtual |
Reimplemented from AliInputEventHandler.
Definition at line 33 of file AliAODInputHandler.h.
|
inline |
Definition at line 46 of file AliAODInputHandler.h.
Referenced by AliAnalysisTaskSE::Exec().
|
inline |
Definition at line 55 of file AliAODInputHandler.h.
Referenced by AliAnalysisTaskSE::Exec().
|
inline |
Definition at line 53 of file AliAODInputHandler.h.
Referenced by AliAnalysisTaskSE::Exec().
|
inline |
Definition at line 61 of file AliAODInputHandler.h.
Referenced by AliAnalysisTaskSE::Exec().
|
inline |
Definition at line 45 of file AliAODInputHandler.h.
Referenced by AliAnalysisTaskSE::CreateOutputObjects(), and AliAnalysisTaskSE::Exec().
|
inline |
Definition at line 65 of file AliAODInputHandler.h.
|
inline |
Definition at line 49 of file AliAODInputHandler.h.
Referenced by AliAnalysisTaskSE::Exec().
|
inline |
Definition at line 59 of file AliAODInputHandler.h.
Referenced by AliAnalysisTaskSE::Exec().
|
inline |
Definition at line 57 of file AliAODInputHandler.h.
Referenced by AliAnalysisTaskSE::Exec().
|
inline |
Definition at line 63 of file AliAODInputHandler.h.
Referenced by AliAnalysisTaskSE::Exec().
|
inline |
Definition at line 51 of file AliAODInputHandler.h.
Referenced by AliAnalysisTaskSE::Exec().
|
inlinevirtual |
Reimplemented from AliInputEventHandler.
Definition at line 68 of file AliAODInputHandler.h.
|
virtual |
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.
Reimplemented from AliInputEventHandler.
Definition at line 248 of file AliAODInputHandler.cxx.
Referenced by Notify().
|
inline |
Definition at line 47 of file AliAODInputHandler.h.
Referenced by AliAnalysisTaskSE::Exec().
|
inlinevirtual |
Reimplemented from AliInputEventHandler.
Definition at line 31 of file AliAODInputHandler.h.
|
virtual |
Initialisation necessary for each new tree
Reimplemented from AliInputEventHandler.
Definition at line 103 of file AliAODInputHandler.cxx.
|
inlinevirtual |
Reimplemented from AliInputEventHandler.
Definition at line 34 of file AliAODInputHandler.h.
Referenced by AliAnalysisTaskSE::Exec().
|
inlinevirtual |
Reimplemented from AliInputEventHandler.
Definition at line 37 of file AliAODInputHandler.h.
|
virtual |
Notifaction of directory change
Reimplemented from AliInputEventHandler.
Definition at line 163 of file AliAODInputHandler.cxx.
|
private |
Referenced by GetAODpidUtil().
|
inline |
Definition at line 54 of file AliAODInputHandler.h.
|
inline |
Definition at line 52 of file AliAODInputHandler.h.
|
inline |
Definition at line 60 of file AliAODInputHandler.h.
|
inline |
Definition at line 44 of file AliAODInputHandler.h.
|
inline |
Definition at line 64 of file AliAODInputHandler.h.
|
inline |
Definition at line 48 of file AliAODInputHandler.h.
|
inline |
Definition at line 58 of file AliAODInputHandler.h.
|
inline |
Definition at line 56 of file AliAODInputHandler.h.
|
inline |
Definition at line 62 of file AliAODInputHandler.h.
|
inline |
Definition at line 50 of file AliAODInputHandler.h.
|
private |
! Event for merging
Definition at line 95 of file AliAODInputHandler.h.
Referenced by ConnectFriends(), and GetEventToMerge().
|
private |
! Pointer to PID information
Definition at line 80 of file AliAODInputHandler.h.
Referenced by CreatePIDResponse(), GetAODpidUtil(), GetPIDResponse(), and ~AliAODInputHandler().
|
private |
! Pointer to the event
Definition at line 77 of file AliAODInputHandler.h.
Referenced by BeginEvent(), FinishEvent(), GetEvent(), Init(), and Notify().
|
private |
! File for merging
Definition at line 93 of file AliAODInputHandler.h.
Referenced by ConnectFriends().
|
private |
List of friend trees.
Definition at line 79 of file AliAODInputHandler.h.
Referenced by AddFriend(), ConnectFriends(), and ~AliAODInputHandler().
|
private |
Friends are connected.
Definition at line 92 of file AliAODInputHandler.h.
Referenced by ConnectFriends(), and Notify().
|
private |
! how many events are cut away why {all,bin 0}
Definition at line 97 of file AliAODInputHandler.h.
Referenced by AliAODInputHandler(), GetStatistics(), Notify(), and ~AliAODInputHandler().
|
private |
! Pointer to the MCEvent
Definition at line 78 of file AliAODInputHandler.h.
Referenced by BeginEvent(), and MCEvent().
|
private |
Merge PHOS cluster.
Definition at line 87 of file AliAODInputHandler.h.
Referenced by GetMergeEMCALCells(), and SetMergeEMCALCells().
|
private |
Merge PHOS cluster.
Definition at line 85 of file AliAODInputHandler.h.
Referenced by GetMergeEMCALClusters(), and SetMergeEMCALClusters().
|
private |
Merge EMCAL cluster.
Definition at line 89 of file AliAODInputHandler.h.
Referenced by GetMergeEMCALTrigger(), and SetMergeEMCALTrigger().
|
private |
Flag for event merging.
Definition at line 83 of file AliAODInputHandler.h.
Referenced by ConnectFriends(), GetMergeEvents(), and SetMergeEvents().
|
private |
Merge HMPID rings information.
Definition at line 91 of file AliAODInputHandler.h.
Referenced by GetMergeHMPIDrings(), and SetMergeHMPIDrings().
|
private |
! Event offset for merging
Definition at line 96 of file AliAODInputHandler.h.
Referenced by BeginEvent(), GetMergeOffset(), and SetMergeOffset().
|
private |
Merge EMCAL cluster.
Definition at line 88 of file AliAODInputHandler.h.
Referenced by GetMergePHOSCells(), and SetMergePHOSCells().
|
private |
Merge EMCAL cluster.
Definition at line 86 of file AliAODInputHandler.h.
Referenced by GetMergePHOSClusters(), and SetMergePHOSClusters().
|
private |
Merge PHOS cluster.
Definition at line 90 of file AliAODInputHandler.h.
Referenced by GetMergePHOSTrigger(), and SetMergePHOSTrigger().
|
private |
Merge tracks.
Definition at line 84 of file AliAODInputHandler.h.
Referenced by GetMergeTracks(), and SetMergeTracks().
|
private |
! Tree for merging
Definition at line 94 of file AliAODInputHandler.h.
Referenced by BeginEvent(), ConnectFriends(), and GetTreeToMerge().