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 */
6 // Author: Markus Fasel
10 namespace EMCalTriggerPtAnalysis {
12 class AliEMCalTriggerAnaTriggerDecision;
13 class AliEMCalTriggerBinningComponent;
14 class AliEMCalTriggerEventSelection;
15 class AliEMCalTriggerTracksAnalysisComponent;
17 class AliEMCalTriggerTaskGroup : public TNamed {
19 AliEMCalTriggerTaskGroup();
20 AliEMCalTriggerTaskGroup(const char *name);
21 virtual ~AliEMCalTriggerTaskGroup();
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);
28 TList * InitialiseAnalysisComponents();
29 void Process(const AliEMCalTriggerEventData * const event);
32 TObjArray *fAnalysisComponents;
33 const AliEMCalTriggerEventSelection *fEventSelection;
34 const AliEMCalTriggerBinningComponent *fBinning;
36 ClassDef(AliEMCalTriggerTaskGroup, 1); // Group of analysis components with common event selection
39 } /* namespace EMCalTriggerPtAnalysis */
41 #endif /* ALIEMCALTRIGGERTASKGROUP_H */