CMS 3D CMS Logo

TrackSplittingMonitor.h
Go to the documentation of this file.
1 #ifndef TrackSplittingMonitor_H
2 #define TrackSplittingMonitor_H
3 // -*- C++ -*-
4 //
5 // Package: TrackSplittingMonitor
6 // Class: TrackSplittingMonitor
7 //
11 // Original Author: Nhan Tran
12 // Created: Thu 28 22:45:30 CEST 2008
13 
14 #include <fstream>
15 #include <memory>
34 
35 class TProfile;
36 
39 
41 public:
43  ~TrackSplittingMonitor() override = default;
44 
45  void analyze(const edm::Event&, const edm::EventSetup&) override;
46  void bookHistograms(DQMStore::IBooker&, edm::Run const&, edm::EventSetup const&) override;
47  static void fillDescriptions(edm::ConfigurationDescriptions& descriptions);
48 
49 private:
50  void doProfileX(TH2* th2, MonitorElement* me);
52 
53  // ----------member data ---------------------------
54  static constexpr double cmToUm = 10.e4;
55  static constexpr double radToUrad = 10.e3;
56  static constexpr double sqrt2 = 1.41421356237;
57 
58  std::string histname; //for naming the histograms according to algorithm used
60 
66 
72 
75 
76  const bool plotMuons_;
77  const int pixelHitsPerLeg_;
78  const int totalHitsPerLeg_;
79  const double d0Cut_;
80  const double dzCut_;
81  const double ptCut_;
82  const double norchiCut_;
83 
84  // histograms
91 
98 
105 
112 };
113 #endif
MonitorElement * dthetaAbsoluteResiduals_global_
static constexpr double sqrt2
MonitorElement * dcurvNormalizedResiduals_global_
const CSCGeometry * cscGeometry
static constexpr double cmToUm
MonitorElement * dthetaAbsoluteResiduals_tracker_
MonitorElement * ddzNormalizedResiduals_global_
void doProfileX(TH2 *th2, MonitorElement *me)
MonitorElement * ddxyNormalizedResiduals_tracker_
MonitorElement * dcurvAbsoluteResiduals_tracker_
const DTGeometry * dtGeometry
const edm::ESGetToken< CSCGeometry, MuonGeometryRecord > cscGeomToken_
const edm::ESGetToken< TrackerGeometry, TrackerDigiGeometryRecord > tkGeomToken_
MonitorElement * ddzAbsoluteResiduals_global_
void bookHistograms(DQMStore::IBooker &, edm::Run const &, edm::EventSetup const &) override
const RPCGeometry * rpcGeometry
MonitorElement * dphiNormalizedResiduals_global_
MonitorElement * dthetaNormalizedResiduals_tracker_
const edm::EDGetTokenT< std::vector< reco::Muon > > splitMuonsToken_
const edm::ESGetToken< MagneticField, IdealMagneticFieldRecord > mfToken_
MonitorElement * ddxyNormalizedResiduals_global_
MonitorElement * dthetaNormalizedResiduals_global_
const MagneticField * theMagField
MonitorElement * dphiNormalizedResiduals_tracker_
const TrackerGeometry * theGeometry
MonitorElement * dcurvAbsoluteResiduals_global_
MonitorElement * dphiAbsoluteResiduals_tracker_
MonitorElement * ddzNormalizedResiduals_tracker_
MonitorElement * dptAbsoluteResiduals_global_
const edm::ESGetToken< DTGeometry, MuonGeometryRecord > dtGeomToken_
MonitorElement * dptAbsoluteResiduals_tracker_
static void fillDescriptions(edm::ConfigurationDescriptions &descriptions)
TrackSplittingMonitor(const edm::ParameterSet &)
void analyze(const edm::Event &, const edm::EventSetup &) override
MonitorElement * ddzAbsoluteResiduals_tracker_
static constexpr double radToUrad
const edm::EDGetTokenT< std::vector< reco::Track > > splitTracksToken_
MonitorElement * ddxyAbsoluteResiduals_global_
MonitorElement * dcurvNormalizedResiduals_tracker_
MonitorElement * dphiAbsoluteResiduals_global_
MonitorElement * dptNormalizedResiduals_tracker_
MonitorElement * dptNormalizedResiduals_global_
~TrackSplittingMonitor() override=default
MonitorElement * ddxyAbsoluteResiduals_tracker_
Definition: Run.h:45
const edm::ESGetToken< RPCGeometry, MuonGeometryRecord > rpcGeomToken_