CMS 3D CMS Logo

BPhysicsOniaDQM.h
Go to the documentation of this file.
1 #ifndef BPhysicsOniaDQM_H
2 #define BPhysicsOniaDQM_H
3 
20 
21 #include <string>
22 #include <cmath>
23 #include <map>
24 
26 public:
29 
31  ~BPhysicsOniaDQM() override;
32 
33  void bookHistograms(DQMStore::IBooker&, edm::Run const&, edm::EventSetup const&) override;
35  void analyze(const edm::Event&, const edm::EventSetup&) override;
36 
37 private:
38  float computeMass(const math::XYZVector& vec1, const math::XYZVector& vec2);
39  bool isMuonInAccept(const reco::Muon& recoMu);
40  bool selGlobalMuon(const reco::Muon& recoMu);
41  bool selTrackerMuon(const reco::Muon& recoMu);
42 
43  // ----------member data ---------------------------
45  // Muon Label
48 
49  // Switch for verbosity
51 
52  // The histos
59 
69 
71 };
72 #endif
bool selGlobalMuon(const reco::Muon &recoMu)
edm::EDGetTokenT< reco::VertexCollection > vertex_
MonitorElement * global_background
MonitorElement * tracker_background
MonitorElement * diMuonMass_global
void analyze(const edm::Event &, const edm::EventSetup &) override
Get the analysis.
MonitorElement * glbSigCut
MonitorElement * diMuonMass_standalone
MonitorElement * trkSigCut
bool isMuonInAccept(const reco::Muon &recoMu)
MonitorElement * standalone_background
MonitorElement * staBkgNoCut
std::vector< double > vec1
Definition: HCALResponse.h:15
edm::EDGetTokenT< reco::MuonCollection > theMuonCollectionLabel_
BPhysicsOniaDQM(const edm::ParameterSet &)
Constructor.
~BPhysicsOniaDQM() override
Destructor.
std::string metname
MonitorElement * staSigNoCut
MonitorElement * staSigCut
XYZVectorD XYZVector
spatial vector with cartesian internal representation
Definition: Vector3D.h:31
XYZPointD XYZPoint
point in space with cartesian internal representation
Definition: Point3D.h:12
math::XYZPoint RefVtx
MonitorElement * trkBkgNoCut
MonitorElement * glbBkgNoCut
MonitorElement * diMuonMass_tracker
bool selTrackerMuon(const reco::Muon &recoMu)
float computeMass(const math::XYZVector &vec1, const math::XYZVector &vec2)
void bookHistograms(DQMStore::IBooker &, edm::Run const &, edm::EventSetup const &) override
MonitorElement * trkSigNoCut
std::vector< vec1 > vec2
Definition: HCALResponse.h:16
edm::EDGetTokenT< LumiSummary > lumiSummaryToken_
Definition: Run.h:45
MonitorElement * glbSigNoCut