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 
25 
31 
32 
34  public:
35  /* Constructor */
37 
38  /* Destructor */
39  ~DiMuonHistograms() override ;
40 
41  /* Operations */
42  void analyze(const edm::Event&, const edm::EventSetup&) override;
43  void bookHistograms(DQMStore::IBooker &, edm::Run const &, edm::EventSetup const &) override;
44 
45  private:
48 
49  // Switch for verbosity
51 
52  //histo binning parameters
53  int etaBin;
54  int etaBBin;
55  int etaEBin;
57 
58  //Defining relevant eta regions
60 
61  double EtaCutMin;
62  double EtaCutMax;
63  double etaBMin;
64  double etaBMax;
65  double etaECMin;
66  double etaECMax;
67 
68 
69  //Defining the relevant invariant mass regions
70  double LowMassMin;
71  double LowMassMax;
72  double HighMassMin;
73  double HighMassMax;
74 
75  std::vector<MonitorElement*> GlbGlbMuon_LM;
76  std::vector<MonitorElement*> GlbGlbMuon_HM;
77  std::vector<MonitorElement*> StaTrkMuon_LM;
78  std::vector<MonitorElement*> StaTrkMuon_HM;
79  std::vector<MonitorElement*> TrkTrkMuon_LM;
80  std::vector<MonitorElement*> TrkTrkMuon_HM;
81 
82  std::vector<MonitorElement*> LooseLooseMuon;
83  std::vector<MonitorElement*> MediumMediumMuon;
84  std::vector<MonitorElement*> TightTightMuon;
85  std::vector<MonitorElement*> SoftSoftMuon;
86  std::vector<MonitorElement*> LooseLooseMuonBadFrac;
87  std::vector<MonitorElement*> MediumMediumMuonBadFrac;
88  std::vector<MonitorElement*> TightTightMuonBadFrac;
89  std::vector<MonitorElement*> SoftSoftMuonBadFrac;
90 
91  MonitorElement* test; // my test
92 
93  // Labels used
97 
99 
103  int nGlbGlb;
104 
105 };
106 #endif
107 
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:44