AliPhysics  vAN-20150429 (ffa5c54)
 All Classes Namespaces Files Functions Variables Enumerations Enumerator Macros
AliEMCalTriggerTaskGroup.h
Go to the documentation of this file.
1 
8 #ifndef ALIEMCALTRIGGERTASKGROUP_H
9 #define ALIEMCALTRIGGERTASKGROUP_H
10 /* Copyright(c) 1998-2014, ALICE Experiment at CERN, All rights reserved. *
11  * See cxx source for full Copyright notice */
12 
13 #include <TNamed.h>
14 #include <TObjArray.h>
15 
23 namespace EMCalTriggerPtAnalysis {
24 
25 class AliEMCalTriggerAnaTriggerDecision;
26 class AliEMCalTriggerBinningComponent;
27 class AliEMCalTriggerEventSelection;
28 class AliEMCalTriggerKineCuts;
29 class AliEMCalTriggerTracksAnalysisComponent;
30 class AliEMCalTriggerWeightHandler;
31 
40 class AliEMCalTriggerTaskGroup : public TNamed {
41 public:
43  AliEMCalTriggerTaskGroup(const char *name);
46  virtual ~AliEMCalTriggerTaskGroup();
47  virtual void Copy(TObject &other) const;
48 
54 
59  void SetGlobalBinning(const AliEMCalTriggerBinningComponent *const binning) { fBinning = binning; }
60 
63 
68  void SetKineCuts(const AliEMCalTriggerKineCuts *cuts) { fKineCuts = cuts; }
69 
71 
73  void Process(const AliEMCalTriggerEventData * const event);
74 
75 protected:
76  TObjArray *fAnalysisComponents;
81 
83  ClassDef(AliEMCalTriggerTaskGroup, 1); // Group of analysis components with common event selection
85 };
86 
87 } /* namespace EMCalTriggerPtAnalysis */
88 
89 #endif /* ALIEMCALTRIGGERTASKGROUP_H */
Class performing the selection of triggered events.
void AddAnalysisComponent(AliEMCalTriggerTracksAnalysisComponent *const analysis)
const AliEMCalTriggerWeightHandler * fWeightHandler
Weight handler for event weighting.
void SetGlobalBinning(const AliEMCalTriggerBinningComponent *const binning)
void Process(const AliEMCalTriggerEventData *const event)
Container class for analysis components with common event selection.
AliEMCalTriggerTaskGroup & operator=(const AliEMCalTriggerTaskGroup &ref)
const AliEMCalTriggerBinningComponent * fBinning
Binning handler.
void SetWeightHandler(const AliEMCalTriggerWeightHandler *handler)
void SetKineCuts(const AliEMCalTriggerKineCuts *cuts)
void SetTriggerDecision(const AliEMCalTriggerAnaTriggerDecision *trigger)
void SetEventSelection(const AliEMCalTriggerEventSelection *sel)
Global binning definition for the high- charged particle analysis.
Base class for analysis components in the analysis of EMCAL-triggered events.
TObjArray * fAnalysisComponents
List of analysis components connected to the group.
const AliEMCalTriggerKineCuts * fKineCuts
Kinematical cuts shared by the task group.
const AliEMCalTriggerEventSelection * fEventSelection
Common event selection for the group.