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 
16 {
17  public:
18  explicit HltComparator(const edm::ParameterSet&);
20 
21  private:
24 
25  std::vector<std::string> onlineActualNames_;
26  std::vector<std::string> offlineActualNames_;
27  std::vector<unsigned int> onlineToOfflineBitMappings_;
28 
29  std::vector<TH1F*> comparisonHists_;
30  std::map<unsigned int, std::map<std::string, unsigned int> > triggerComparisonErrors_;
31 
32  bool init_;
33  bool verbose_;
34  bool verbose() const { return verbose_; }
35 
36  std::vector<std::string> skipPathList_;
37  std::vector<std::string> usePathList_;
38 
39  unsigned int numTriggers_;
40 
41  virtual void beginJob() ;
42  virtual bool filter(edm::Event&, const edm::EventSetup&);
43  virtual void endJob() ;
44  void initialise(const edm::TriggerResults&,
45  const edm::TriggerResults&,
46  edm::Event& e);
47  std::string formatResult(const unsigned int);
48 };
49 
50 #endif // HLTCOMPARATOR_HH
51 
virtual void beginJob()
unsigned int numTriggers_
Definition: HltComparator.h:39
std::vector< unsigned int > onlineToOfflineBitMappings_
Definition: HltComparator.h:27
virtual bool filter(edm::Event &, const edm::EventSetup &)
edm::EDGetTokenT< edm::TriggerResults > hltOnlineResults_
Definition: HltComparator.h:22
HltComparator(const edm::ParameterSet &)
std::vector< TH1F * > comparisonHists_
Definition: HltComparator.h:29
bool verbose() const
Definition: HltComparator.h:34
edm::EDGetTokenT< edm::TriggerResults > hltOfflineResults_
Definition: HltComparator.h:23
std::vector< std::string > onlineActualNames_
Definition: HltComparator.h:25
std::vector< std::string > usePathList_
Definition: HltComparator.h:37
virtual void endJob()
std::vector< std::string > offlineActualNames_
Definition: HltComparator.h:26
void initialise(const edm::TriggerResults &, const edm::TriggerResults &, edm::Event &e)
std::string formatResult(const unsigned int)
std::vector< std::string > skipPathList_
Definition: HltComparator.h:36
std::map< unsigned int, std::map< std::string, unsigned int > > triggerComparisonErrors_
Definition: HltComparator.h:30