CMS 3D CMS Logo

GEMEfficiencyAnalyzer.h
Go to the documentation of this file.
1 #ifndef DQMOffline_Muon_GEMEfficiencyAnalyzer_h
2 #define DQMOffline_Muon_GEMEfficiencyAnalyzer_h
3 
12 
14 public:
15  explicit GEMEfficiencyAnalyzer(const edm::ParameterSet &);
16  ~GEMEfficiencyAnalyzer() override;
17 
18 protected:
19  void bookHistograms(DQMStore::IBooker &, edm::Run const &, edm::EventSetup const &) override;
20  void analyze(const edm::Event &event, const edm::EventSetup &eventSetup) override;
21 
22 private:
24  DQMStore::IBooker &, const GEMStation *, const MEMapKey1 &, const TString &, const TString &);
25  void bookOccupancy(DQMStore::IBooker &, const MEMapKey2 &, const TString &, const TString &);
26  void bookResolution(DQMStore::IBooker &, const MEMapKey3 &, const TString &, const TString &);
27 
28  const GEMRecHit *findMatchedHit(const float, const GEMRecHitCollection::range &);
29 
32 
34 
37 
38  std::vector<double> pt_binning_;
40  double eta_low_;
41  double eta_up_;
42 
44 
45  TString title_;
46  TString matched_title_;
47 
50 
55 
61 };
62 
63 #endif // DQMOffline_Muon_GEMEfficiencyAnalyzer_h
GEMEfficiencyAnalyzer::me_muon_pt_matched_
MEMap2 me_muon_pt_matched_
Definition: GEMEfficiencyAnalyzer.h:53
GEMEfficiencyAnalyzer::analyze
void analyze(const edm::Event &event, const edm::EventSetup &eventSetup) override
Definition: GEMEfficiencyAnalyzer.cc:146
GEMOfflineDQMBase::MEMapKey3
std::tuple< int, int, bool, int > MEMapKey3
Definition: GEMOfflineDQMBase.h:17
GEMEfficiencyAnalyzer::me_detector_
MEMap1 me_detector_
Definition: GEMEfficiencyAnalyzer.h:48
ESHandle.h
edm::Run
Definition: Run.h:45
GEMEfficiencyAnalyzer::findMatchedHit
const GEMRecHit * findMatchedHit(const float, const GEMRecHitCollection::range &)
Definition: GEMEfficiencyAnalyzer.cc:267
edm::EDGetTokenT< GEMRecHitCollection >
GEMEfficiencyAnalyzer::me_residual_x_
MEMap3 me_residual_x_
Definition: GEMEfficiencyAnalyzer.h:56
Muon.h
GEMOfflineDQMBase
Definition: GEMOfflineDQMBase.h:11
GEMOfflineDQMBase::MEMap3
std::map< MEMapKey3, MonitorElement * > MEMap3
Definition: GEMOfflineDQMBase.h:20
GEMEfficiencyAnalyzer::bookOccupancy
void bookOccupancy(DQMStore::IBooker &, const MEMapKey2 &, const TString &, const TString &)
Definition: GEMEfficiencyAnalyzer.cc:115
GEMEfficiencyAnalyzer::folder_
std::string folder_
Definition: GEMEfficiencyAnalyzer.h:43
GEMEfficiencyAnalyzer::use_global_muon_
bool use_global_muon_
Definition: GEMEfficiencyAnalyzer.h:35
GEMEfficiencyAnalyzer
Definition: GEMEfficiencyAnalyzer.h:13
GEMEfficiencyAnalyzer::~GEMEfficiencyAnalyzer
~GEMEfficiencyAnalyzer() override
Definition: GEMEfficiencyAnalyzer.cc:30
GEMEfficiencyAnalyzer::me_detector_matched_
MEMap1 me_detector_matched_
Definition: GEMEfficiencyAnalyzer.h:49
GEMEfficiencyAnalyzer::bookHistograms
void bookHistograms(DQMStore::IBooker &, edm::Run const &, edm::EventSetup const &) override
Definition: GEMEfficiencyAnalyzer.cc:32
GEMOfflineDQMBase::MEMapKey2
std::tuple< int, int, bool > MEMapKey2
Definition: GEMOfflineDQMBase.h:16
MuonSelectors.h
GEMStation
Definition: GEMStation.h:19
GEMEfficiencyAnalyzer::me_pull_x_
MEMap3 me_pull_x_
Definition: GEMEfficiencyAnalyzer.h:59
GEMEfficiencyAnalyzer::title_
TString title_
Definition: GEMEfficiencyAnalyzer.h:45
GEMEfficiencyAnalyzer::bookResolution
void bookResolution(DQMStore::IBooker &, const MEMapKey3 &, const TString &, const TString &)
Definition: GEMEfficiencyAnalyzer.cc:130
GEMEfficiencyAnalyzer::rechit_token_
edm::EDGetTokenT< GEMRecHitCollection > rechit_token_
Definition: GEMEfficiencyAnalyzer.h:30
EDGetToken.h
AlCaHLTBitMon_QueryRunRegistry.string
string
Definition: AlCaHLTBitMon_QueryRunRegistry.py:256
GEMOfflineDQMBase::MEMap2
std::map< MEMapKey2, MonitorElement * > MEMap2
Definition: GEMOfflineDQMBase.h:19
edm::ParameterSet
Definition: ParameterSet.h:47
GEMOfflineDQMBase::MEMapKey1
std::tuple< int, int > MEMapKey1
Definition: GEMOfflineDQMBase.h:15
GEMOfflineDQMBase::MEMap1
std::map< MEMapKey1, MonitorElement * > MEMap1
Definition: GEMOfflineDQMBase.h:18
GEMEfficiencyAnalyzer::me_muon_eta_
MEMap2 me_muon_eta_
Definition: GEMEfficiencyAnalyzer.h:52
GEMRecHitCollection.h
GEMEfficiencyAnalyzer::matched_title_
TString matched_title_
Definition: GEMEfficiencyAnalyzer.h:46
edm::EventSetup
Definition: EventSetup.h:57
GEMEfficiencyAnalyzer::residual_x_cut_
float residual_x_cut_
Definition: GEMEfficiencyAnalyzer.h:36
GEMEfficiencyAnalyzer::eta_up_
double eta_up_
Definition: GEMEfficiencyAnalyzer.h:41
GEMEfficiencyAnalyzer::muon_token_
edm::EDGetTokenT< edm::View< reco::Muon > > muon_token_
Definition: GEMEfficiencyAnalyzer.h:31
GEMOfflineDQMBase.h
GEMEfficiencyAnalyzer::pt_binning_
std::vector< double > pt_binning_
Definition: GEMEfficiencyAnalyzer.h:38
GEMEfficiencyAnalyzer::me_residual_y_
MEMap3 me_residual_y_
Definition: GEMEfficiencyAnalyzer.h:57
GEMEfficiencyAnalyzer::GEMEfficiencyAnalyzer
GEMEfficiencyAnalyzer(const edm::ParameterSet &)
Definition: GEMEfficiencyAnalyzer.cc:8
GEMEfficiencyAnalyzer::eta_low_
double eta_low_
Definition: GEMEfficiencyAnalyzer.h:40
GEMGeometry.h
edm::RangeMap::range
std::pair< const_iterator, const_iterator > range
iterator range
Definition: RangeMap.h:50
GEMEfficiencyAnalyzer::bookDetectorOccupancy
void bookDetectorOccupancy(DQMStore::IBooker &, const GEMStation *, const MEMapKey1 &, const TString &, const TString &)
Definition: GEMEfficiencyAnalyzer.cc:87
MuonServiceProxy.h
GEMEfficiencyAnalyzer::me_pull_y_
MEMap3 me_pull_y_
Definition: GEMEfficiencyAnalyzer.h:60
GEMRecHit
Definition: GEMRecHit.h:14
dqm::implementation::IBooker
Definition: DQMStore.h:43
GEMEfficiencyAnalyzer::me_muon_eta_matched_
MEMap2 me_muon_eta_matched_
Definition: GEMEfficiencyAnalyzer.h:54
GEMEfficiencyAnalyzer::muon_service_
MuonServiceProxy * muon_service_
Definition: GEMEfficiencyAnalyzer.h:33
GEMEfficiencyAnalyzer::me_muon_pt_
MEMap2 me_muon_pt_
Definition: GEMEfficiencyAnalyzer.h:51
MuonServiceProxy
Definition: MuonServiceProxy.h:38
GEMEfficiencyAnalyzer::me_residual_phi_
MEMap3 me_residual_phi_
Definition: GEMEfficiencyAnalyzer.h:58
GEMEfficiencyAnalyzer::eta_nbins_
int eta_nbins_
Definition: GEMEfficiencyAnalyzer.h:39
event
Definition: event.py:1
edm::Event
Definition: Event.h:73