test
CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
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 
21 
22 class BeamSpot;
23 class TrackCollection;
24 class VertexCollection;
25 class TrackingRecHit;
26 
28 public:
30 
31 protected:
32 
33  void analyze(edm::Event const& iEvent, edm::EventSetup const& iSetup) override;
34  void endLuminosityBlock(edm::LuminosityBlock const& lumiSeg, edm::EventSetup const& eSetup) override;
35  void processHit(const TrackingRecHit& recHit, edm::EventSetup const& iSetup, const TrackerGeometry& tkGeom, double wfac=1);
36  void processClusters(edm::Event const& iEvent, edm::EventSetup const& iSetup, const TrackerGeometry& tkGeom, double wfac=1);
37  void addClusterToMap(uint32_t detid, const SiStripCluster* cluster);
38  void bookHistograms(DQMStore::IBooker &, edm::Run const &, edm::EventSetup const &) override;
39 
40 private:
41 
43 
56 
58  const bool doPUCorrection_;
59  const bool isMC_;
60  const bool haveAllHistograms_;
62  const bool verbose_;
63 
82 
90 
95 
100 
108 
109  // MC only
113 
114  // Exclusive Quantities
124 
129 
134 
135  unsigned long long m_cacheID_;
136 
137  std::vector<float> vpu_;
138  std::map<uint32_t, std::set<const SiStripCluster*> > clusterMap_;
139 };
140 #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_
std::vector< Track > TrackCollection
collection of Tracks
Definition: TrackFwd.h:14
MonitorElement * stripLayerwithMeasurementH_
std::vector< Vertex > VertexCollection
collection of Vertex objects
Definition: VertexFwd.h:9
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:42
void endLuminosityBlock(edm::LuminosityBlock const &lumiSeg, edm::EventSetup const &eSetup) override