CMS 3D CMS Logo

StandaloneTrackMonitor.h
Go to the documentation of this file.
1 #ifndef DQM_TrackingMonitorSource_StandaloneTrackMonitor_h
2 #define DQM_TrackingMonitorSource_StandaloneTrackMonitor_h
3 
4 #include <string>
5 #include <vector>
6 #include <map>
7 #include <set>
8 
26 
27 class TrackingRecHit;
28 class SiStripCluster;
29 class PileupSummaryInfo;
30 
32 public:
34 
35 protected:
36  void analyze(edm::Event const& iEvent, edm::EventSetup const& iSetup) override;
37  void processHit(const TrackingRecHit& recHit,
38  edm::EventSetup const& iSetup,
39  const TrackerGeometry& tkGeom,
40  double wfac = 1);
41  void processClusters(edm::Event const& iEvent,
42  edm::EventSetup const& iSetup,
43  const TrackerGeometry& tkGeom,
44  double wfac = 1);
45  void addClusterToMap(uint32_t detid, const SiStripCluster* cluster);
46  void bookHistograms(DQMStore::IBooker&, edm::Run const&, edm::EventSetup const&) override;
47 
48 private:
50 
63 
66  const bool doPUCorrection_;
67  const bool isMC_;
68  const bool haveAllHistograms_;
70  const bool verbose_;
71 
90 
98 
103 
108 
116 
117  // MC only
121 
122  // Exclusive Quantities
132 
137 
142 
143  unsigned long long m_cacheID_;
144 
145  std::vector<float> vpu_;
146  std::map<uint32_t, std::set<const SiStripCluster*> > clusterMap_;
147 };
148 #endif
SiStripClusterInfo
Definition: SiStripClusterInfo.h:21
StandaloneTrackMonitor::siStripClusterInfo_
SiStripClusterInfo siStripClusterInfo_
Definition: StandaloneTrackMonitor.h:65
dqm::impl::MonitorElement
Definition: MonitorElement.h:98
StandaloneTrackMonitor::nHitsVsEtaH_
MonitorElement * nHitsVsEtaH_
Definition: StandaloneTrackMonitor.h:125
StandaloneTrackMonitor::beamSpotZposH_
MonitorElement * beamSpotZposH_
Definition: StandaloneTrackMonitor.h:101
StandaloneTrackMonitor::nPixEndcapH_
MonitorElement * nPixEndcapH_
Definition: StandaloneTrackMonitor.h:110
StandaloneTrackMonitor::nHitsVsCosThetaH_
MonitorElement * nHitsVsCosThetaH_
Definition: StandaloneTrackMonitor.h:126
SiStripClusterInfo.h
TrackerGeometry.h
StandaloneTrackMonitor::nVertexH_
MonitorElement * nVertexH_
Definition: StandaloneTrackMonitor.h:107
StandaloneTrackMonitor::nTracksH_
MonitorElement * nTracksH_
Definition: StandaloneTrackMonitor.h:115
ESHandle.h
StandaloneTrackMonitor::parameters_
edm::ParameterSet parameters_
Definition: StandaloneTrackMonitor.h:49
StandaloneTrackMonitor::nvalidPixelHitsH_
MonitorElement * nvalidPixelHitsH_
Definition: StandaloneTrackMonitor.h:93
StandaloneTrackMonitor::trackChargeH_
MonitorElement * trackChargeH_
Definition: StandaloneTrackMonitor.h:85
edm::Run
Definition: Run.h:45
StandaloneTrackMonitor::trackPtUpto2GeVH_
MonitorElement * trackPtUpto2GeVH_
Definition: StandaloneTrackMonitor.h:80
StandaloneTrackMonitor::tracknDOFH_
MonitorElement * tracknDOFH_
Definition: StandaloneTrackMonitor.h:87
edm::EDGetTokenT< reco::TrackCollection >
StandaloneTrackMonitor::vertexXposH_
MonitorElement * vertexXposH_
Definition: StandaloneTrackMonitor.h:104
StandaloneTrackMonitor::clusterTag_
const edm::InputTag clusterTag_
Definition: StandaloneTrackMonitor.h:57
StandaloneTrackMonitor::hOffTrkClusChargeThinH_
MonitorElement * hOffTrkClusChargeThinH_
Definition: StandaloneTrackMonitor.h:138
StandaloneTrackMonitor::trackPterrH_
MonitorElement * trackPterrH_
Definition: StandaloneTrackMonitor.h:82
StandaloneTrackMonitor::folderName_
std::string folderName_
Definition: StandaloneTrackMonitor.h:52
StandaloneTrackMonitor::trueNIntH_
MonitorElement * trueNIntH_
Definition: StandaloneTrackMonitor.h:120
StandaloneTrackMonitor::trackPhiH_
MonitorElement * trackPhiH_
Definition: StandaloneTrackMonitor.h:76
DQMStore.h
StandaloneTrackMonitor::moduleName_
std::string moduleName_
Definition: StandaloneTrackMonitor.h:51
StandaloneTrackMonitor::trackThetaerrH_
MonitorElement * trackThetaerrH_
Definition: StandaloneTrackMonitor.h:75
StandaloneTrackMonitor::stripLayerwithMeasurementH_
MonitorElement * stripLayerwithMeasurementH_
Definition: StandaloneTrackMonitor.h:97
StandaloneTrackMonitor::vertexZposH_
MonitorElement * vertexZposH_
Definition: StandaloneTrackMonitor.h:106
StandaloneTrackMonitor::trackChi2bynDOFH_
MonitorElement * trackChi2bynDOFH_
Definition: StandaloneTrackMonitor.h:89
EDAnalyzer.h
StandaloneTrackMonitor::trackCosThetaH_
MonitorElement * trackCosThetaH_
Definition: StandaloneTrackMonitor.h:74
StandaloneTrackMonitor::nPixBarrelH_
MonitorElement * nPixBarrelH_
Definition: StandaloneTrackMonitor.h:109
StandaloneTrackMonitor::nStripTIBH_
MonitorElement * nStripTIBH_
Definition: StandaloneTrackMonitor.h:111
StandaloneTrackMonitor::puScaleFactorFile_
const std::string puScaleFactorFile_
Definition: StandaloneTrackMonitor.h:69
StandaloneTrackMonitor::trackPhierrH_
MonitorElement * trackPhierrH_
Definition: StandaloneTrackMonitor.h:77
StandaloneTrackMonitor::addClusterToMap
void addClusterToMap(uint32_t detid, const SiStripCluster *cluster)
Definition: StandaloneTrackMonitor.cc:619
StandaloneTrackMonitor::trackd0H_
MonitorElement * trackd0H_
Definition: StandaloneTrackMonitor.h:88
rpcPointValidation_cfi.recHit
recHit
Definition: rpcPointValidation_cfi.py:7
StandaloneTrackMonitor::nStripTOBH_
MonitorElement * nStripTOBH_
Definition: StandaloneTrackMonitor.h:112
StandaloneTrackMonitor::trackEtaH_
MonitorElement * trackEtaH_
Definition: StandaloneTrackMonitor.h:72
StandaloneTrackMonitor::hOffTrkClusWidthThinH_
MonitorElement * hOffTrkClusWidthThinH_
Definition: StandaloneTrackMonitor.h:139
MakerMacros.h
StandaloneTrackMonitor::puSummaryToken_
const edm::EDGetTokenT< std::vector< PileupSummaryInfo > > puSummaryToken_
Definition: StandaloneTrackMonitor.h:61
StandaloneTrackMonitor::analyze
void analyze(edm::Event const &iEvent, edm::EventSetup const &iSetup) override
Definition: StandaloneTrackMonitor.cc:320
TrackFwd.h
StandaloneTrackMonitor::isMC_
const bool isMC_
Definition: StandaloneTrackMonitor.h:67
BeamSpot.h
StandaloneTrackMonitor::processClusters
void processClusters(edm::Event const &iEvent, edm::EventSetup const &iSetup, const TrackerGeometry &tkGeom, double wfac=1)
Definition: StandaloneTrackMonitor.cc:520
StandaloneTrackMonitor::hOffTrkClusWidthThickH_
MonitorElement * hOffTrkClusWidthThickH_
Definition: StandaloneTrackMonitor.h:141
StandaloneTrackMonitor::nStripTIDH_
MonitorElement * nStripTIDH_
Definition: StandaloneTrackMonitor.h:114
StandaloneTrackMonitor::bsToken_
const edm::EDGetTokenT< reco::BeamSpot > bsToken_
Definition: StandaloneTrackMonitor.h:59
Service.h
StandaloneTrackMonitor::vpu_
std::vector< float > vpu_
Definition: StandaloneTrackMonitor.h:145
StandaloneTrackMonitor::nHitsVsPhiH_
MonitorElement * nHitsVsPhiH_
Definition: StandaloneTrackMonitor.h:127
StandaloneTrackMonitor::nvalidTrackerHitsH_
MonitorElement * nvalidTrackerHitsH_
Definition: StandaloneTrackMonitor.h:92
StandaloneTrackMonitor::trackChi2H_
MonitorElement * trackChi2H_
Definition: StandaloneTrackMonitor.h:86
StandaloneTrackMonitor::nLostHitsVsEtaH_
MonitorElement * nLostHitsVsEtaH_
Definition: StandaloneTrackMonitor.h:129
StandaloneTrackMonitor::hOnTrkClusChargeThinH_
MonitorElement * hOnTrkClusChargeThinH_
Definition: StandaloneTrackMonitor.h:133
DQMEDAnalyzer.h
AlCaHLTBitMon_QueryRunRegistry.string
string
Definition: AlCaHLTBitMon_QueryRunRegistry.py:256
StandaloneTrackMonitor::hOffTrkClusChargeThickH_
MonitorElement * hOffTrkClusChargeThickH_
Definition: StandaloneTrackMonitor.h:140
StandaloneTrackMonitor::hOnTrkClusWidthThinH_
MonitorElement * hOnTrkClusWidthThinH_
Definition: StandaloneTrackMonitor.h:134
DQMEDAnalyzer
Definition: DQMEDAnalyzer.py:1
StandaloneTrackMonitor::nStripTECH_
MonitorElement * nStripTECH_
Definition: StandaloneTrackMonitor.h:113
StandaloneTrackMonitor::trackPtH_
MonitorElement * trackPtH_
Definition: StandaloneTrackMonitor.h:79
StandaloneTrackMonitor::beamSpotXYposH_
MonitorElement * beamSpotXYposH_
Definition: StandaloneTrackMonitor.h:99
StandaloneTrackMonitor::trackPH_
MonitorElement * trackPH_
Definition: StandaloneTrackMonitor.h:78
StandaloneTrackMonitor::trackToken_
const edm::EDGetTokenT< reco::TrackCollection > trackToken_
Definition: StandaloneTrackMonitor.h:58
edm::ParameterSet
Definition: ParameterSet.h:36
StandaloneTrackMonitor::verbose_
const bool verbose_
Definition: StandaloneTrackMonitor.h:70
Event.h
StandaloneTrackMonitor::nLostHitsVsCosThetaH_
MonitorElement * nLostHitsVsCosThetaH_
Definition: StandaloneTrackMonitor.h:130
StandaloneTrackMonitor::trackqOverperrH_
MonitorElement * trackqOverperrH_
Definition: StandaloneTrackMonitor.h:84
StandaloneTrackMonitor::vertexYposH_
MonitorElement * vertexYposH_
Definition: StandaloneTrackMonitor.h:105
StandaloneTrackMonitor::StandaloneTrackMonitor
StandaloneTrackMonitor(const edm::ParameterSet &)
Definition: StandaloneTrackMonitor.cc:25
StandaloneTrackMonitor::puSummaryTag_
const edm::InputTag puSummaryTag_
Definition: StandaloneTrackMonitor.h:56
iEvent
int iEvent
Definition: GenABIO.cc:224
StandaloneTrackMonitor::nvalidStripHitsH_
MonitorElement * nvalidStripHitsH_
Definition: StandaloneTrackMonitor.h:94
edm::EventSetup
Definition: EventSetup.h:57
HLTConfigProvider.h
StandaloneTrackMonitor
Definition: StandaloneTrackMonitor.h:31
StandaloneTrackMonitor::bunchCrossingH_
MonitorElement * bunchCrossingH_
Definition: StandaloneTrackMonitor.h:118
StandaloneTrackMonitor::beamSpotXYposerrH_
MonitorElement * beamSpotXYposerrH_
Definition: StandaloneTrackMonitor.h:100
StandaloneTrackMonitor::beamSpotZposerrH_
MonitorElement * beamSpotZposerrH_
Definition: StandaloneTrackMonitor.h:102
InputTag.h
StandaloneTrackMonitor::clusterMap_
std::map< uint32_t, std::set< const SiStripCluster * > > clusterMap_
Definition: StandaloneTrackMonitor.h:146
StandaloneTrackMonitor::bsTag_
const edm::InputTag bsTag_
Definition: StandaloneTrackMonitor.h:54
TrackingRecHit
Definition: TrackingRecHit.h:21
StandaloneTrackMonitor::doPUCorrection_
const bool doPUCorrection_
Definition: StandaloneTrackMonitor.h:66
VertexFwd.h
StandaloneTrackMonitor::trackPtOver10GeVH_
MonitorElement * trackPtOver10GeVH_
Definition: StandaloneTrackMonitor.h:81
StandaloneTrackMonitor::nLostHitsVsPhiH_
MonitorElement * nLostHitsVsPhiH_
Definition: StandaloneTrackMonitor.h:131
StandaloneTrackMonitor::hOnTrkClusChargeThickH_
MonitorElement * hOnTrkClusChargeThickH_
Definition: StandaloneTrackMonitor.h:135
Frameworkfwd.h
StandaloneTrackMonitor::trackqOverpH_
MonitorElement * trackqOverpH_
Definition: StandaloneTrackMonitor.h:83
StandaloneTrackMonitor::hOnTrkClusWidthThickH_
MonitorElement * hOnTrkClusWidthThickH_
Definition: StandaloneTrackMonitor.h:136
StandaloneTrackMonitor::m_cacheID_
unsigned long long m_cacheID_
Definition: StandaloneTrackMonitor.h:143
StandaloneTrackMonitor::pixelLayerwithMeasurementH_
MonitorElement * pixelLayerwithMeasurementH_
Definition: StandaloneTrackMonitor.h:96
StandaloneTrackMonitor::clusterToken_
const edm::EDGetTokenT< edmNew::DetSetVector< SiStripCluster > > clusterToken_
Definition: StandaloneTrackMonitor.h:62
StandaloneTrackMonitor::nPUH_
MonitorElement * nPUH_
Definition: StandaloneTrackMonitor.h:119
StandaloneTrackMonitor::trackTag_
const edm::InputTag trackTag_
Definition: StandaloneTrackMonitor.h:53
StandaloneTrackMonitor::trackEtaerrH_
MonitorElement * trackEtaerrH_
Definition: StandaloneTrackMonitor.h:73
StandaloneTrackMonitor::trackQuality_
const std::string trackQuality_
Definition: StandaloneTrackMonitor.h:64
StandaloneTrackMonitor::nLostHitsVspTH_
MonitorElement * nLostHitsVspTH_
Definition: StandaloneTrackMonitor.h:128
dqm::implementation::IBooker
Definition: DQMStore.h:43
StandaloneTrackMonitor::vertexToken_
const edm::EDGetTokenT< reco::VertexCollection > vertexToken_
Definition: StandaloneTrackMonitor.h:60
StandaloneTrackMonitor::bookHistograms
void bookHistograms(DQMStore::IBooker &, edm::Run const &, edm::EventSetup const &) override
Definition: StandaloneTrackMonitor.cc:126
ParameterSet.h
edm::Event
Definition: Event.h:73
StandaloneTrackMonitor::nlostHitsH_
MonitorElement * nlostHitsH_
Definition: StandaloneTrackMonitor.h:91
SiStripCluster
Definition: SiStripCluster.h:9
StandaloneTrackMonitor::nHitsVsnVtxH_
MonitorElement * nHitsVsnVtxH_
Definition: StandaloneTrackMonitor.h:124
DetSetVectorNew.h
edm::InputTag
Definition: InputTag.h:15
StandaloneTrackMonitor::trkLayerwithMeasurementH_
MonitorElement * trkLayerwithMeasurementH_
Definition: StandaloneTrackMonitor.h:95
PileupSummaryInfo
Definition: PileupSummaryInfo.h:22
StandaloneTrackMonitor::processHit
void processHit(const TrackingRecHit &recHit, edm::EventSetup const &iSetup, const TrackerGeometry &tkGeom, double wfac=1)
Definition: StandaloneTrackMonitor.cc:564
StandaloneTrackMonitor::vertexTag_
const edm::InputTag vertexTag_
Definition: StandaloneTrackMonitor.h:55
TrackerGeometry
Definition: TrackerGeometry.h:14
StandaloneTrackMonitor::nHitsVspTH_
MonitorElement * nHitsVspTH_
Definition: StandaloneTrackMonitor.h:123
StandaloneTrackMonitor::haveAllHistograms_
const bool haveAllHistograms_
Definition: StandaloneTrackMonitor.h:68