CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
HltComparator.h
Go to the documentation of this file.
1 #ifndef HLTCOMPARATOR_H
2 #define HLTCOMPARATOR_H
3 // Original Author: James Jackson
4 // $Id: HltComparator.h,v 1.7 2010/02/25 19:14:36 wdd Exp $
5 
11 
13 
14 class TH1F;
15 
17 {
18  public:
19  explicit HltComparator(const edm::ParameterSet&);
21 
22  private:
25 
26  std::vector<std::string> onlineActualNames_;
27  std::vector<std::string> offlineActualNames_;
28  std::vector<unsigned int> onlineToOfflineBitMappings_;
29 
30  std::vector<TH1F*> comparisonHists_;
31  std::map<unsigned int, std::map<std::string, unsigned int> > triggerComparisonErrors_;
32 
33  bool init_;
34  bool verbose_;
35  bool verbose() const { return verbose_; }
36 
37  std::vector<std::string> skipPathList_;
38  std::vector<std::string> usePathList_;
39 
40  unsigned int numTriggers_;
41 
42  virtual void beginJob() ;
43  virtual bool filter(edm::Event&, const edm::EventSetup&);
44  virtual void endJob() ;
45  void initialise(const edm::TriggerResults&,
46  const edm::TriggerResults&,
47  edm::Event& e);
48  std::string formatResult(const unsigned int);
49 };
50 
51 #endif // HLTCOMPARATOR_HH
52 
virtual void beginJob()
unsigned int numTriggers_
Definition: HltComparator.h:40
std::vector< unsigned int > onlineToOfflineBitMappings_
Definition: HltComparator.h:28
virtual bool filter(edm::Event &, const edm::EventSetup &)
edm::InputTag hltOnlineResults_
Definition: HltComparator.h:23
HltComparator(const edm::ParameterSet &)
std::vector< TH1F * > comparisonHists_
Definition: HltComparator.h:30
bool verbose() const
Definition: HltComparator.h:35
std::vector< std::string > onlineActualNames_
Definition: HltComparator.h:26
std::vector< std::string > usePathList_
Definition: HltComparator.h:38
virtual void endJob()
std::vector< std::string > offlineActualNames_
Definition: HltComparator.h:27
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:37
edm::InputTag hltOfflineResults_
Definition: HltComparator.h:24
std::map< unsigned int, std::map< std::string, unsigned int > > triggerComparisonErrors_
Definition: HltComparator.h:31