AliPhysics  vAN-20150822 (d56cf94)
 All Classes Namespaces Files Functions Variables Enumerations Enumerator Macros
AliEMCalTriggerAnaClassManager.h
Go to the documentation of this file.
1 
7 #ifndef ALIEMCALTRIGGERANACLASSMANAGER_H
8 #define ALIEMCALTRIGGERANACLASSMANAGER_H
9 /* Copyright(c) 1998-2015, ALICE Experiment at CERN, All rights reserved. *
10  * See cxx source for full Copyright notice */
11 
12 #include <exception>
13 #include <TNamed.h>
14 
15 class TObjArray;
16 
24 namespace EMCalTriggerPtAnalysis {
25 
26 class AliEMCalTriggerAnaTriggerClass;
27 class AliEMCalTriggerAnaTriggerDecision;
28 class AliEMCalTriggerEventData;
29 
34 class TriggerManagerEmptyException : public std::exception {
35 public:
43  virtual ~TriggerManagerEmptyException() throw () {}
44 
49  const char *what() throw () { return "Trigger manager does not contain any trigger class"; }
50 
51 };
52 
60 class AliEMCalTriggerAnaClassManager: public TNamed {
61 public:
63  AliEMCalTriggerAnaClassManager(const char *name);
65 
67 
70 
71  TObjArray * GetSelectedTriggerClasses() const;
72  TObjArray * GetAllTriggerClasses() const;
73 
74  bool HasMinBiasTrigger() const;
75 
76 private:
77  TObjArray *fTriggerClasses;
78  TObjArray *fSelected;
79 
81  ClassDef(AliEMCalTriggerAnaClassManager, 1);
83 };
84 
85 } /* namespace EMCalTriggerPtAnalysis */
86 
87 #endif /* ALIEMCALTRIGGERANACLASSMANAGER_H */
Class performing the selection of triggered events.
void SetTriggerDecision(AliEMCalTriggerAnaTriggerDecision *triggerdecision)
TObjArray * fSelected
List of selected trigger classes.
Exception handling in case event selection is performed on an empty trigger manager.
void AddTriggerClass(AliEMCalTriggerAnaTriggerClass *triggerclass)
Simple event container within the high- track analysis.