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 
37  void analyze(edm::Event const& iEvent, edm::EventSetup const& iSetup) override;
38  void processHit(const TrackingRecHit& recHit, edm::EventSetup const& iSetup, const TrackerGeometry& tkGeom, double wfac=1);
39  void processClusters(edm::Event const& iEvent, edm::EventSetup const& iSetup, const TrackerGeometry& tkGeom, double wfac=1);
40  void addClusterToMap(uint32_t detid, const SiStripCluster* cluster);
41  void bookHistograms(DQMStore::IBooker &, edm::Run const &, edm::EventSetup const &) override;
42 
43 private:
44 
46 
59 
61  const bool doPUCorrection_;
62  const bool isMC_;
63  const bool haveAllHistograms_;
65  const bool verbose_;
66 
85 
93 
98 
103 
111 
112  // MC only
116 
117  // Exclusive Quantities
127 
132 
137 
138  unsigned long long m_cacheID_;
139 
140  std::vector<float> vpu_;
141  std::map<uint32_t, std::set<const SiStripCluster*> > clusterMap_;
142 };
143 #endif
MonitorElement * pixelLayerwithMeasurementH_
MonitorElement * hOnTrkClusChargeThickH_
const edm::InputTag trackTag_
void analyze(edm::Event const &iEvent, edm::EventSetup const &iSetup) override
MonitorElement * hOnTrkClusChargeThinH_
MonitorElement * trackPtOver10GeVH_
const std::string trackQuality_
const edm::EDGetTokenT< edmNew::DetSetVector< SiStripCluster > > clusterToken_
StandaloneTrackMonitor(const edm::ParameterSet &)
MonitorElement * trackChi2bynDOFH_
MonitorElement * hOffTrkClusWidthThickH_
const edm::EDGetTokenT< reco::TrackCollection > trackToken_
const edm::EDGetTokenT< std::vector< PileupSummaryInfo > > puSummaryToken_
MonitorElement * stripLayerwithMeasurementH_
MonitorElement * hOnTrkClusWidthThinH_
MonitorElement * hOffTrkClusWidthThinH_
const std::string puScaleFactorFile_
MonitorElement * hOffTrkClusChargeThinH_
const edm::InputTag vertexTag_
MonitorElement * beamSpotXYposH_
int iEvent
Definition: GenABIO.cc:230
MonitorElement * hOnTrkClusWidthThickH_
MonitorElement * trackqOverperrH_
MonitorElement * trackThetaerrH_
void bookHistograms(DQMStore::IBooker &, edm::Run const &, edm::EventSetup const &) override
const edm::InputTag puSummaryTag_
MonitorElement * nvalidStripHitsH_
MonitorElement * beamSpotZposerrH_
MonitorElement * nLostHitsVsCosThetaH_
MonitorElement * beamSpotXYposerrH_
MonitorElement * hOffTrkClusChargeThickH_
MonitorElement * trackCosThetaH_
const edm::InputTag clusterTag_
MonitorElement * nvalidTrackerHitsH_
MonitorElement * nHitsVsCosThetaH_
void addClusterToMap(uint32_t detid, const SiStripCluster *cluster)
const edm::EDGetTokenT< reco::BeamSpot > bsToken_
MonitorElement * trkLayerwithMeasurementH_
std::map< uint32_t, std::set< const SiStripCluster * > > clusterMap_
const edm::InputTag bsTag_
const edm::EDGetTokenT< reco::VertexCollection > vertexToken_
void processClusters(edm::Event const &iEvent, edm::EventSetup const &iSetup, const TrackerGeometry &tkGeom, double wfac=1)
MonitorElement * nvalidPixelHitsH_
MonitorElement * trackPtUpto2GeVH_
void processHit(const TrackingRecHit &recHit, edm::EventSetup const &iSetup, const TrackerGeometry &tkGeom, double wfac=1)
Definition: Run.h:44