Trigger.h
Go to the documentation of this file.
1 #ifndef _mevt_Trigger_h_
2 #define _mevt_Trigger_h_
3 
4 #include <utl/LameShadowPtr_fwd.h>
5 #include <string>
6 
7 
8 namespace mevt {
9 
19  class Trigger {
20 
21  public:
22  enum Type {
24  eT3,
26  };
27 
38  };
39 
40  Trigger() { }
41 
42  Type GetType() const { return fType;}
43  void SetType(const Type type) { fType = type; }
44 
46  void SetOccupancyLevel(const OccupancyLevel occ) { fFoldLevel = occ; }
47 
48  std::string GetAlgorithm() const { return fTriggerAlgo; }
49  void SetAlgorithm(const std::string& ta) { fTriggerAlgo = ta; }
50 
51  private:
53  std::string fTriggerAlgo;
56 
57  //static const unsigned int fTrgTypes = eNone + 1;
58  //static const std::string fStringTypes[fTrgTypes];
59 
60  //friend class MEvent;
61  friend class Header;
62  friend class utl::LameShadowPtr<Trigger>;
64 
65  };
66 
67 }
68 
69 
70 #endif
void SetAlgorithm(const std::string &ta)
Definition: Trigger.h:49
Type fType
Trigger type.
Definition: Trigger.h:54
void SetType(const Type type)
Definition: Trigger.h:43
std::string GetAlgorithm() const
Definition: Trigger.h:48
Type GetType() const
Definition: Trigger.h:42
Trigger information for muon events.
Definition: Trigger.h:19
void SetOccupancyLevel(const OccupancyLevel occ)
Definition: Trigger.h:46
std::string fTriggerAlgo
Trigger Algo string.
Definition: Trigger.h:53
Header information for muon events.
Definition: MEvent/Header.h:20
OccupancyLevel GetOccupancyLevel() const
Definition: Trigger.h:45
OccupancyLevel fFoldLevel
Trigger type.
Definition: Trigger.h:55

, generated on Tue Sep 26 2023.