CMS 3D CMS Logo

TTrigger.h
Go to the documentation of this file.
1 #ifndef DQMOFFLINE_LUMI_TTRIGGER_H
2 #define DQMOFFLINE_LUMI_TTRIGGER_H
3 
4 #include "DQMOffline/Lumi/interface/TriggerRecord.h" // class to handle user specified trigger info
6 
7 namespace ZCountingTrigger
8 {
9  class TTrigger
10  {
11  public:
12  TTrigger();
14 
15  // Methods
16  int getTriggerBit(const std::string &iName) const;
17  int getTriggerObjectBit(const std::string &iName, const std::string &iObjName) const;
18  bool pass(const std::string &iName, const TriggerBits &iTrig) const;
19  bool passObj(const std::string &iName, const std::string &iObjName, const TriggerObjects &iTrigObj) const;
20 
21  std::vector<ZCountingTrigger::TriggerRecord> fRecords;
22  };
23 }
24 #endif
bool passObj(const std::string &iName, const std::string &iObjName, const TriggerObjects &iTrigObj) const
Definition: TTrigger.cc:63
std::bitset< kNTrigObjectBit > TriggerObjects
Definition: TriggerDefs.h:9
int getTriggerBit(const std::string &iName) const
Definition: TTrigger.cc:32
std::vector< ZCountingTrigger::TriggerRecord > fRecords
Definition: TTrigger.h:21
std::bitset< kNTrigBit > TriggerBits
Definition: TriggerDefs.h:7
bool pass(const std::string &iName, const TriggerBits &iTrig) const
Definition: TTrigger.cc:55
int getTriggerObjectBit(const std::string &iName, const std::string &iObjName) const
Definition: TTrigger.cc:42