test
CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
BPhysicsOniaDQM.h
Go to the documentation of this file.
1 #ifndef BPhysicsOniaDQM_H
2 #define BPhysicsOniaDQM_H
3 
19 
20 #include <string>
21 #include <cmath>
22 #include <map>
23 
24 class DQMStore;
25 class MonitorElement;
26 
28  public:
31 
33  virtual ~BPhysicsOniaDQM();
34 
36  edm::EventSetup const&) override;
38  void analyze(const edm::Event&, const edm::EventSetup&);
39 
40  private:
41  float computeMass(const math::XYZVector& vec1, const math::XYZVector& vec2);
42  bool isMuonInAccept(const reco::Muon& recoMu);
43  bool selGlobalMuon(const reco::Muon& recoMu);
44  bool selTrackerMuon(const reco::Muon& recoMu);
45 
46  // ----------member data ---------------------------
48  // Muon Label
51 
52  // Switch for verbosity
54 
55  // The histos
62 
72 
74 };
75 #endif
bool selGlobalMuon(const reco::Muon &recoMu)
edm::EDGetTokenT< reco::VertexCollection > vertex_
MonitorElement * global_background
MonitorElement * tracker_background
MonitorElement * diMuonMass_global
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.
std::string metname
MonitorElement * staSigNoCut
MonitorElement * staSigCut
XYZVectorD XYZVector
spatial vector with cartesian internal representation
Definition: Vector3D.h:30
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)
virtual ~BPhysicsOniaDQM()
Destructor.
void bookHistograms(DQMStore::IBooker &, edm::Run const &, edm::EventSetup const &) override
void analyze(const edm::Event &, const edm::EventSetup &)
Get the analysis.
MonitorElement * trkSigNoCut
std::vector< vec1 > vec2
Definition: HCALResponse.h:16
edm::EDGetTokenT< LumiSummary > lumiSummaryToken_
Definition: Run.h:43
MonitorElement * glbSigNoCut