CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
HLTTauDQMLitePathPlotter.h
Go to the documentation of this file.
1 /* HLTTau Path Analyzer
2  Michail Bachtis
3  University of Wisconsin - Madison
4  bachtis@hep.wisc.edu
5  */
6 
7 #ifndef HLTTauDQMLitePathPlotter_h
8 #define HLTTauDQMLitePathPlotter_h
9 
11 
14 
16 public:
17 
18  HLTTauDQMLitePathPlotter( const edm::ParameterSet&, int, int, int, double, bool, double, std::string );
20  const std::string name() { return name_; }
21  void analyze( const edm::Event&, const edm::EventSetup&, const std::map<int,LVColl>& );
22 
23 private:
24  void endJob();
25  LVColl getFilterCollection( size_t, int, const trigger::TriggerEvent& );
27 
30 
31  //The filters
32  std::vector<edm::ParameterSet> filters_;
33  std::vector<HLTTauDQMPlotter::FilterObject> filterObjs_;
34 
36  double matchDeltaR_;
37  double minEt_;
38  double maxEt_;
39  int binsEt_;
40  int binsEta_;
41  int binsPhi_;
42 
43  double refTauPt_;
44  double refLeptonPt_;
45 
46  //MonitorElements for paths
50 
51  std::map<std::string, MonitorElement*> mass_distribution;
52 
53  //MonitorElements for objects
57 
61 
65 
66  class LVSorter {
67  public:
68  LVSorter() {}
69  ~LVSorter() {}
70  bool operator()(LV p1, LV p2) {
71  return p1.Et() < p2.Et();
72  }
73  };
74 };
75 #endif
The single EDProduct to be saved for each event (AOD case)
Definition: TriggerEvent.h:27
edm::InputTag triggerEvent_
InputTag of TriggerEventWithRefs to analyze.
HLTTauDQMLitePathPlotter(const edm::ParameterSet &, int, int, int, double, bool, double, std::string)
std::vector< edm::ParameterSet > filters_
LVColl getObjectCollection(int, const trigger::TriggerEvent &)
math::XYZTLorentzVectorD LV
std::vector< HLTTauDQMPlotter::FilterObject > filterObjs_
void analyze(const edm::Event &, const edm::EventSetup &, const std::map< int, LVColl > &)
std::vector< LV > LVColl
std::map< std::string, MonitorElement * > mass_distribution
double p2[4]
Definition: TauolaWrapper.h:90
MonitorElement * accepted_events_matched
double p1[4]
Definition: TauolaWrapper.h:89
LVColl getFilterCollection(size_t, int, const trigger::TriggerEvent &)