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 
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  virtual void analyze(const edm::Event&, const edm::EventSetup&);
41  //Book histograms
43  edm::Run const &, edm::EventSetup const &) override;
44  virtual void dqmBeginRun(const edm::Run&, const edm::EventSetup&);
45  virtual void endRun(const edm::Run&, const edm::EventSetup&);
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_
virtual void endRun(const edm::Run &, const edm::EventSetup &)
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_
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_
virtual void dqmBeginRun(const edm::Run &, const edm::EventSetup &)
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