CMS 3D CMS Logo

HltComparator.h
Go to the documentation of this file.
1 #ifndef HLTCOMPARATOR_H
2 #define HLTCOMPARATOR_H
3 // Original Author: James Jackson
4 
10 
12 
13 class TH1F;
14 
15 class HltComparator : public edm::EDFilter {
16 public:
17  explicit HltComparator(const edm::ParameterSet &);
18  ~HltComparator() override;
19 
20 private:
23 
24  std::vector<std::string> onlineActualNames_;
25  std::vector<std::string> offlineActualNames_;
26  std::vector<unsigned int> onlineToOfflineBitMappings_;
27 
28  std::vector<TH1F *> comparisonHists_;
29  std::map<unsigned int, std::map<std::string, unsigned int>> triggerComparisonErrors_;
30 
31  bool init_;
32  bool verbose_;
33  bool verbose() const { return verbose_; }
34 
35  std::vector<std::string> skipPathList_;
36  std::vector<std::string> usePathList_;
37 
38  unsigned int numTriggers_;
39 
40  void beginJob() override;
41  bool filter(edm::Event &, const edm::EventSetup &) override;
42  void endJob() override;
44  std::string formatResult(const unsigned int);
45 };
46 
47 #endif // HLTCOMPARATOR_HH
TriggerResults.h
HltComparator::init_
bool init_
Definition: HltComparator.h:31
edm::EDGetTokenT< edm::TriggerResults >
HltComparator::verbose
bool verbose() const
Definition: HltComparator.h:33
HltComparator::hltOnlineResults_
edm::EDGetTokenT< edm::TriggerResults > hltOnlineResults_
Definition: HltComparator.h:21
EDFilter.h
HltComparator::onlineToOfflineBitMappings_
std::vector< unsigned int > onlineToOfflineBitMappings_
Definition: HltComparator.h:26
MakerMacros.h
HltComparator::offlineActualNames_
std::vector< std::string > offlineActualNames_
Definition: HltComparator.h:25
AlCaHLTBitMon_QueryRunRegistry.string
string
Definition: AlCaHLTBitMon_QueryRunRegistry.py:256
HltComparator::comparisonHists_
std::vector< TH1F * > comparisonHists_
Definition: HltComparator.h:28
HltComparator::filter
bool filter(edm::Event &, const edm::EventSetup &) override
Definition: HltComparator.cc:146
HltComparator::endJob
void endJob() override
Definition: HltComparator.cc:252
HltComparator::verbose_
bool verbose_
Definition: HltComparator.h:32
edm::ParameterSet
Definition: ParameterSet.h:47
Event.h
HltComparator
Definition: HltComparator.h:15
edm::EDFilter
Definition: EDFilter.h:38
HltComparator::HltComparator
HltComparator(const edm::ParameterSet &)
Definition: HltComparator.cc:36
edm::EventSetup
Definition: EventSetup.h:57
HltComparator::numTriggers_
unsigned int numTriggers_
Definition: HltComparator.h:38
HltComparator::skipPathList_
std::vector< std::string > skipPathList_
Definition: HltComparator.h:35
HltComparator::onlineActualNames_
std::vector< std::string > onlineActualNames_
Definition: HltComparator.h:24
HltComparator::usePathList_
std::vector< std::string > usePathList_
Definition: HltComparator.h:36
Frameworkfwd.h
HltComparator::formatResult
std::string formatResult(const unsigned int)
Definition: HltComparator.cc:110
HltComparator::beginJob
void beginJob() override
Definition: HltComparator.cc:249
HltComparator::triggerComparisonErrors_
std::map< unsigned int, std::map< std::string, unsigned int > > triggerComparisonErrors_
Definition: HltComparator.h:29
HltComparator::hltOfflineResults_
edm::EDGetTokenT< edm::TriggerResults > hltOfflineResults_
Definition: HltComparator.h:22
HltComparator::initialise
void initialise(const edm::TriggerResults &, const edm::TriggerResults &, edm::Event &e)
Definition: HltComparator.cc:51
HltComparator::~HltComparator
~HltComparator() override
Definition: HltComparator.cc:48
ParameterSet.h
edm::Event
Definition: Event.h:73
edm::TriggerResults
Definition: TriggerResults.h:35
MillePedeFileConverter_cfg.e
e
Definition: MillePedeFileConverter_cfg.py:37