CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
EwkMuLumiMonitorDQM.h
Go to the documentation of this file.
1 #ifndef EwkMuLumiMonitorDQM_H
2 #define EwkMuLumiMonitorDQM_H
3 
14 
25 
26 namespace trigger {class TriggerEvent;}
27 namespace reco {class BeamSpot; class MET;}
28 
29 
30 
31 class DQMStore;
32 class MonitorElement;
34 public:
36  virtual void analyze(const edm::Event&, const edm::EventSetup&);
37  virtual void beginJob();
38  virtual void endJob();
39  virtual void beginRun(const edm::Run&, const edm::EventSetup&);
40  virtual void endRun(const edm::Run&, const edm::EventSetup&);
41 
42  void init_histograms();
43  double muIso(const reco::Muon &);
45  bool IsMuMatchedToHLTMu ( const reco::Muon & , const std::vector<reco::Particle>& ,double ,double );
46 
47 private:
48 
58 
59  // const std::string hltPath_;
60  // const std::string L3FilterName_;
61 
62  double ptMuCut_;
63  double etaMuCut_;
64 
67  double isoCut03_;
68 
69  double deltaRTrk_;
70  double ptThreshold_;
72  double maxDPtRel_;
73  double maxDeltaR_;
74  double mtMin_;
75  double mtMax_;
76  double acopCut_;
77  double dxyCut_;
78 
79 
80 
81 
83 
84 
87  // MonitorElement* highest_mupt2HLT_;
88  //MonitorElement* lowest_mupt2HLT_;
89 
92  // MonitorElement* highest_mupt1HLT_;
93  //MonitorElement* lowest_mupt1HLT_;
94 
97  //MonitorElement* highest_muptNotIso_;
98  // MonitorElement* lowest_muptNotIso_;
99 
102  // MonitorElement* highest_muptGlbSta_;
103  //MonitorElement* lowest_muptGlbSta_;
104 
107  // MonitorElement* highest_muptGlbTrk_;
108  //MonitorElement* lowest_muptGlbTrk_;
109 
111 
114 
115 
116  unsigned int nall;
117  unsigned int nEvWithHighPtMu;
118  unsigned int nInKinRange;
119  unsigned int nsel;
120  unsigned int niso;
121  unsigned int nhlt;
122  unsigned int n1hlt;
123  unsigned int n2hlt;
124  unsigned int nNotIso;
125  unsigned int nGlbSta;
126  unsigned int nGlbTrk;
127  unsigned int nTMass;
128  unsigned int nW;
129 
135  bool isW_;
136 
139 
140 
141 };
142 
143 #endif
144 
145 /* Local Variables: */
146 /* show-trailing-whitespace: t */
147 /* truncate-lines: t */
148 /* End: */
MonitorElement * highMass1HLT_
edm::EDGetTokenT< edm::View< reco::Muon > > muonToken_
virtual void endRun(const edm::Run &, const edm::EventSetup &)
MonitorElement * highMassIsBothGlbTrkThanW_
MonitorElement * highMassGlbTrk_
edm::EDGetTokenT< edm::View< reco::MET > > metToken_
MonitorElement * massNotIso_
virtual void beginRun(const edm::Run &, const edm::EventSetup &)
MonitorElement * highMassGlbSta_
EwkMuLumiMonitorDQM(const edm::ParameterSet &)
edm::EDGetTokenT< edm::TriggerResults > trigToken_
MonitorElement * mass1HLT_
MonitorElement * massIsBothGlbTrkThanW_
MonitorElement * massGlbTrk_
bool IsMuMatchedToHLTMu(const reco::Muon &, const std::vector< reco::Particle > &, double, double)
double tkIso(const reco::Track &, edm::Handle< reco::TrackCollection >, edm::Handle< CaloTowerCollection >)
edm::EDGetTokenT< CaloTowerCollection > caloTowerToken_
MonitorElement * highMassNotIso_
edm::EDGetTokenT< reco::TrackCollection > trackToken_
edm::EDGetTokenT< reco::BeamSpot > beamSpotToken_
MonitorElement * massGlbSta_
double muIso(const reco::Muon &)
MonitorElement * TMass_
HLTConfigProvider hltConfigProvider_
virtual void analyze(const edm::Event &, const edm::EventSetup &)
MonitorElement * mass2HLT_
edm::EDGetTokenT< trigger::TriggerEvent > trigEvToken_
MonitorElement * highMass2HLT_
Definition: Run.h:41