CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
EwkMuLumiMonitorDQM.h
Go to the documentation of this file.
1 #ifndef EwkMuLumiMonitorDQM_H
2 #define EwkMuLumiMonitorDQM_H
3 
15 
27 
28 namespace trigger {
29  class TriggerEvent;
30 }
31 namespace reco {
32  class BeamSpot;
33  class MET;
34 } // namespace reco
35 
37 public:
39  void analyze(const edm::Event&, const edm::EventSetup&) override;
40  //Book histograms
41  void bookHistograms(DQMStore::IBooker&, edm::Run const&, edm::EventSetup const&) override;
42  void dqmBeginRun(const edm::Run&, const edm::EventSetup&) override;
43 
44  void init_histograms();
45  double muIso(const reco::Muon&);
47  bool IsMuMatchedToHLTMu(const reco::Muon&, const std::vector<reco::Particle>&, double, double);
48 
49 private:
59 
60  // const std::string hltPath_;
61  // const std::string L3FilterName_;
62 
63  double ptMuCut_;
64  double etaMuCut_;
65 
68  double isoCut03_;
69 
70  double deltaRTrk_;
71  double ptThreshold_;
73  double maxDPtRel_;
74  double maxDeltaR_;
75  double mtMin_;
76  double mtMax_;
77  double acopCut_;
78  double dxyCut_;
79 
82  // MonitorElement* highest_mupt2HLT_;
83  // MonitorElement* lowest_mupt2HLT_;
84 
87  // MonitorElement* highest_mupt1HLT_;
88  // MonitorElement* lowest_mupt1HLT_;
89 
92  // MonitorElement* highest_muptNotIso_;
93  // MonitorElement* lowest_muptNotIso_;
94 
97  // MonitorElement* highest_muptGlbSta_;
98  // MonitorElement* lowest_muptGlbSta_;
99 
102  // MonitorElement* highest_muptGlbTrk_;
103  // MonitorElement* lowest_muptGlbTrk_;
104 
106 
109 
110  unsigned int nall;
111  unsigned int nEvWithHighPtMu;
112  unsigned int nInKinRange;
113  unsigned int nsel;
114  unsigned int niso;
115  unsigned int nhlt;
116  unsigned int n1hlt;
117  unsigned int n2hlt;
118  unsigned int nNotIso;
119  unsigned int nGlbSta;
120  unsigned int nGlbTrk;
121  unsigned int nTMass;
122  unsigned int nW;
123 
129  bool isW_;
130 
133 };
134 
135 #endif
136 
137 /* Local Variables: */
138 /* show-trailing-whitespace: t */
139 /* truncate-lines: t */
140 /* End: */
MonitorElement * highMass1HLT_
edm::EDGetTokenT< edm::View< reco::Muon > > muonToken_
MonitorElement * highMassIsBothGlbTrkThanW_
MonitorElement * highMassGlbTrk_
edm::EDGetTokenT< edm::View< reco::MET > > metToken_
MonitorElement * massNotIso_
MonitorElement * highMassGlbSta_
EwkMuLumiMonitorDQM(const edm::ParameterSet &)
edm::EDGetTokenT< edm::TriggerResults > trigToken_
MonitorElement * mass1HLT_
void analyze(const edm::Event &, const edm::EventSetup &) override
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_
void bookHistograms(DQMStore::IBooker &, edm::Run const &, edm::EventSetup const &) override
edm::EDGetTokenT< reco::BeamSpot > beamSpotToken_
MonitorElement * massGlbSta_
double muIso(const reco::Muon &)
void dqmBeginRun(const edm::Run &, const edm::EventSetup &) override
MonitorElement * TMass_
HLTConfigProvider hltConfigProvider_
MonitorElement * mass2HLT_
edm::EDGetTokenT< trigger::TriggerEvent > trigEvToken_
MonitorElement * highMass2HLT_
Definition: Run.h:45