CMS 3D CMS Logo

DiMuonHistograms.h
Go to the documentation of this file.
1 #ifndef DIMUONHISTOGRAMS_H
2 #define DIMUONHISTOGRAMS_H
3 
11 /* Base Class Headers */
12 #include <memory>
13 #include <fstream>
16 
24 
30 
32 public:
33  /* Constructor */
35 
36  /* Destructor */
37  ~DiMuonHistograms() override;
38 
39  /* Operations */
40  void analyze(const edm::Event&, const edm::EventSetup&) override;
41  void bookHistograms(DQMStore::IBooker&, edm::Run const&, edm::EventSetup const&) override;
42 
43 private:
46 
47  // Switch for verbosity
49 
50  //histo binning parameters
51  int etaBin;
52  int etaBBin;
53  int etaEBin;
55 
56  //Defining relevant eta regions
58 
59  double EtaCutMin;
60  double EtaCutMax;
61  double etaBMin;
62  double etaBMax;
63  double etaECMin;
64  double etaECMax;
65 
66  //Defining the relevant invariant mass regions
67  double LowMassMin;
68  double LowMassMax;
69  double HighMassMin;
70  double HighMassMax;
71 
72  std::vector<MonitorElement*> GlbGlbMuon_LM;
73  std::vector<MonitorElement*> GlbGlbMuon_HM;
74  std::vector<MonitorElement*> StaTrkMuon_LM;
75  std::vector<MonitorElement*> StaTrkMuon_HM;
76  std::vector<MonitorElement*> TrkTrkMuon_LM;
77  std::vector<MonitorElement*> TrkTrkMuon_HM;
78 
79  std::vector<MonitorElement*> LooseLooseMuon;
80  std::vector<MonitorElement*> MediumMediumMuon;
81  std::vector<MonitorElement*> TightTightMuon;
82  std::vector<MonitorElement*> SoftSoftMuon;
83  std::vector<MonitorElement*> LooseLooseMuonBadFrac;
84  std::vector<MonitorElement*> MediumMediumMuonBadFrac;
85  std::vector<MonitorElement*> TightTightMuonBadFrac;
86  std::vector<MonitorElement*> SoftSoftMuonBadFrac;
87 
88  MonitorElement* test; // my test
89 
90  // Labels used
94 
96 
100  int nGlbGlb;
101 };
102 #endif
std::string metname
~DiMuonHistograms() override
void analyze(const edm::Event &, const edm::EventSetup &) override
std::vector< MonitorElement * > MediumMediumMuon
std::vector< MonitorElement * > MediumMediumMuonBadFrac
std::vector< MonitorElement * > GlbGlbMuon_LM
std::vector< MonitorElement * > TightTightMuonBadFrac
edm::ParameterSet parameters
std::string EtaName[3]
edm::EDGetTokenT< edm::View< reco::Muon > > theMuonCollectionLabel_
edm::EDGetTokenT< reco::BeamSpot > theBeamSpotLabel_
std::vector< MonitorElement * > LooseLooseMuonBadFrac
std::vector< MonitorElement * > SoftSoftMuon
std::vector< MonitorElement * > TrkTrkMuon_LM
std::vector< MonitorElement * > StaTrkMuon_LM
edm::EDGetTokenT< reco::VertexCollection > theVertexLabel_
DiMuonHistograms(const edm::ParameterSet &pset)
MuonServiceProxy * theService
MonitorElement * test
std::vector< MonitorElement * > SoftSoftMuonBadFrac
std::vector< MonitorElement * > TrkTrkMuon_HM
void bookHistograms(DQMStore::IBooker &, edm::Run const &, edm::EventSetup const &) override
std::string theFolder
std::vector< MonitorElement * > StaTrkMuon_HM
std::vector< MonitorElement * > GlbGlbMuon_HM
std::vector< MonitorElement * > TightTightMuon
std::vector< MonitorElement * > LooseLooseMuon
Definition: Run.h:45