]> git.uio.no Git - u/mrichter/AliRoot.git/blob - PWGJE/EMCALJetTasks/Tracks/AliEMCalTriggerTaskGroup.h
Refactoring of the EMCAL jet package:
[u/mrichter/AliRoot.git] / PWGJE / EMCALJetTasks / Tracks / AliEMCalTriggerTaskGroup.h
1 #ifndef ALIEMCALTRIGGERTASKGROUP_H
2 #define ALIEMCALTRIGGERTASKGROUP_H
3 /* Copyright(c) 1998-2014, ALICE Experiment at CERN, All rights reserved. *
4  * See cxx source for full Copyright notice                               */
5
6 // Author: Markus Fasel
7 #include <TNamed.h>
8 #include <TObjArray.h>
9
10 namespace EMCalTriggerPtAnalysis {
11
12 class AliEMCalTriggerAnaTriggerDecision;
13 class AliEMCalTriggerBinningComponent;
14 class AliEMCalTriggerEventSelection;
15 class AliEMCalTriggerTracksAnalysisComponent;
16
17 class AliEMCalTriggerTaskGroup : public TNamed {
18 public:
19   AliEMCalTriggerTaskGroup();
20   AliEMCalTriggerTaskGroup(const char *name);
21   virtual ~AliEMCalTriggerTaskGroup();
22
23   void SetEventSelection(const AliEMCalTriggerEventSelection *sel){ fEventSelection = sel; }
24   void SetGlobalBinning(const AliEMCalTriggerBinningComponent *const binning) { fBinning = binning; }
25   void SetTriggerDecision(const AliEMCalTriggerAnaTriggerDecision *trigger);
26   void AddAnalysisComponent(AliEMCalTriggerTracksAnalysisComponent * const analysis);
27
28   TList * InitialiseAnalysisComponents();
29   void Process(const AliEMCalTriggerEventData * const event);
30
31 protected:
32   TObjArray                                   *fAnalysisComponents;
33   const AliEMCalTriggerEventSelection         *fEventSelection;
34   const AliEMCalTriggerBinningComponent       *fBinning;
35
36   ClassDef(AliEMCalTriggerTaskGroup, 1);    // Group of analysis components with common event selection
37 };
38
39 } /* namespace EMCalTriggerPtAnalysis */
40
41 #endif /* ALIEMCALTRIGGERTASKGROUP_H */