AliPhysics  8d00e07 (8d00e07)
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 
17 namespace EMCalTriggerPtAnalysis {
18 
19 class AliEMCalTriggerAnaTriggerClass;
20 class AliEMCalTriggerAnaTriggerDecision;
21 class AliEMCalTriggerEventData;
22 
27 class TriggerManagerEmptyException : public std::exception {
28 public:
36  virtual ~TriggerManagerEmptyException() throw () {}
37 
42  virtual const char *what() const throw() { return "Trigger manager does not contain any trigger class"; }
43 
44 };
45 
54 public:
56  AliEMCalTriggerAnaClassManager(const char *name);
60 
61  void PerformEventSelection(AliEMCalTriggerEventData *trgevent);
62 
63  void AddTriggerClass(AliEMCalTriggerAnaTriggerClass *triggerclass);
64  void SetTriggerDecision(AliEMCalTriggerAnaTriggerDecision *triggerdecision);
65 
66  TObjArray * GetSelectedTriggerClasses() const;
67  TObjArray * GetAllTriggerClasses() const;
68 
69  bool HasMinBiasTrigger() const;
70 
71 private:
74 
76  ClassDef(AliEMCalTriggerAnaClassManager, 1);
78 };
79 
80 } /* namespace EMCalTriggerPtAnalysis */
81 
82 #endif /* ALIEMCALTRIGGERANACLASSMANAGER_H */
Class performing the selection of triggered events.
TObjArray * fSelected
List of selected trigger classes.
Exception handling in case event selection is performed on an empty trigger manager.
Analysis of high- tracks in triggered events.
Simple event container within the high- track analysis.