![]() |
AliPhysics
96866e8 (96866e8)
|
Container class for analysis components with common event selection. More...
#include <AliEMCalTriggerTaskGroup.h>
Public Member Functions | |
AliEMCalTriggerTaskGroup () | |
AliEMCalTriggerTaskGroup (const char *name) | |
AliEMCalTriggerTaskGroup (const AliEMCalTriggerTaskGroup &ref) | |
AliEMCalTriggerTaskGroup & | operator= (const AliEMCalTriggerTaskGroup &ref) |
virtual | ~AliEMCalTriggerTaskGroup () |
virtual void | Copy (TObject &other) const |
void | SetEventSelection (const AliEMCalTriggerEventSelection *sel) |
void | SetGlobalBinning (const AliEMCalTriggerBinningComponent *const binning) |
void | SetWeightHandler (const AliEMCalTriggerWeightHandler *handler) |
void | SetKineCuts (const AliEMCalTriggerKineCuts *cuts) |
void | AddAnalysisComponent (AliEMCalTriggerTracksAnalysisComponent *const analysis) |
TList * | InitialiseAnalysisComponents (const AliEMCalTriggerAnaClassManager *mgr=NULL) |
void | Process (const AliEMCalTriggerEventData *const event) |
Protected Attributes | |
TObjArray * | fAnalysisComponents |
List of analysis components connected to the group. More... | |
const AliEMCalTriggerEventSelection * | fEventSelection |
Common event selection for the group. More... | |
const AliEMCalTriggerBinningComponent * | fBinning |
Binning handler. More... | |
const AliEMCalTriggerKineCuts * | fKineCuts |
Kinematical cuts shared by the task group. More... | |
const AliEMCalTriggerWeightHandler * | fWeightHandler |
Weight handler for event weighting. More... | |
Container class for analysis components with common event selection.
Group of analysis components with the same event selection, kinematical cuts, and histogram binnings. Analysis components are initialised via the Initialise function, and executed, if the event is selected, via the function process.
Definition at line 33 of file AliEMCalTriggerTaskGroup.h.
EMCalTriggerPtAnalysis::AliEMCalTriggerTaskGroup::AliEMCalTriggerTaskGroup | ( | ) |
Dummy constructor, not to be used
Definition at line 31 of file AliEMCalTriggerTaskGroup.cxx.
EMCalTriggerPtAnalysis::AliEMCalTriggerTaskGroup::AliEMCalTriggerTaskGroup | ( | const char * | name | ) |
Main constructor: to be used by the users
Definition at line 44 of file AliEMCalTriggerTaskGroup.cxx.
EMCalTriggerPtAnalysis::AliEMCalTriggerTaskGroup::AliEMCalTriggerTaskGroup | ( | const AliEMCalTriggerTaskGroup & | ref | ) |
Copy constructor. Copy process is delegated to the copy function handling both copy constructor and assignment operator.
ref | Reference for the copy |
Definition at line 61 of file AliEMCalTriggerTaskGroup.cxx.
|
virtual |
Destructor, cleaning up objects belonging to the task group (analysis components and event selection)
Definition at line 88 of file AliEMCalTriggerTaskGroup.cxx.
void EMCalTriggerPtAnalysis::AliEMCalTriggerTaskGroup::AddAnalysisComponent | ( | AliEMCalTriggerTracksAnalysisComponent *const | analysis | ) |
Add new analysis component to the task group
analysis | the analysis component to be added |
Definition at line 136 of file AliEMCalTriggerTaskGroup.cxx.
Referenced by SetKineCuts().
|
virtual |
Copy function. Does a flat copy of all elements which are not under control of the task group. Will make a flat copy of all analysis components as well for the moment.
other | Target where the information from this object is set to. |
Definition at line 159 of file AliEMCalTriggerTaskGroup.cxx.
Referenced by AliEMCalTriggerTaskGroup(), and operator=().
TList * EMCalTriggerPtAnalysis::AliEMCalTriggerTaskGroup::InitialiseAnalysisComponents | ( | const AliEMCalTriggerAnaClassManager * | classmgr = NULL | ) |
Initialise all analysis components. Build a global histlist for the full group
classmgr | The trigger class manager |
Definition at line 99 of file AliEMCalTriggerTaskGroup.cxx.
Referenced by SetKineCuts(), and EMCalTriggerPtAnalysis::AliAnalysisTaskPtEMCalTriggerV1::UserCreateOutputObjects().
AliEMCalTriggerTaskGroup & EMCalTriggerPtAnalysis::AliEMCalTriggerTaskGroup::operator= | ( | const AliEMCalTriggerTaskGroup & | ref | ) |
Copy constructor. Copy process is delegated to the copy function handling both copy constructor and assignment operator.
ref | Reference for the copy |
Definition at line 77 of file AliEMCalTriggerTaskGroup.cxx.
void EMCalTriggerPtAnalysis::AliEMCalTriggerTaskGroup::Process | ( | const AliEMCalTriggerEventData *const | event | ) |
Run analysis of the different groups. Apply event selection if requested;
event | The combined event data |
Definition at line 123 of file AliEMCalTriggerTaskGroup.cxx.
Referenced by EMCalTriggerPtAnalysis::AliAnalysisTaskPtEMCalTriggerV1::Run(), and SetKineCuts().
|
inline |
Set global event selection to the task group
sel | The event selection handler |
Definition at line 46 of file AliEMCalTriggerTaskGroup.h.
|
inline |
Set global binning handler to the task group
binning | The binning handler |
Definition at line 52 of file AliEMCalTriggerTaskGroup.h.
Referenced by EMCalTriggerPtAnalysis::AliAnalysisTaskPtEMCalTriggerV1::UserCreateOutputObjects().
|
inline |
Set common kinematical cuts for the particle selection within a group
cuts | The kinematical cuts |
Definition at line 60 of file AliEMCalTriggerTaskGroup.h.
void EMCalTriggerPtAnalysis::AliEMCalTriggerTaskGroup::SetWeightHandler | ( | const AliEMCalTriggerWeightHandler * | handler | ) |
Set the weight handler to the group. If components are registered, publish the weight handler to them
handler | The weight handler for the group |
Definition at line 146 of file AliEMCalTriggerTaskGroup.cxx.
Referenced by SetGlobalBinning().
|
protected |
List of analysis components connected to the group.
Definition at line 68 of file AliEMCalTriggerTaskGroup.h.
Referenced by AddAnalysisComponent(), AliEMCalTriggerTaskGroup(), Copy(), InitialiseAnalysisComponents(), Process(), SetWeightHandler(), and ~AliEMCalTriggerTaskGroup().
|
protected |
Binning handler.
Definition at line 70 of file AliEMCalTriggerTaskGroup.h.
Referenced by Copy(), InitialiseAnalysisComponents(), and SetGlobalBinning().
|
protected |
Common event selection for the group.
Definition at line 69 of file AliEMCalTriggerTaskGroup.h.
Referenced by Copy(), Process(), SetEventSelection(), and ~AliEMCalTriggerTaskGroup().
|
protected |
Kinematical cuts shared by the task group.
Definition at line 71 of file AliEMCalTriggerTaskGroup.h.
Referenced by Copy(), InitialiseAnalysisComponents(), and SetKineCuts().
|
protected |
Weight handler for event weighting.
Definition at line 72 of file AliEMCalTriggerTaskGroup.h.
Referenced by AddAnalysisComponent(), Copy(), InitialiseAnalysisComponents(), and SetWeightHandler().