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  class TTrigger {
9  public:
10  TTrigger(const std::vector<std::string> &muonTriggerNames, const std::vector<std::string> &muonTriggerObjectNames);
11  ~TTrigger() {}
12 
13  // Methods
14  int getTriggerBit(const std::string &iName) const;
15  int getTriggerObjectBit(const std::string &iName, const std::string &iObjName) const;
16  bool pass(const std::string &iName, const TriggerBits &iTrig) const;
17  bool passObj(const std::string &iName, const std::string &iObjName, const TriggerObjects &iTrigObj) const;
18 
19  std::vector<ZCountingTrigger::TriggerRecord> fRecords;
20  };
21 } // namespace ZCountingTrigger
22 #endif
TriggerDefs.h
ZCountingTrigger::TTrigger::passObj
bool passObj(const std::string &iName, const std::string &iObjName, const TriggerObjects &iTrigObj) const
Definition: TTrigger.cc:74
ZCountingTrigger::TTrigger::pass
bool pass(const std::string &iName, const TriggerBits &iTrig) const
Definition: TTrigger.cc:65
TriggerObjects
std::bitset< kNTrigObjectBit > TriggerObjects
Definition: TriggerDefs.h:9
ZCountingTrigger
Definition: TriggerRecord.h:8
TriggerRecord.h
ZCountingTrigger::TTrigger::~TTrigger
~TTrigger()
Definition: TTrigger.h:11
TriggerBits
std::bitset< kNTrigBit > TriggerBits
Definition: TriggerDefs.h:7
ZCountingTrigger::TTrigger::getTriggerObjectBit
int getTriggerObjectBit(const std::string &iName, const std::string &iObjName) const
Definition: TTrigger.cc:50
AlCaHLTBitMon_QueryRunRegistry.string
string string
Definition: AlCaHLTBitMon_QueryRunRegistry.py:256
ZCountingTrigger::TTrigger
Definition: TTrigger.h:8
ZCountingTrigger::TTrigger::TTrigger
TTrigger(const std::vector< std::string > &muonTriggerNames, const std::vector< std::string > &muonTriggerObjectNames)
Definition: TTrigger.cc:25
ZCountingTrigger::TTrigger::getTriggerBit
int getTriggerBit(const std::string &iName) const
Definition: TTrigger.cc:38
ZCountingTrigger::TTrigger::fRecords
std::vector< ZCountingTrigger::TriggerRecord > fRecords
Definition: TTrigger.h:19