![]() |
AliRoot Core
3dc7879 (3dc7879)
|
Multi VEvent Input Handler realisation of the AliVEventHandler interface. More...
#include <AliMultiEventInputHandler.h>
Public Member Functions | |
AliMultiEventInputHandler () | |
AliMultiEventInputHandler (Int_t size, Int_t format=1) | |
AliMultiEventInputHandler (const char *name, const char *title, Int_t size, Int_t format=1) | |
virtual | ~AliMultiEventInputHandler () |
void | SetBufferSize (Int_t size) |
void | SetEventPool (AliVEventPool *pool) |
Int_t | GetBufferSize () const |
Int_t | GetNBuffered () const |
Bool_t | IsBufferReady () const |
Bool_t | IsFreshBuffer () const |
AliVEventPool * | GetEventPool () const |
virtual AliVEvent * | GetEvent () const |
virtual AliVEvent * | GetEvent (Int_t iev) const |
AliVEvent * | GetLatestEvent () const |
Int_t | GetFormat () |
void | EventSkipped () |
virtual Bool_t | Init (Option_t *) |
virtual Bool_t | Init (TTree *tree, Option_t *) |
virtual Bool_t | FinishEvent () |
virtual Bool_t | BeginEvent (Long64_t) |
virtual Bool_t | Notify () |
virtual Bool_t | Notify (const char *) |
![]() | |
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 TObject * | GetStatistics (Option_t *option="") 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 () |
virtual AliMCEvent * | MCEvent () const |
TList * | GetUserInfo () const |
void | SetMixingHandler (AliInputEventHandler *mixing) |
AliInputEventHandler * | MixingHandler () |
void | SetParentHandler (AliInputEventHandler *parent) |
AliInputEventHandler * | ParentHandler () |
virtual AliPIDResponse * | GetPIDResponse () |
virtual void | CreatePIDResponse (Bool_t=kFALSE) |
![]() | |
AliVEventHandler () | |
AliVEventHandler (const char *name, const char *title) | |
virtual | ~AliVEventHandler () |
virtual Option_t * | GetDataType () const |
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 | |
AliMultiEventInputHandler (const AliMultiEventInputHandler &handler) | |
AliMultiEventInputHandler & | operator= (const AliMultiEventInputHandler &handler) |
Private Attributes | |
Int_t | fBufferSize |
Size of the buffer. More... | |
Int_t | fFormat |
0: ESD 1: AOD More... | |
Int_t | fNBuffered |
Number of events actually buffered. More... | |
Int_t | fIndex |
Pointer to most recent event. More... | |
Int_t | fCurrentBin |
Current bin from the pool. More... | |
Int_t | fCurrentEvt |
Current event. More... | |
Bool_t | fInit |
Current event. More... | |
AliVEventPool * | fEventPool |
Pointer to the pool. More... | |
AliVEvent ** | fEventBuffer |
! The event buffer More... | |
Bool_t | fEventSkipped |
User requires event to be skip. 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 |
Multi VEvent Input Handler realisation of the AliVEventHandler interface.
This class handles multiple events for mixing.
Definition at line 17 of file AliMultiEventInputHandler.h.
AliMultiEventInputHandler::AliMultiEventInputHandler | ( | ) |
Definition at line 31 of file AliMultiEventInputHandler.cxx.
Referenced by Notify().
AliMultiEventInputHandler::AliMultiEventInputHandler | ( | Int_t | size, |
Int_t | format = 1 |
||
) |
constructor
Definition at line 48 of file AliMultiEventInputHandler.cxx.
AliMultiEventInputHandler::AliMultiEventInputHandler | ( | const char * | name, |
const char * | title, | ||
Int_t | size, | ||
Int_t | format = 1 |
||
) |
Constructor
Definition at line 66 of file AliMultiEventInputHandler.cxx.
|
virtual |
Destructor
Definition at line 84 of file AliMultiEventInputHandler.cxx.
|
private |
|
virtual |
Actions before analysis of each event
Reset the number of events buffered for this bin to 0
Reimplemented from AliInputEventHandler.
Definition at line 137 of file AliMultiEventInputHandler.cxx.
Referenced by Init().
|
inline |
Definition at line 35 of file AliMultiEventInputHandler.h.
Referenced by AliAnalysisTaskME::Exec().
|
virtual |
Connect the next event in the buffer to the tree
Reimplemented from AliInputEventHandler.
Definition at line 160 of file AliMultiEventInputHandler.cxx.
Referenced by Init().
|
inline |
Definition at line 26 of file AliMultiEventInputHandler.h.
Referenced by AliAnalysisTaskPhiCorr::UserExec().
|
inlinevirtual |
Reimplemented from AliInputEventHandler.
Definition at line 31 of file AliMultiEventInputHandler.h.
Referenced by AliAnalysisTaskME::GetEvent().
|
virtual |
Get event number iev from buffer
Definition at line 194 of file AliMultiEventInputHandler.cxx.
|
inline |
Definition at line 30 of file AliMultiEventInputHandler.h.
Referenced by AliAnalysisTaskME::ConnectInputData().
|
inline |
Definition at line 34 of file AliMultiEventInputHandler.h.
|
inline |
Definition at line 33 of file AliMultiEventInputHandler.h.
Referenced by GetEvent().
|
inline |
Definition at line 27 of file AliMultiEventInputHandler.h.
|
inlinevirtual |
Reimplemented from AliInputEventHandler.
Definition at line 37 of file AliMultiEventInputHandler.h.
|
virtual |
Initialisation necessary for each new tree
Reimplemented from AliInputEventHandler.
Definition at line 90 of file AliMultiEventInputHandler.cxx.
|
inline |
Definition at line 28 of file AliMultiEventInputHandler.h.
Referenced by AliAnalysisTaskME::Exec().
|
inline |
Definition at line 29 of file AliMultiEventInputHandler.h.
Referenced by AliAnalysisTaskME::Exec().
|
inlinevirtual |
Reimplemented from AliInputEventHandler.
Definition at line 41 of file AliMultiEventInputHandler.h.
|
virtual |
Connect to new tree
Reimplemented from AliInputEventHandler.
Definition at line 120 of file AliMultiEventInputHandler.cxx.
|
private |
Referenced by Notify().
|
inline |
Definition at line 24 of file AliMultiEventInputHandler.h.
|
inline |
Definition at line 25 of file AliMultiEventInputHandler.h.
Referenced by AliAnalysisTaskME::ConnectInputData(), and DphiAnalysis().
|
private |
Size of the buffer.
Definition at line 47 of file AliMultiEventInputHandler.h.
Referenced by FinishEvent(), GetBufferSize(), GetEvent(), Init(), IsBufferReady(), IsFreshBuffer(), and SetBufferSize().
|
private |
Current bin from the pool.
Definition at line 51 of file AliMultiEventInputHandler.h.
Referenced by BeginEvent().
|
private |
Current event.
Definition at line 52 of file AliMultiEventInputHandler.h.
Referenced by FinishEvent(), and Notify().
|
private |
! The event buffer
Definition at line 55 of file AliMultiEventInputHandler.h.
Referenced by BeginEvent(), FinishEvent(), GetEvent(), GetLatestEvent(), Init(), and Notify().
|
private |
Pointer to the pool.
Definition at line 54 of file AliMultiEventInputHandler.h.
Referenced by BeginEvent(), GetEventPool(), and SetEventPool().
|
private |
User requires event to be skip.
Definition at line 56 of file AliMultiEventInputHandler.h.
Referenced by EventSkipped(), and FinishEvent().
|
private |
0: ESD 1: AOD
Definition at line 48 of file AliMultiEventInputHandler.h.
Referenced by BeginEvent(), GetFormat(), and Init().
|
private |
Pointer to most recent event.
Definition at line 50 of file AliMultiEventInputHandler.h.
Referenced by BeginEvent(), FinishEvent(), GetEvent(), GetLatestEvent(), Init(), and IsFreshBuffer().
|
private |
Current event.
Definition at line 53 of file AliMultiEventInputHandler.h.
|
private |
Number of events actually buffered.
Definition at line 49 of file AliMultiEventInputHandler.h.
Referenced by BeginEvent(), FinishEvent(), GetNBuffered(), Init(), and IsBufferReady().