CMS 3D CMS Logo

EwkMuLumiMonitorDQM.h
Go to the documentation of this file.
1 #ifndef EwkMuLumiMonitorDQM_H
2 #define EwkMuLumiMonitorDQM_H
3 
15 
26 
27 namespace trigger {
28 class TriggerEvent;
29 }
30 namespace reco {
31 class BeamSpot;
32 class MET;
33 }
34 
35 class DQMStore;
36 class MonitorElement;
38  public:
40  void analyze(const edm::Event&, const edm::EventSetup&) override;
41  //Book histograms
43  edm::Run const &, edm::EventSetup const &) override;
44  void dqmBeginRun(const edm::Run&, const edm::EventSetup&) override;
45  void endRun(const edm::Run&, const edm::EventSetup&) override;
46 
47  void init_histograms();
48  double muIso(const reco::Muon&);
51  bool IsMuMatchedToHLTMu(const reco::Muon&, const std::vector<reco::Particle>&,
52  double, double);
53 
54  private:
64 
65  // const std::string hltPath_;
66  // const std::string L3FilterName_;
67 
68  double ptMuCut_;
69  double etaMuCut_;
70 
73  double isoCut03_;
74 
75  double deltaRTrk_;
76  double ptThreshold_;
78  double maxDPtRel_;
79  double maxDeltaR_;
80  double mtMin_;
81  double mtMax_;
82  double acopCut_;
83  double dxyCut_;
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  unsigned int nall;
116  unsigned int nEvWithHighPtMu;
117  unsigned int nInKinRange;
118  unsigned int nsel;
119  unsigned int niso;
120  unsigned int nhlt;
121  unsigned int n1hlt;
122  unsigned int n2hlt;
123  unsigned int nNotIso;
124  unsigned int nGlbSta;
125  unsigned int nGlbTrk;
126  unsigned int nTMass;
127  unsigned int nW;
128 
134  bool isW_;
135 
138 };
139 
140 #endif
141 
142 /* Local Variables: */
143 /* show-trailing-whitespace: t */
144 /* truncate-lines: t */
145 /* 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_
edm::EDGetTokenT< edm::TriggerResults > trigToken_
example_stream void analyze(const edm::Event &, const edm::EventSetup &) override
MonitorElement * mass1HLT_
MonitorElement * massIsBothGlbTrkThanW_
MonitorElement * massGlbTrk_
edm::EDGetTokenT< CaloTowerCollection > caloTowerToken_
MonitorElement * highMassNotIso_
edm::EDGetTokenT< reco::TrackCollection > trackToken_
edm::EDGetTokenT< reco::BeamSpot > beamSpotToken_
MonitorElement * massGlbSta_
example_stream void bookHistograms(DQMStore::IBooker &,@example_stream edm::Run const &,@example_stream edm::EventSetup const &) override
MonitorElement * TMass_
HLTConfigProvider hltConfigProvider_
fixed size matrix
MonitorElement * mass2HLT_
edm::EDGetTokenT< trigger::TriggerEvent > trigEvToken_
MonitorElement * highMass2HLT_
bool IsMuMatchedToHLTMu(const reco::Candidate *dau, std::vector< reco::Particle > HLTMu, double DR, double DPtRel)
Definition: Run.h:45