AliPhysics  a0db429 (a0db429)
 All Classes Namespaces Files Functions Variables Typedefs 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);
67 
69 
72 
73  TObjArray * GetSelectedTriggerClasses() const;
74  TObjArray * GetAllTriggerClasses() const;
75 
76  bool HasMinBiasTrigger() const;
77 
78 private:
79  TObjArray *fTriggerClasses;
80  TObjArray *fSelected;
81 
83  ClassDef(AliEMCalTriggerAnaClassManager, 1);
85 };
86 
87 } /* namespace EMCalTriggerPtAnalysis */
88 
89 #endif /* ALIEMCALTRIGGERANACLASSMANAGER_H */
Class performing the selection of triggered events.
void SetTriggerDecision(AliEMCalTriggerAnaTriggerDecision *triggerdecision)
TObjArray * fSelected
List of selected trigger classes.
AliEMCalTriggerAnaClassManager & operator=(const AliEMCalTriggerAnaClassManager &ref)
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.