test
CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
List of all members | Public Member Functions | Protected Member Functions | Private Attributes
StandaloneTrackMonitor Class Reference

#include <StandaloneTrackMonitor.h>

Inheritance diagram for StandaloneTrackMonitor:
DQMEDAnalyzer edm::stream::EDAnalyzer< edm::RunSummaryCache< dqmDetails::NoCache >, edm::LuminosityBlockSummaryCache< dqmDetails::NoCache > > edm::stream::EDAnalyzerBase edm::EDConsumerBase

Public Member Functions

 StandaloneTrackMonitor (const edm::ParameterSet &)
 
- Public Member Functions inherited from DQMEDAnalyzer
virtual void beginRun (edm::Run const &, edm::EventSetup const &) final
 
virtual void beginStream (edm::StreamID id) final
 
virtual void dqmBeginRun (edm::Run const &, edm::EventSetup const &)
 
 DQMEDAnalyzer (void)
 
virtual void endLuminosityBlockSummary (edm::LuminosityBlock const &, edm::EventSetup const &, dqmDetails::NoCache *) const final
 
virtual void endRunSummary (edm::Run const &, edm::EventSetup const &, dqmDetails::NoCache *) const final
 
uint32_t streamId () const
 
- Public Member Functions inherited from edm::stream::EDAnalyzer< edm::RunSummaryCache< dqmDetails::NoCache >, edm::LuminosityBlockSummaryCache< dqmDetails::NoCache > >
 EDAnalyzer ()=default
 
- Public Member Functions inherited from edm::stream::EDAnalyzerBase
void callWhenNewProductsRegistered (std::function< void(BranchDescription const &)> const &func)
 
 EDAnalyzerBase ()
 
ModuleDescription const & moduleDescription () const
 
virtual ~EDAnalyzerBase ()
 
- Public Member Functions inherited from edm::EDConsumerBase
std::vector< ConsumesInfoconsumesInfo () const
 
 EDConsumerBase ()
 
ProductHolderIndexAndSkipBit indexFrom (EDGetToken, BranchType, TypeID const &) const
 
void itemsMayGet (BranchType, std::vector< ProductHolderIndexAndSkipBit > &) const
 
void itemsToGet (BranchType, std::vector< ProductHolderIndexAndSkipBit > &) const
 
std::vector
< ProductHolderIndexAndSkipBit >
const & 
itemsToGetFromEvent () const
 
void labelsForToken (EDGetToken iToken, Labels &oLabels) const
 
void modulesDependentUpon (const std::string &iProcessName, std::vector< const char * > &oModuleLabels) const
 
void modulesWhoseProductsAreConsumed (std::vector< ModuleDescription const * > &modules, ProductRegistry const &preg, std::map< std::string, ModuleDescription const * > const &labelsToDesc, std::string const &processName) const
 
bool registeredToConsume (ProductHolderIndex, bool, BranchType) const
 
bool registeredToConsumeMany (TypeID const &, BranchType) const
 
void updateLookup (BranchType iBranchType, ProductHolderIndexHelper const &)
 
virtual ~EDConsumerBase ()
 

Protected Member Functions

void addClusterToMap (uint32_t detid, const SiStripCluster *cluster)
 
void analyze (edm::Event const &iEvent, edm::EventSetup const &iSetup) override
 
void bookHistograms (DQMStore::IBooker &, edm::Run const &, edm::EventSetup const &)
 
void endLuminosityBlock (edm::LuminosityBlock const &lumiSeg, edm::EventSetup const &eSetup) override
 
void processClusters (edm::Event const &iEvent, edm::EventSetup const &iSetup, const TrackerGeometry &tkGeom, double wfac=1)
 
void processHit (const TrackingRecHit &recHit, edm::EventSetup const &iSetup, const TrackerGeometry &tkGeom, double wfac=1)
 
- Protected Member Functions inherited from edm::EDConsumerBase
template<typename ProductType , BranchType B = InEvent>
EDGetTokenT< ProductType > consumes (edm::InputTag const &tag)
 
EDGetToken consumes (const TypeToGet &id, edm::InputTag const &tag)
 
template<BranchType B>
EDGetToken consumes (TypeToGet const &id, edm::InputTag const &tag)
 
ConsumesCollector consumesCollector ()
 Use a ConsumesCollector to gather consumes information from helper functions. More...
 
template<typename ProductType , BranchType B = InEvent>
void consumesMany ()
 
void consumesMany (const TypeToGet &id)
 
template<BranchType B>
void consumesMany (const TypeToGet &id)
 
template<typename ProductType , BranchType B = InEvent>
EDGetTokenT< ProductType > mayConsume (edm::InputTag const &tag)
 
EDGetToken mayConsume (const TypeToGet &id, edm::InputTag const &tag)
 
template<BranchType B>
EDGetToken mayConsume (const TypeToGet &id, edm::InputTag const &tag)
 

Private Attributes

MonitorElementbeamSpotXYposerrH_
 
MonitorElementbeamSpotXYposH_
 
MonitorElementbeamSpotZposerrH_
 
MonitorElementbeamSpotZposH_
 
const edm::InputTag bsTag_
 
const edm::EDGetTokenT
< reco::BeamSpot
bsToken_
 
MonitorElementbunchCrossingH_
 
std::map< uint32_t, std::set
< const SiStripCluster * > > 
clusterMap_
 
const edm::InputTag clusterTag_
 
const edm::EDGetTokenT
< edmNew::DetSetVector
< SiStripCluster > > 
clusterToken_
 
const bool doPUCorrection_
 
std::string folderName_
 
const bool haveAllHistograms_
 
MonitorElementhOffTrkClusChargeThickH_
 
MonitorElementhOffTrkClusChargeThinH_
 
MonitorElementhOffTrkClusWidthThickH_
 
MonitorElementhOffTrkClusWidthThinH_
 
MonitorElementhOnTrkClusChargeThickH_
 
MonitorElementhOnTrkClusChargeThinH_
 
MonitorElementhOnTrkClusWidthThickH_
 
MonitorElementhOnTrkClusWidthThinH_
 
const bool isMC_
 
unsigned long long m_cacheID_
 
std::string moduleName_
 
MonitorElementnHitsVsCosThetaH_
 
MonitorElementnHitsVsEtaH_
 
MonitorElementnHitsVsnVtxH_
 
MonitorElementnHitsVsPhiH_
 
MonitorElementnHitsVspTH_
 
MonitorElementnlostHitsH_
 
MonitorElementnLostHitsVsCosThetaH_
 
MonitorElementnLostHitsVsEtaH_
 
MonitorElementnLostHitsVsPhiH_
 
MonitorElementnLostHitsVspTH_
 
MonitorElementnPixBarrelH_
 
MonitorElementnPixEndcapH_
 
MonitorElementnPUH_
 
MonitorElementnStripTECH_
 
MonitorElementnStripTIBH_
 
MonitorElementnStripTIDH_
 
MonitorElementnStripTOBH_
 
MonitorElementnTracksH_
 
MonitorElementnvalidPixelHitsH_
 
MonitorElementnvalidStripHitsH_
 
MonitorElementnvalidTrackerHitsH_
 
MonitorElementnVertexH_
 
edm::ParameterSet parameters_
 
MonitorElementpixelLayerwithMeasurementH_
 
const std::string puScaleFactorFile_
 
const edm::InputTag puSummaryTag_
 
const edm::EDGetTokenT
< std::vector
< PileupSummaryInfo > > 
puSummaryToken_
 
MonitorElementstripLayerwithMeasurementH_
 
MonitorElementtrackChargeH_
 
MonitorElementtrackChi2bynDOFH_
 
MonitorElementtrackChi2H_
 
MonitorElementtrackCosThetaH_
 
MonitorElementtrackd0H_
 
MonitorElementtrackEtaerrH_
 
MonitorElementtrackEtaH_
 
MonitorElementtracknDOFH_
 
MonitorElementtrackPH_
 
MonitorElementtrackPhierrH_
 
MonitorElementtrackPhiH_
 
MonitorElementtrackPterrH_
 
MonitorElementtrackPtH_
 
MonitorElementtrackPtOver10GeVH_
 
MonitorElementtrackPtUpto2GeVH_
 
MonitorElementtrackqOverperrH_
 
MonitorElementtrackqOverpH_
 
const std::string trackQuality_
 
const edm::InputTag trackTag_
 
MonitorElementtrackThetaerrH_
 
const edm::EDGetTokenT
< reco::TrackCollection
trackToken_
 
MonitorElementtrkLayerwithMeasurementH_
 
MonitorElementtrueNIntH_
 
const bool verbose_
 
const edm::InputTag vertexTag_
 
const edm::EDGetTokenT
< reco::VertexCollection
vertexToken_
 
MonitorElementvertexXposH_
 
MonitorElementvertexYposH_
 
MonitorElementvertexZposH_
 
std::vector< float > vpu_
 

Additional Inherited Members

- Public Types inherited from edm::stream::EDAnalyzer< edm::RunSummaryCache< dqmDetails::NoCache >, edm::LuminosityBlockSummaryCache< dqmDetails::NoCache > >
typedef CacheContexts< T...> CacheTypes
 
typedef CacheTypes::GlobalCache GlobalCache
 
typedef AbilityChecker< T...> HasAbility
 
typedef
CacheTypes::LuminosityBlockCache 
LuminosityBlockCache
 
typedef
LuminosityBlockContextT
< LuminosityBlockCache,
RunCache, GlobalCache
LuminosityBlockContext
 
typedef
CacheTypes::LuminosityBlockSummaryCache 
LuminosityBlockSummaryCache
 
typedef CacheTypes::RunCache RunCache
 
typedef RunContextT< RunCache,
GlobalCache
RunContext
 
typedef CacheTypes::RunSummaryCache RunSummaryCache
 
- Public Types inherited from edm::stream::EDAnalyzerBase
typedef EDAnalyzerAdaptorBase ModuleType
 
- Public Types inherited from edm::EDConsumerBase
typedef ProductLabels Labels
 
- Static Public Member Functions inherited from DQMEDAnalyzer
static std::shared_ptr
< dqmDetails::NoCache
globalBeginLuminosityBlockSummary (edm::LuminosityBlock const &, edm::EventSetup const &, LuminosityBlockContext const *)
 
static std::shared_ptr
< dqmDetails::NoCache
globalBeginRunSummary (edm::Run const &, edm::EventSetup const &, RunContext const *)
 
static void globalEndLuminosityBlockSummary (edm::LuminosityBlock const &, edm::EventSetup const &, LuminosityBlockContext const *, dqmDetails::NoCache *)
 
static void globalEndRunSummary (edm::Run const &, edm::EventSetup const &, RunContext const *, dqmDetails::NoCache *)
 
- Static Public Member Functions inherited from edm::stream::EDAnalyzerBase
static const std::string & baseType ()
 
static void fillDescriptions (ConfigurationDescriptions &descriptions)
 
static void prevalidate (ConfigurationDescriptions &descriptions)
 

Detailed Description

Definition at line 27 of file StandaloneTrackMonitor.h.

Constructor & Destructor Documentation

StandaloneTrackMonitor::StandaloneTrackMonitor ( const edm::ParameterSet ps)

Definition at line 26 of file StandaloneTrackMonitor.cc.

References beamSpotXYposerrH_, beamSpotXYposH_, beamSpotZposerrH_, beamSpotZposH_, bunchCrossingH_, doPUCorrection_, python.connectstrParser::f1, hOffTrkClusChargeThickH_, hOffTrkClusChargeThinH_, hOffTrkClusWidthThickH_, hOffTrkClusWidthThinH_, hOnTrkClusChargeThickH_, hOnTrkClusChargeThinH_, hOnTrkClusWidthThickH_, hOnTrkClusWidthThinH_, i, isMC_, nHitsVsCosThetaH_, nHitsVsEtaH_, nHitsVsnVtxH_, nHitsVsPhiH_, nHitsVspTH_, nlostHitsH_, nLostHitsVsCosThetaH_, nLostHitsVsEtaH_, nLostHitsVsPhiH_, nLostHitsVspTH_, nPixBarrelH_, nPixEndcapH_, nPUH_, nStripTECH_, nStripTIBH_, nStripTIDH_, nStripTOBH_, nTracksH_, nvalidPixelHitsH_, nvalidStripHitsH_, nvalidTrackerHitsH_, nVertexH_, pixelLayerwithMeasurementH_, puScaleFactorFile_, stripLayerwithMeasurementH_, trackChargeH_, trackChi2bynDOFH_, trackChi2H_, trackCosThetaH_, trackd0H_, trackEtaerrH_, trackEtaH_, tracknDOFH_, trackPH_, trackPhierrH_, trackPhiH_, trackPterrH_, trackPtH_, trackPtOver10GeVH_, trackPtUpto2GeVH_, trackqOverperrH_, trackqOverpH_, trackThetaerrH_, trkLayerwithMeasurementH_, trueNIntH_, vertexXposH_, vertexYposH_, vertexZposH_, and vpu_.

26  :
27  parameters_(ps),
28  moduleName_(parameters_.getUntrackedParameter<std::string>("moduleName", "StandaloneTrackMonitor")),
29  folderName_(parameters_.getUntrackedParameter<std::string>("folderName", "highPurityTracks")),
30  trackTag_(parameters_.getUntrackedParameter<edm::InputTag>("trackInputTag", edm::InputTag("generalTracks"))),
31  bsTag_(parameters_.getUntrackedParameter<edm::InputTag>("offlineBeamSpot", edm::InputTag("offlineBeamSpot"))),
32  vertexTag_(parameters_.getUntrackedParameter<edm::InputTag>("vertexTag", edm::InputTag("offlinePrimaryVertices"))),
34  clusterTag_(parameters_.getUntrackedParameter<edm::InputTag>("clusterTag", edm::InputTag("siStripClusters"))),
35  trackToken_(consumes<reco::TrackCollection>(trackTag_)),
36  bsToken_(consumes<reco::BeamSpot>(bsTag_)),
37  vertexToken_(consumes<reco::VertexCollection>(vertexTag_)),
38  puSummaryToken_(consumes<std::vector<PileupSummaryInfo> >(puSummaryTag_)),
40  trackQuality_(parameters_.getUntrackedParameter<std::string>("trackQuality", "highPurity")),
41  doPUCorrection_(parameters_.getUntrackedParameter<bool>("doPUCorrection", false)),
42  isMC_(parameters_.getUntrackedParameter<bool>("isMC", false)),
43  haveAllHistograms_(parameters_.getUntrackedParameter<bool>("haveAllHistograms", false)),
44  puScaleFactorFile_(parameters_.getUntrackedParameter<std::string>("puScaleFactorFile", "PileupScaleFactor_run203002.root")),
45  verbose_(parameters_.getUntrackedParameter<bool>("verbose", false))
46 {
47  trackEtaH_ = nullptr;
48  trackEtaerrH_ = nullptr;
49  trackCosThetaH_ = nullptr;
50  trackThetaerrH_ = nullptr;
51  trackPhiH_ = nullptr;
52  trackPhierrH_ = nullptr;
53  trackPH_ = nullptr;
54  trackPtH_ = nullptr;
55  trackPtUpto2GeVH_ = nullptr;
56  trackPtOver10GeVH_ = nullptr;
57  trackPterrH_ = nullptr;
58  trackqOverpH_ = nullptr;
59  trackqOverperrH_ = nullptr;
60  trackChargeH_ = nullptr;
61  nlostHitsH_ = nullptr;
62  nvalidTrackerHitsH_ = nullptr;
63  nvalidPixelHitsH_ = nullptr;
64  nvalidStripHitsH_ = nullptr;
65  trkLayerwithMeasurementH_ = nullptr;
68  beamSpotXYposH_ = nullptr;
69  beamSpotXYposerrH_ = nullptr;
70  beamSpotZposH_ = nullptr;
71  beamSpotZposerrH_ = nullptr;
72  trackChi2H_ = nullptr;
73  tracknDOFH_ = nullptr;
74  trackd0H_ = nullptr;
75  trackChi2bynDOFH_ = nullptr;
76  vertexXposH_ = nullptr;
77  vertexYposH_ = nullptr;
78  vertexZposH_ = nullptr;
79 
80  nPixBarrelH_ = nullptr;
81  nPixEndcapH_ = nullptr;
82  nStripTIBH_ = nullptr;
83  nStripTOBH_ = nullptr;
84  nStripTECH_ = nullptr;
85  nStripTIDH_ = nullptr;
86  nTracksH_ = nullptr;
87 
88  // for MC only
89  nVertexH_ = nullptr;
90  bunchCrossingH_ = nullptr;
91  nPUH_ = nullptr;
92  trueNIntH_ = nullptr;
93 
94  nHitsVspTH_ = nullptr;
95  nHitsVsEtaH_ = nullptr;
96  nHitsVsCosThetaH_ = nullptr;
97  nHitsVsPhiH_ = nullptr;
98  nHitsVsnVtxH_ = nullptr;
99  nLostHitsVspTH_ = nullptr;
100  nLostHitsVsEtaH_ = nullptr;
101  nLostHitsVsCosThetaH_ = nullptr;
102  nLostHitsVsPhiH_ = nullptr;
103 
104  hOnTrkClusChargeThinH_ = nullptr;
105  hOnTrkClusWidthThinH_ = nullptr;
106  hOnTrkClusChargeThickH_ = nullptr;
107  hOnTrkClusWidthThickH_ = nullptr;
108 
109  hOffTrkClusChargeThinH_ = nullptr;
110  hOffTrkClusWidthThinH_ = nullptr;
111  hOffTrkClusChargeThickH_ = nullptr;
112  hOffTrkClusWidthThickH_ = nullptr;
113 
114  // Read pileup weight factors
115  if (isMC_ && doPUCorrection_) {
116  vpu_.clear();
117  TFile* f1 = TFile::Open(puScaleFactorFile_.c_str());
118  TH1F* h1 = dynamic_cast<TH1F*>(f1->Get("pileupweight"));
119  for (int i = 1; i <= h1->GetNbinsX(); ++i) vpu_.push_back(h1->GetBinContent(i));
120  f1->Close();
121  }
122 }
MonitorElement * pixelLayerwithMeasurementH_
MonitorElement * hOnTrkClusChargeThickH_
const edm::InputTag trackTag_
T getUntrackedParameter(std::string const &, T const &) const
int i
Definition: DBlmapReader.cc:9
MonitorElement * hOnTrkClusChargeThinH_
MonitorElement * trackPtOver10GeVH_
const std::string trackQuality_
const edm::EDGetTokenT< edmNew::DetSetVector< SiStripCluster > > clusterToken_
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_
EDGetTokenT< ProductType > consumes(edm::InputTag const &tag)
const edm::InputTag vertexTag_
MonitorElement * beamSpotXYposH_
MonitorElement * hOnTrkClusWidthThickH_
MonitorElement * trackqOverperrH_
MonitorElement * trackThetaerrH_
const edm::InputTag puSummaryTag_
MonitorElement * nvalidStripHitsH_
MonitorElement * beamSpotZposerrH_
MonitorElement * nLostHitsVsCosThetaH_
MonitorElement * beamSpotXYposerrH_
MonitorElement * hOffTrkClusChargeThickH_
MonitorElement * trackCosThetaH_
const edm::InputTag clusterTag_
MonitorElement * nvalidTrackerHitsH_
MonitorElement * nHitsVsCosThetaH_
const edm::EDGetTokenT< reco::BeamSpot > bsToken_
MonitorElement * trkLayerwithMeasurementH_
const edm::InputTag bsTag_
const edm::EDGetTokenT< reco::VertexCollection > vertexToken_
MonitorElement * nvalidPixelHitsH_
MonitorElement * trackPtUpto2GeVH_

Member Function Documentation

void StandaloneTrackMonitor::addClusterToMap ( uint32_t  detid,
const SiStripCluster cluster 
)
protected

Definition at line 540 of file StandaloneTrackMonitor.cc.

References clusterMap_, and alignCSCRings::s.

Referenced by processHit().

540  {
541  std::map<uint32_t, std::set<const SiStripCluster*> >::iterator it = clusterMap_.find(detid);
542  if (it == clusterMap_.end()) {
543  std::set<const SiStripCluster*> s;
544  s.insert(cluster);
545  clusterMap_.insert(std::pair<uint32_t, std::set<const SiStripCluster*> >(detid, s));
546  }
547  else {
548  std::set<const SiStripCluster*>& s = it->second;
549  s.insert(cluster);
550  }
551 }
std::map< uint32_t, std::set< const SiStripCluster * > > clusterMap_
void StandaloneTrackMonitor::analyze ( edm::Event const &  iEvent,
edm::EventSetup const &  iSetup 
)
overrideprotectedvirtual

Implements edm::stream::EDAnalyzerBase.

Definition at line 254 of file StandaloneTrackMonitor.cc.

References SiPixelRawToDigiRegional_cfi::beamSpot, beamSpotXYposerrH_, beamSpotXYposH_, beamSpotZposerrH_, beamSpotZposH_, bsToken_, bunchCrossingH_, RecoTauCleanerPlugins::charge, funct::cos(), DetId::det(), doPUCorrection_, eta, MonitorElement::Fill(), TrackingRecHit::geographicalId(), edm::EventSetup::get(), edm::Event::getByToken(), haveAllHistograms_, reco::HitPattern::hitPattern, edm::EventBase::isRealData(), edm::HandleBase::isValid(), TrackingRecHit::isValid(), ndof, nHitsVsCosThetaH_, nHitsVsEtaH_, nHitsVsnVtxH_, nHitsVsPhiH_, nHitsVspTH_, nlostHitsH_, nLostHitsVsCosThetaH_, nLostHitsVsEtaH_, nLostHitsVsPhiH_, nLostHitsVspTH_, nPixBarrelH_, nPixEndcapH_, nPUH_, nStripTECH_, nStripTIBH_, nStripTIDH_, nStripTOBH_, nTracksH_, reco::HitPattern::numberOfValidPixelHits(), reco::HitPattern::numberOfValidStripHits(), reco::HitPattern::numberOfValidTrackerHits(), nvalidPixelHitsH_, nvalidStripHitsH_, nvalidTrackerHitsH_, nVertexH_, AlCaHLTBitMon_ParallelJobs::p, phi, PixelSubdetector::PixelBarrel, PixelSubdetector::PixelEndcap, reco::HitPattern::pixelLayersWithMeasurement(), pixelLayerwithMeasurementH_, processClusters(), processHit(), EnergyCorrector::pt, puSummaryToken_, HLT_25ns14e33_v1_cff::quality, reco::TrackBase::qualityByName(), reco::HitPattern::stripLayersWithMeasurement(), stripLayerwithMeasurementH_, DetId::subdetId(), StripSubdetector::TEC, theta(), StripSubdetector::TIB, StripSubdetector::TID, StripSubdetector::TOB, trackChargeH_, trackChi2bynDOFH_, trackChi2H_, trackCosThetaH_, trackd0H_, DetId::Tracker, reco::HitPattern::trackerLayersWithMeasurement(), trackEtaerrH_, trackEtaH_, tracknDOFH_, trackPH_, trackPhierrH_, trackPhiH_, trackPterrH_, trackPtH_, trackPtOver10GeVH_, trackPtUpto2GeVH_, trackqOverperrH_, trackqOverpH_, trackQuality_, testEve_cfg::tracks, trackTag_, trackThetaerrH_, trackToken_, trkLayerwithMeasurementH_, trueNIntH_, findQualityFiles::v, verbose_, vertexTag_, vertexToken_, vertexXposH_, vertexYposH_, vertexZposH_, and vpu_.

254  {
255  // Get event setup (to get global transformation)
257  iSetup.get<TrackerDigiGeometryRecord>().get(geomHandle);
258  const TrackerGeometry& tkGeom = (*geomHandle);
259 
260  // Primary vertex collection
262  iEvent.getByToken(vertexToken_, vertexColl);
263 
264  // Beam spot
266  iEvent.getByToken(bsToken_, beamSpot);
267 
268  // Track collection
270  iEvent.getByToken(trackToken_, tracks);
271 
272  // Access PU information
273  double wfac = 1.0; // for data
274  if (!iEvent.isRealData()) {
276  iEvent.getByToken(puSummaryToken_, PupInfo);
277 
278  if (verbose_) edm::LogInfo("StandaloneTrackMonitor") << "nPUColl = " << PupInfo->size();
279  for (auto const& v : *PupInfo) {
280  int bx = v.getBunchCrossing();
282  if (bx == 0) {
283  if (nPUH_) nPUH_->Fill(v.getPU_NumInteractions());
284  int ntrueInt = v.getTrueNumInteractions();
285  if (trueNIntH_) trueNIntH_->Fill(ntrueInt);
286  if (doPUCorrection_)
287  if (ntrueInt > -1 && ntrueInt < int(vpu_.size())) wfac = vpu_.at(ntrueInt);
288  }
289  }
290  }
291  if (verbose_) edm::LogInfo("StandaloneTrackMonitor") << "PU reweight factor = " << wfac;
292 
293  if (!vertexColl.isValid())
294  edm::LogError("DqmTrackStudy") << "Error! Failed to get reco::Vertex Collection, " << vertexTag_;
295  if (haveAllHistograms_) {
296  int nvtx = (vertexColl.isValid() ? vertexColl->size() : 0);
297  nVertexH_->Fill(nvtx);
298  }
299 
300  int ntracks = 0;
301  if (tracks.isValid()) {
302  edm::LogInfo("StandaloneTrackMonitor") << "Total # of Tracks: " << tracks->size();
303  if (verbose_) edm::LogInfo("StandaloneTrackMonitor") <<"Total # of Tracks: " << tracks->size();
305  for (auto const& track : *tracks) {
306  if (!track.quality(quality)) continue;
307 
308  ++ntracks;
309 
310  double eta = track.eta();
311  double theta = track.theta();
312  double phi = track.phi();
313  double pt = track.pt();
314 
315  const reco::HitPattern& hitp = track.hitPattern();
316  double nValidTrackerHits = hitp.numberOfValidTrackerHits();
317  nHitsVsEtaH_->Fill(eta, nValidTrackerHits);
318  nHitsVsCosThetaH_->Fill(std::cos(theta), nValidTrackerHits);
319  nHitsVsPhiH_->Fill(phi, nValidTrackerHits);
320  nHitsVspTH_->Fill(pt, nValidTrackerHits);
321  nHitsVsnVtxH_->Fill(vertexColl->size(), nValidTrackerHits);
322 
323  int nLostHits = track.numberOfLostHits();
324  nLostHitsVspTH_->Fill(pt, nLostHits);
325  nLostHitsVsEtaH_->Fill(eta, nLostHits);
326  nLostHitsVsCosThetaH_->Fill(std::cos(theta), nLostHits);
327  nLostHitsVsPhiH_->Fill(phi, nLostHits);
328 
329  double nValidPixelHits = hitp.numberOfValidPixelHits();
330  double nValidStripHits = hitp.numberOfValidStripHits();
331  double pixelLayersWithMeasurement = hitp.pixelLayersWithMeasurement();
332  double stripLayersWithMeasurement = hitp.stripLayersWithMeasurement();
333 
334  if (haveAllHistograms_) {
335  double etaError = track.etaError();
336  double thetaError = track.thetaError();
337  double phiError = track.phiError();
338  double p = track.p();
339  double ptError = track.ptError();
340  double qoverp = track.qoverp();
341  double qoverpError = track.qoverpError();
342  double charge = track.charge();
343 
344  double trackerLayersWithMeasurement = hitp.trackerLayersWithMeasurement();
345 
346  double dxy = track.dxy(beamSpot->position());
347  double dxyError = track.dxyError();
348  double dz = track.dz(beamSpot->position());
349  double dzError = track.dzError();
350 
351  double trkd0 = track.d0();
352  double chi2 = track.chi2();
353  double ndof = track.ndof();
354  double vx = track.vx();
355  double vy = track.vy();
356  double vz = track.vz();
357 
358  // Fill the histograms
359  trackEtaH_->Fill(eta, wfac);
360  trackEtaerrH_->Fill(etaError, wfac);
361  trackCosThetaH_->Fill(std::cos(theta), wfac);
362  trackThetaerrH_->Fill(thetaError, wfac);
363  trackPhiH_->Fill(phi, wfac);
364  trackPhierrH_->Fill(phiError, wfac);
365  trackPH_->Fill(p, wfac);
366  trackPtH_->Fill(pt, wfac);
367  if (pt <= 2) trackPtUpto2GeVH_->Fill(pt, wfac);
368  if (pt >= 10) trackPtOver10GeVH_->Fill(pt, wfac);
369  trackPterrH_->Fill(ptError, wfac);
370  trackqOverpH_->Fill(qoverp, wfac);
371  trackqOverperrH_->Fill(qoverpError, wfac);
372  trackChargeH_->Fill(charge, wfac);
373  trackChi2H_->Fill(chi2, wfac);
374  trackd0H_->Fill(trkd0, wfac);
375  tracknDOFH_->Fill(ndof, wfac);
376  trackChi2bynDOFH_->Fill(chi2/ndof, wfac);
377 
378  nlostHitsH_->Fill(nLostHits, wfac);
379  nvalidTrackerHitsH_->Fill(nValidTrackerHits, wfac);
380  nvalidPixelHitsH_->Fill(nValidPixelHits, wfac);
381  nvalidStripHitsH_->Fill(nValidStripHits, wfac);
382 
383  trkLayerwithMeasurementH_->Fill(trackerLayersWithMeasurement, wfac);
384  pixelLayerwithMeasurementH_->Fill(pixelLayersWithMeasurement, wfac);
385  stripLayerwithMeasurementH_->Fill(stripLayersWithMeasurement, wfac);
386 
387  beamSpotXYposH_->Fill(dxy, wfac);
388  beamSpotXYposerrH_->Fill(dxyError, wfac);
389  beamSpotZposH_->Fill(dz, wfac);
390  beamSpotZposerrH_->Fill(dzError, wfac);
391 
392  vertexXposH_->Fill(vx, wfac);
393  vertexYposH_->Fill(vy, wfac);
394  vertexZposH_->Fill(vz, wfac);
395  }
396  int nPixBarrel = 0, nPixEndcap = 0, nStripTIB = 0, nStripTOB = 0, nStripTEC = 0, nStripTID = 0;
397  for (auto it = track.recHitsBegin(); it != track.recHitsEnd(); ++it) {
398  const TrackingRecHit& hit = (**it);
399  if (hit.isValid()) {
400  if (hit.geographicalId().det() == DetId::Tracker) {
401  int subdetId = hit.geographicalId().subdetId();
402  if (subdetId == PixelSubdetector::PixelBarrel) ++nPixBarrel;
403  else if (subdetId == PixelSubdetector::PixelEndcap) ++nPixEndcap;
404  else if (subdetId == StripSubdetector::TIB) ++nStripTIB;
405  else if (subdetId == StripSubdetector::TOB) ++nStripTOB;
406  else if (subdetId == StripSubdetector::TEC) ++nStripTEC;
407  else if (subdetId == StripSubdetector::TID) ++nStripTID;
408 
409  // Find on-track clusters
410  processHit(hit, iSetup, tkGeom, wfac);
411  }
412  }
413  }
414  if (verbose_) edm::LogInfo("StandaloneTrackMonitor")
415  << " >>> HITs: nPixBarrel: " << nPixBarrel
416  << " nPixEndcap: " << nPixEndcap
417  << " nStripTIB: " << nStripTIB
418  << " nStripTOB: " << nStripTOB
419  << " nStripTEC: " << nStripTEC
420  << " nStripTID: " << nStripTID;
421  if (haveAllHistograms_) {
422  nPixBarrelH_->Fill(nPixBarrel, wfac);
423  nPixEndcapH_->Fill(nPixEndcap, wfac);
424  nStripTIBH_->Fill(nStripTIB, wfac);
425  nStripTOBH_->Fill(nStripTOB, wfac);
426  nStripTECH_->Fill(nStripTEC, wfac);
427  nStripTIDH_->Fill(nStripTID, wfac);
428  }
429  }
430  }
431  else {
432  edm::LogError("DqmTrackStudy") << "Error! Failed to get reco::Track collection, " << trackTag_;
433  }
434  if (haveAllHistograms_) nTracksH_->Fill(ntracks);
435 
436  // off track cluster properties
437  processClusters(iEvent, iSetup, tkGeom, wfac);
438 }
MonitorElement * pixelLayerwithMeasurementH_
const edm::InputTag trackTag_
MonitorElement * trackPtOver10GeVH_
const std::string trackQuality_
MonitorElement * trackChi2bynDOFH_
TrackQuality
track quality
Definition: TrackBase.h:149
const edm::EDGetTokenT< reco::TrackCollection > trackToken_
const edm::EDGetTokenT< std::vector< PileupSummaryInfo > > puSummaryToken_
Geom::Theta< T > theta() const
MonitorElement * stripLayerwithMeasurementH_
int numberOfValidStripHits() const
Definition: HitPattern.h:831
int pixelLayersWithMeasurement() const
Definition: HitPattern.cc:497
int trackerLayersWithMeasurement() const
Definition: HitPattern.cc:516
void Fill(long long x)
const edm::InputTag vertexTag_
MonitorElement * beamSpotXYposH_
int iEvent
Definition: GenABIO.cc:230
uint16_t hitPattern[ARRAY_LENGTH]
Definition: HitPattern.h:459
MonitorElement * trackqOverperrH_
MonitorElement * trackThetaerrH_
Cos< T >::type cos(const T &t)
Definition: Cos.h:22
MonitorElement * nvalidStripHitsH_
bool isValid() const
Definition: HandleBase.h:75
int subdetId() const
get the contents of the subdetector field (not cast into any detector&#39;s numbering enum) ...
Definition: DetId.h:37
MonitorElement * beamSpotZposerrH_
MonitorElement * nLostHitsVsCosThetaH_
MonitorElement * beamSpotXYposerrH_
MonitorElement * trackCosThetaH_
MonitorElement * nvalidTrackerHitsH_
MonitorElement * nHitsVsCosThetaH_
static TrackQuality qualityByName(const std::string &name)
Definition: TrackBase.cc:123
const edm::EDGetTokenT< reco::BeamSpot > bsToken_
MonitorElement * trkLayerwithMeasurementH_
tuple tracks
Definition: testEve_cfg.py:39
int stripLayersWithMeasurement() const
Definition: HitPattern.h:1001
bool isValid() const
int numberOfValidTrackerHits() const
Definition: HitPattern.h:806
const edm::EDGetTokenT< reco::VertexCollection > vertexToken_
void processClusters(edm::Event const &iEvent, edm::EventSetup const &iSetup, const TrackerGeometry &tkGeom, double wfac=1)
int numberOfValidPixelHits() const
Definition: HitPattern.h:816
MonitorElement * nvalidPixelHitsH_
MonitorElement * trackPtUpto2GeVH_
DetId geographicalId() const
void processHit(const TrackingRecHit &recHit, edm::EventSetup const &iSetup, const TrackerGeometry &tkGeom, double wfac=1)
Detector det() const
get the detector field from this detid
Definition: DetId.h:35
void StandaloneTrackMonitor::bookHistograms ( DQMStore::IBooker iBook,
edm::Run const &  iRun,
edm::EventSetup const &  iSetup 
)
protectedvirtual

Implements DQMEDAnalyzer.

Definition at line 124 of file StandaloneTrackMonitor.cc.

References beamSpotXYposerrH_, beamSpotXYposH_, beamSpotZposerrH_, beamSpotZposH_, DQMStore::IBooker::book1D(), DQMStore::IBooker::bookProfile(), bunchCrossingH_, folderName_, edm::ParameterSet::getParameter(), haveAllHistograms_, hOffTrkClusChargeThickH_, hOffTrkClusChargeThinH_, hOffTrkClusWidthThickH_, hOffTrkClusWidthThinH_, hOnTrkClusChargeThickH_, hOnTrkClusChargeThinH_, hOnTrkClusWidthThickH_, hOnTrkClusWidthThinH_, isMC_, moduleName_, nHitsVsCosThetaH_, nHitsVsEtaH_, nHitsVsnVtxH_, nHitsVsPhiH_, nHitsVspTH_, nlostHitsH_, nLostHitsVsCosThetaH_, nLostHitsVsEtaH_, nLostHitsVsPhiH_, nLostHitsVspTH_, nPixBarrelH_, nPixEndcapH_, nPUH_, nStripTECH_, nStripTIBH_, nStripTIDH_, nStripTOBH_, nTracksH_, nvalidPixelHitsH_, nvalidStripHitsH_, nvalidTrackerHitsH_, nVertexH_, parameters_, pixelLayerwithMeasurementH_, DQMStore::IBooker::setCurrentFolder(), AlCaHLTBitMon_QueryRunRegistry::string, stripLayerwithMeasurementH_, trackChargeH_, trackChi2bynDOFH_, trackChi2H_, trackCosThetaH_, trackd0H_, trackEtaerrH_, trackEtaH_, tracknDOFH_, trackPH_, trackPhierrH_, trackPhiH_, trackPterrH_, trackPtH_, trackPtOver10GeVH_, trackPtUpto2GeVH_, trackqOverperrH_, trackqOverpH_, trackThetaerrH_, trkLayerwithMeasurementH_, trueNIntH_, vertexXposH_, vertexYposH_, and vertexZposH_.

124  {
125 
126  edm::ParameterSet TrackEtaHistoPar = parameters_.getParameter<edm::ParameterSet>("trackEtaH");
127  edm::ParameterSet TrackPtHistoPar = parameters_.getParameter<edm::ParameterSet>("trackPtH");
128 
129  std::string currentFolder = moduleName_ + "/" + folderName_ ;
130  iBook.setCurrentFolder(currentFolder.c_str());
131 
132  // The following are common with the official tool
133  if (haveAllHistograms_) {
134  if (!trackEtaH_) trackEtaH_ = iBook.book1D("trackEta", "Track Eta",
135  TrackEtaHistoPar.getParameter<int32_t>("Xbins"),
136  TrackEtaHistoPar.getParameter<double>("Xmin"),
137  TrackEtaHistoPar.getParameter<double>("Xmax"));
138  if (!trackEtaerrH_) trackEtaerrH_ = iBook.book1D("trackEtaerr", "Track Eta Error", 50,0.0,1.0);
139  if (!trackCosThetaH_) trackCosThetaH_ = iBook.book1D("trackCosTheta", "Track Cos(Theta)", 50,-1.0,1.0);
140  if (!trackThetaerrH_) trackThetaerrH_ = iBook.book1D("trackThetaerr", "Track Theta Error", 50,0.0,1.0);
141  if (!trackPhiH_) trackPhiH_ = iBook.book1D("trackPhi", "Track Phi", 70,-3.5,3.5);
142  if (!trackPhierrH_) trackPhierrH_ = iBook.book1D("trackPhierr", "Track Phi Error", 50,0.0,1.0);
143 
144  if (!trackPH_) trackPH_ = iBook.book1D("trackP", "Track 4-momentum", 50,0.0,10.0);
145  if (!trackPtH_) trackPtH_ = iBook.book1D("trackPt", "Track Pt",
146  TrackPtHistoPar.getParameter<int32_t>("Xbins"),
147  TrackPtHistoPar.getParameter<double>("Xmin"),
148  TrackPtHistoPar.getParameter<double>("Xmax"));
149  if (!trackPtUpto2GeVH_) trackPtUpto2GeVH_ = iBook.book1D("trackPtUpto2GeV", "Track Pt upto 2GeV",100,0,2.0);
150  if (!trackPtOver10GeVH_) trackPtOver10GeVH_ = iBook.book1D("trackPtOver10GeV","Track Pt greater than 10 GeV",100,0,100.0);
151  if (!trackPterrH_) trackPterrH_ = iBook.book1D("trackPterr", "Track Pt Error",100,0.0,100.0);
152  if (!trackqOverpH_) trackqOverpH_ = iBook.book1D("trackqOverp", "q Over p",40,-10.0,10.0);
153  if (!trackqOverperrH_) trackqOverperrH_ = iBook.book1D("trackqOverperr","q Over p Error",50,0.0,25.0);
154  if (!trackChargeH_) trackChargeH_ = iBook.book1D("trackCharge", "Track Charge", 50, -5, 5);
155  if (!trackChi2H_) trackChi2H_ = iBook.book1D("trackChi2", "Chi2",100,0.0,100.0);
156  if (!tracknDOFH_) tracknDOFH_ = iBook.book1D("tracknDOF", "nDOF",100,0.0,100.0);
157  if (!trackd0H_) trackd0H_ = iBook.book1D("trackd0", "Track d0",100,-1,1);
158  if (!trackChi2bynDOFH_) trackChi2bynDOFH_ = iBook.book1D("trackChi2bynDOF", "Chi2 Over nDOF",100,0.0,10.0);
159 
160  if (!nlostHitsH_) nlostHitsH_ = iBook.book1D("nlostHits", "No. of Lost Hits",10,0.0,10.0);
161  if (!nvalidTrackerHitsH_) nvalidTrackerHitsH_ = iBook.book1D("nvalidTrackerhits", "No. of Valid Tracker Hits",35,0.0,35.0);
162  if (!nvalidPixelHitsH_) nvalidPixelHitsH_ = iBook.book1D("nvalidPixelHits", "No. of Valid Hits in Pixel",10,0.0,10.0);
163  if (!nvalidStripHitsH_) nvalidStripHitsH_ = iBook.book1D("nvalidStripHits", "No.of Valid Hits in Strip",25,0.0,25.0);
164 
166  trkLayerwithMeasurementH_ = iBook.book1D("trkLayerwithMeasurement", "No. of Layers per Track",25,0.0,25.0);
168  pixelLayerwithMeasurementH_ = iBook.book1D("pixelLayerwithMeasurement", "No. of Pixel Layers per Track",10,0.0,10.0);
170  stripLayerwithMeasurementH_ = iBook.book1D("stripLayerwithMeasurement", "No. of Strip Layers per Track",20,0.0,20.0);
171 
172  if (!beamSpotXYposH_) beamSpotXYposH_ = iBook.book1D("beamSpotXYpos", "XY position of beam spot",40,-4.0,4.0);
173  if (!beamSpotXYposerrH_) beamSpotXYposerrH_ = iBook.book1D("beamSpotXYposerr", "Error in XY position of beam spot",20,0.0,4.0);
174  if (!beamSpotZposH_) beamSpotZposH_ = iBook.book1D("beamSpotZpos", "Z position of beam spot",100,-20.0,20.0);
175  if (!beamSpotZposerrH_) beamSpotZposerrH_ = iBook.book1D("beamSpotZposerr", "Error in Z position of beam spot", 50, 0.0, 5.0);
176 
177  if (!vertexXposH_) vertexXposH_ = iBook.book1D("vertexXpos", "Vertex X position", 50, -1.0, 1.0);
178  if (!vertexYposH_) vertexYposH_ = iBook.book1D("vertexYpos", "Vertex Y position", 50, -1.0, 1.0);
179  if (!vertexZposH_) vertexZposH_ = iBook.book1D("vertexZpos", "Vertex Z position", 100,-20.0,20.0);
180  if (!nVertexH_) nVertexH_ = iBook.book1D("nVertex", "# of vertices", 60, -0.5, 59.5);
181 
182  if (!nPixBarrelH_)
183  nPixBarrelH_ = iBook.book1D("nHitPixelBarrel", "No. of hits in Pixel Barrel per Track", 20, 0, 20.0);
184  if (!nPixEndcapH_)
185  nPixEndcapH_ = iBook.book1D("nHitPixelEndcap", "No. of hits in Pixel Endcap per Track", 20, 0, 20.0);
186  if (!nStripTIBH_)
187  nStripTIBH_ = iBook.book1D("nHitStripTIB", "No. of hits in Strip TIB per Track", 30, 0, 30.0);
188  if (!nStripTOBH_)
189  nStripTOBH_ = iBook.book1D("nHitStripTOB", "No. of hits in Strip TOB per Track", 30, 0, 30.0);
190  if (!nStripTECH_)
191  nStripTECH_ = iBook.book1D("nHitStripTEC", "No. of hits in Strip TEC per Track", 30, 0, 30.0);
192  if (!nStripTIDH_)
193  nStripTIDH_ = iBook.book1D("nHitStripTID", "No. of hits in Strip TID per Tracks", 30, 0, 30.0);
194 
195  if (!nTracksH_) nTracksH_ = iBook.book1D("nTracks", "No. of Tracks", 100, -0.5, 999.5);
196  }
197  if (isMC_) {
198  if (!bunchCrossingH_) bunchCrossingH_ = iBook.book1D("bunchCrossing", "Bunch Crosssing", 60, 0, 60.0);
199  if (!nPUH_) nPUH_ = iBook.book1D("nPU", "No of Pileup", 60, 0, 60.0);
200  if (!trueNIntH_) trueNIntH_ = iBook.book1D("trueNInt", "True no of Interactions", 60, 0, 60.0);
201  }
202  // Exclusive histograms
203  if (!nHitsVspTH_)
204  nHitsVspTH_ = iBook.bookProfile("nHitsVspT", "Number of Hits Vs pT",
205  TrackPtHistoPar.getParameter<int32_t>("Xbins"),
206  TrackPtHistoPar.getParameter<double>("Xmin"),
207  TrackPtHistoPar.getParameter<double>("Xmax"),0.0,0.0,"g");
208  if (!nHitsVsnVtxH_)
209  nHitsVsnVtxH_ = iBook.bookProfile("nHitsVsnVtx", "Number of Hits Vs Number of Vertex", 100,0,50,0.0,0.0,"g");
210  if (!nHitsVsEtaH_)
211  nHitsVsEtaH_ = iBook.bookProfile("nHitsVsEta", "Number of Hits Vs Eta",
212  TrackEtaHistoPar.getParameter<int32_t>("Xbins"),
213  TrackEtaHistoPar.getParameter<double>("Xmin"),
214  TrackEtaHistoPar.getParameter<double>("Xmax"),0.0,0.0,"g");
215  if (!nHitsVsCosThetaH_)
216  nHitsVsCosThetaH_ = iBook.bookProfile("nHitsVsCosTheta", "Number of Hits Vs Cos(Theta)", 50,-1.0,1.0,0.0,0.0,"g");
217  if (!nHitsVsPhiH_)
218  nHitsVsPhiH_ = iBook.bookProfile("nHitsVsPhi", "Number of Hits Vs Phi", 100,-3.5,3.5,0.0,0.0,"g");
219 
220  if (!nLostHitsVspTH_)
221  nLostHitsVspTH_ = iBook.bookProfile("nLostHitsVspT", "Number of Lost Hits Vs pT",
222  TrackPtHistoPar.getParameter<int32_t>("Xbins"),
223  TrackPtHistoPar.getParameter<double>("Xmin"),
224  TrackPtHistoPar.getParameter<double>("Xmax"),0.0,0.0,"g");
225  if (!nLostHitsVsEtaH_)
226  nLostHitsVsEtaH_ = iBook.bookProfile("nLostHitsVsEta", "Number of Lost Hits Vs Eta",
227  TrackEtaHistoPar.getParameter<int32_t>("Xbins"),
228  TrackEtaHistoPar.getParameter<double>("Xmin"),
229  TrackEtaHistoPar.getParameter<double>("Xmax"),0.0,0.0,"g");
230  if (!nLostHitsVsCosThetaH_)
231  nLostHitsVsCosThetaH_ = iBook.bookProfile("nLostHitsVsCosTheta", "Number of Lost Hits Vs Cos(Theta)",50,-1.0,1.0,0.0,0.0,"g");
232  if (!nLostHitsVsPhiH_)
233  nLostHitsVsPhiH_ = iBook.bookProfile("nLostHitsVsPhi", "Number of Lost Hits Vs Phi",100,-3.5,3.5,0.0,0.0,"g");
234 
235  // On and off-track cluster properties
237  hOnTrkClusChargeThinH_ = iBook.book1D("hOnTrkClusChargeThin", "On-track Cluster Charge (Thin Sensor)", 100, 0, 1000);
238  if (!hOnTrkClusWidthThinH_)
239  hOnTrkClusWidthThinH_ = iBook.book1D("hOnTrkClusWidthThin", "On-track Cluster Width (Thin Sensor)", 20, -0.5, 19.5);
241  hOnTrkClusChargeThickH_ = iBook.book1D("hOnTrkClusChargeThick", "On-track Cluster Charge (Thick Sensor)", 100, 0, 1000);
243  hOnTrkClusWidthThickH_ = iBook.book1D("hOnTrkClusWidthThick", "On-track Cluster Width (Thick Sensor)", 20, -0.5, 19.5);
244 
246  hOffTrkClusChargeThinH_ = iBook.book1D("hOffTrkClusChargeThin", "Off-track Cluster Charge (Thin Sensor)", 100, 0, 1000);
248  hOffTrkClusWidthThinH_ = iBook.book1D("hOffTrkClusWidthThin", "Off-track Cluster Width (Thin Sensor)", 20, -0.5, 19.5);
250  hOffTrkClusChargeThickH_ = iBook.book1D("hOffTrkClusChargeThick", "Off-track Cluster Charge (Thick Sensor)", 100, 0, 1000);
252  hOffTrkClusWidthThickH_ = iBook.book1D("hOffTrkClusWidthThick", "Off-track Cluster Width (Thick Sensor)", 20, -0.5, 19.5);
253 }
MonitorElement * pixelLayerwithMeasurementH_
MonitorElement * hOnTrkClusChargeThickH_
T getParameter(std::string const &) const
MonitorElement * hOnTrkClusChargeThinH_
MonitorElement * trackPtOver10GeVH_
MonitorElement * bookProfile(Args &&...args)
Definition: DQMStore.h:157
MonitorElement * trackChi2bynDOFH_
MonitorElement * hOffTrkClusWidthThickH_
MonitorElement * stripLayerwithMeasurementH_
MonitorElement * hOnTrkClusWidthThinH_
MonitorElement * hOffTrkClusWidthThinH_
MonitorElement * hOffTrkClusChargeThinH_
MonitorElement * beamSpotXYposH_
MonitorElement * hOnTrkClusWidthThickH_
MonitorElement * trackqOverperrH_
MonitorElement * trackThetaerrH_
MonitorElement * book1D(Args &&...args)
Definition: DQMStore.h:115
MonitorElement * nvalidStripHitsH_
MonitorElement * beamSpotZposerrH_
MonitorElement * nLostHitsVsCosThetaH_
MonitorElement * beamSpotXYposerrH_
MonitorElement * hOffTrkClusChargeThickH_
MonitorElement * trackCosThetaH_
MonitorElement * nvalidTrackerHitsH_
MonitorElement * nHitsVsCosThetaH_
void setCurrentFolder(const std::string &fullpath)
Definition: DQMStore.cc:274
MonitorElement * trkLayerwithMeasurementH_
MonitorElement * nvalidPixelHitsH_
MonitorElement * trackPtUpto2GeVH_
void StandaloneTrackMonitor::endLuminosityBlock ( edm::LuminosityBlock const &  lumiSeg,
edm::EventSetup const &  eSetup 
)
overrideprotectedvirtual

Reimplemented from edm::stream::EDAnalyzerBase.

Definition at line 552 of file StandaloneTrackMonitor.cc.

552  {
553 }
void StandaloneTrackMonitor::processClusters ( edm::Event const &  iEvent,
edm::EventSetup const &  iSetup,
const TrackerGeometry tkGeom,
double  wfac = 1 
)
protected

Definition at line 439 of file StandaloneTrackMonitor.cc.

References Surface::bounds(), RecoTauCleanerPlugins::charge, SiStripClusterInfo::charge(), clusterMap_, clusterTag_, clusterToken_, MonitorElement::Fill(), edm::Event::getByToken(), hOffTrkClusChargeThickH_, hOffTrkClusChargeThinH_, hOffTrkClusWidthThickH_, hOffTrkClusWidthThinH_, TrackerGeometry::idToDetUnit(), info(), edm::HandleBase::isValid(), alignCSCRings::s, GeomDet::surface(), Bounds::thickness(), SiStripClusterInfo::width(), and create_public_lumi_plots::width.

Referenced by analyze().

440 {
441  // SiStripClusters
443  iEvent.getByToken(clusterToken_, clusterHandle);
444 
445  if (clusterHandle.isValid()) {
446  // Loop on Dets
447  for (edmNew::DetSetVector<SiStripCluster>::const_iterator dsvit = clusterHandle->begin();
448  dsvit != clusterHandle->end();
449  ++dsvit)
450  {
451  uint32_t detId = dsvit->id();
452  std::map<uint32_t, std::set<const SiStripCluster*> >::iterator jt = clusterMap_.find(detId);
453  bool detid_found = (jt != clusterMap_.end()) ? true : false;
454 
455  // Loop on Clusters
456  for (edmNew::DetSet<SiStripCluster>::const_iterator clusit = dsvit->begin();
457  clusit != dsvit->end();
458  ++clusit)
459  {
460  if (detid_found) {
461  std::set<const SiStripCluster*>& s = jt->second;
462  if (s.find(&*clusit) != s.end()) continue;
463  }
464 
465  SiStripClusterInfo info(*clusit, iSetup, detId);
466  float charge = info.charge();
467  float width = info.width();
468 
469  const GeomDetUnit* detUnit = tkGeom.idToDetUnit(detId);
470  float thickness = detUnit->surface().bounds().thickness(); // unit cm
471  if (thickness > 0.035) {
472  hOffTrkClusChargeThickH_->Fill(charge, wfac);
473  hOffTrkClusWidthThickH_->Fill(width, wfac);
474  }
475  else {
476  hOffTrkClusChargeThinH_->Fill(charge, wfac);
477  hOffTrkClusWidthThinH_->Fill(width, wfac);
478  }
479  }
480  }
481  }
482  else {
483  edm::LogError("StandaloneTrackMonitor") << "ClusterCollection " << clusterTag_ << " not valid!!" << std::endl;
484  }
485 }
virtual const TrackerGeomDet * idToDetUnit(DetId) const
Return the pointer to the GeomDetUnit corresponding to a given DetId.
boost::transform_iterator< IterHelp, const_IdIter > const_iterator
static const TGPicture * info(bool iBackgroundIsBlack)
const edm::EDGetTokenT< edmNew::DetSetVector< SiStripCluster > > clusterToken_
MonitorElement * hOffTrkClusWidthThickH_
const Bounds & bounds() const
Definition: Surface.h:128
data_type const * const_iterator
Definition: DetSetNew.h:30
const Plane & surface() const
The nominal surface of the GeomDet.
Definition: GeomDet.h:40
MonitorElement * hOffTrkClusWidthThinH_
MonitorElement * hOffTrkClusChargeThinH_
void Fill(long long x)
virtual float thickness() const =0
int iEvent
Definition: GenABIO.cc:230
bool isValid() const
Definition: HandleBase.h:75
MonitorElement * hOffTrkClusChargeThickH_
const edm::InputTag clusterTag_
std::map< uint32_t, std::set< const SiStripCluster * > > clusterMap_
void StandaloneTrackMonitor::processHit ( const TrackingRecHit recHit,
edm::EventSetup const &  iSetup,
const TrackerGeometry tkGeom,
double  wfac = 1 
)
protected

Definition at line 486 of file StandaloneTrackMonitor.cc.

References addClusterToMap(), Surface::bounds(), SiStripClusterInfo::charge(), compareJSON::const, cond::rpcobgas::detid, MonitorElement::Fill(), TrackingRecHit::geographicalId(), hOnTrkClusChargeThickH_, hOnTrkClusChargeThinH_, hOnTrkClusWidthThickH_, hOnTrkClusWidthThinH_, TrackerGeometry::idToDetUnit(), info(), SiStripMatchedRecHit2D::monoCluster(), SiStripMatchedRecHit2D::stereoCluster(), GeomDet::surface(), Bounds::thickness(), and SiStripClusterInfo::width().

Referenced by analyze().

487 {
488  uint32_t detid = recHit.geographicalId();
489  const GeomDetUnit* detUnit = tkGeom.idToDetUnit(detid);
490  float thickness = detUnit->surface().bounds().thickness(); // unit cm
491 
492  auto const& thit = static_cast<BaseTrackerRecHit const&>(recHit);
493  if (!thit.isValid()) return;
494 
495  auto const& clus = thit.firstClusterRef();
496  if (!clus.isValid()) return;
497  if (!clus.isStrip()) return;
498 
499  if (thit.isMatched()) {
500  const SiStripMatchedRecHit2D& matchedHit = dynamic_cast<const SiStripMatchedRecHit2D&>(recHit);
501 
502  auto& clusterM = matchedHit.monoCluster();
503  SiStripClusterInfo infoM(clusterM, iSetup, detid);
504  if (thickness > 0.035) {
505  hOnTrkClusChargeThickH_->Fill(infoM.charge(), wfac);
506  hOnTrkClusWidthThickH_->Fill(infoM.width(), wfac);
507  }
508  else {
509  hOnTrkClusChargeThinH_->Fill(infoM.charge(), wfac);
510  hOnTrkClusWidthThinH_->Fill(infoM.width(), wfac);
511  }
512  addClusterToMap(detid, &clusterM);
513 
514  auto& clusterS = matchedHit.stereoCluster();
515  SiStripClusterInfo infoS(clusterS, iSetup, detid);
516  if (thickness > 0.035) {
517  hOnTrkClusChargeThickH_->Fill(infoS.charge(), wfac);
518  hOnTrkClusWidthThickH_->Fill(infoS.width(), wfac );
519  }
520  else {
521  hOnTrkClusChargeThinH_->Fill(infoS.charge(), wfac);
522  hOnTrkClusWidthThinH_->Fill(infoS.width(), wfac);
523  }
524  addClusterToMap(detid, &clusterS);
525  }
526  else {
527  auto& cluster = clus.stripCluster();
528  SiStripClusterInfo info(cluster, iSetup, detid);
529  if (thickness > 0.035) {
530  hOnTrkClusChargeThickH_->Fill(info.charge(), wfac);
531  hOnTrkClusWidthThickH_->Fill(info.width(), wfac);
532  }
533  else {
534  hOnTrkClusChargeThinH_->Fill(info.charge(), wfac);
535  hOnTrkClusWidthThinH_->Fill(info.width(), wfac);
536  }
537  addClusterToMap(detid, &cluster);
538  }
539 }
MonitorElement * hOnTrkClusChargeThickH_
virtual const TrackerGeomDet * idToDetUnit(DetId) const
Return the pointer to the GeomDetUnit corresponding to a given DetId.
MonitorElement * hOnTrkClusChargeThinH_
static const TGPicture * info(bool iBackgroundIsBlack)
SiStripCluster const & monoCluster() const
const Bounds & bounds() const
Definition: Surface.h:128
MonitorElement * hOnTrkClusWidthThinH_
const Plane & surface() const
The nominal surface of the GeomDet.
Definition: GeomDet.h:40
void Fill(long long x)
virtual float thickness() const =0
MonitorElement * hOnTrkClusWidthThickH_
void addClusterToMap(uint32_t detid, const SiStripCluster *cluster)
string const
Definition: compareJSON.py:14
SiStripCluster const & stereoCluster() const
DetId geographicalId() const

Member Data Documentation

MonitorElement* StandaloneTrackMonitor::beamSpotXYposerrH_
private

Definition at line 92 of file StandaloneTrackMonitor.h.

Referenced by analyze(), bookHistograms(), and StandaloneTrackMonitor().

MonitorElement* StandaloneTrackMonitor::beamSpotXYposH_
private

Definition at line 91 of file StandaloneTrackMonitor.h.

Referenced by analyze(), bookHistograms(), and StandaloneTrackMonitor().

MonitorElement* StandaloneTrackMonitor::beamSpotZposerrH_
private

Definition at line 94 of file StandaloneTrackMonitor.h.

Referenced by analyze(), bookHistograms(), and StandaloneTrackMonitor().

MonitorElement* StandaloneTrackMonitor::beamSpotZposH_
private

Definition at line 93 of file StandaloneTrackMonitor.h.

Referenced by analyze(), bookHistograms(), and StandaloneTrackMonitor().

const edm::InputTag StandaloneTrackMonitor::bsTag_
private

Definition at line 47 of file StandaloneTrackMonitor.h.

const edm::EDGetTokenT<reco::BeamSpot> StandaloneTrackMonitor::bsToken_
private

Definition at line 52 of file StandaloneTrackMonitor.h.

Referenced by analyze().

MonitorElement* StandaloneTrackMonitor::bunchCrossingH_
private

Definition at line 110 of file StandaloneTrackMonitor.h.

Referenced by analyze(), bookHistograms(), and StandaloneTrackMonitor().

std::map<uint32_t, std::set<const SiStripCluster*> > StandaloneTrackMonitor::clusterMap_
private

Definition at line 138 of file StandaloneTrackMonitor.h.

Referenced by addClusterToMap(), and processClusters().

const edm::InputTag StandaloneTrackMonitor::clusterTag_
private

Definition at line 50 of file StandaloneTrackMonitor.h.

Referenced by processClusters().

const edm::EDGetTokenT<edmNew::DetSetVector<SiStripCluster> > StandaloneTrackMonitor::clusterToken_
private

Definition at line 55 of file StandaloneTrackMonitor.h.

Referenced by processClusters().

const bool StandaloneTrackMonitor::doPUCorrection_
private

Definition at line 58 of file StandaloneTrackMonitor.h.

Referenced by analyze(), and StandaloneTrackMonitor().

std::string StandaloneTrackMonitor::folderName_
private

Definition at line 45 of file StandaloneTrackMonitor.h.

Referenced by bookHistograms().

const bool StandaloneTrackMonitor::haveAllHistograms_
private

Definition at line 60 of file StandaloneTrackMonitor.h.

Referenced by analyze(), and bookHistograms().

MonitorElement* StandaloneTrackMonitor::hOffTrkClusChargeThickH_
private
MonitorElement* StandaloneTrackMonitor::hOffTrkClusChargeThinH_
private
MonitorElement* StandaloneTrackMonitor::hOffTrkClusWidthThickH_
private
MonitorElement* StandaloneTrackMonitor::hOffTrkClusWidthThinH_
private
MonitorElement* StandaloneTrackMonitor::hOnTrkClusChargeThickH_
private

Definition at line 127 of file StandaloneTrackMonitor.h.

Referenced by bookHistograms(), processHit(), and StandaloneTrackMonitor().

MonitorElement* StandaloneTrackMonitor::hOnTrkClusChargeThinH_
private

Definition at line 125 of file StandaloneTrackMonitor.h.

Referenced by bookHistograms(), processHit(), and StandaloneTrackMonitor().

MonitorElement* StandaloneTrackMonitor::hOnTrkClusWidthThickH_
private

Definition at line 128 of file StandaloneTrackMonitor.h.

Referenced by bookHistograms(), processHit(), and StandaloneTrackMonitor().

MonitorElement* StandaloneTrackMonitor::hOnTrkClusWidthThinH_
private

Definition at line 126 of file StandaloneTrackMonitor.h.

Referenced by bookHistograms(), processHit(), and StandaloneTrackMonitor().

const bool StandaloneTrackMonitor::isMC_
private

Definition at line 59 of file StandaloneTrackMonitor.h.

Referenced by bookHistograms(), and StandaloneTrackMonitor().

unsigned long long StandaloneTrackMonitor::m_cacheID_
private

Definition at line 135 of file StandaloneTrackMonitor.h.

std::string StandaloneTrackMonitor::moduleName_
private

Definition at line 44 of file StandaloneTrackMonitor.h.

Referenced by bookHistograms().

MonitorElement* StandaloneTrackMonitor::nHitsVsCosThetaH_
private

Definition at line 118 of file StandaloneTrackMonitor.h.

Referenced by analyze(), bookHistograms(), and StandaloneTrackMonitor().

MonitorElement* StandaloneTrackMonitor::nHitsVsEtaH_
private

Definition at line 117 of file StandaloneTrackMonitor.h.

Referenced by analyze(), bookHistograms(), and StandaloneTrackMonitor().

MonitorElement* StandaloneTrackMonitor::nHitsVsnVtxH_
private

Definition at line 116 of file StandaloneTrackMonitor.h.

Referenced by analyze(), bookHistograms(), and StandaloneTrackMonitor().

MonitorElement* StandaloneTrackMonitor::nHitsVsPhiH_
private

Definition at line 119 of file StandaloneTrackMonitor.h.

Referenced by analyze(), bookHistograms(), and StandaloneTrackMonitor().

MonitorElement* StandaloneTrackMonitor::nHitsVspTH_
private

Definition at line 115 of file StandaloneTrackMonitor.h.

Referenced by analyze(), bookHistograms(), and StandaloneTrackMonitor().

MonitorElement* StandaloneTrackMonitor::nlostHitsH_
private

Definition at line 83 of file StandaloneTrackMonitor.h.

Referenced by analyze(), bookHistograms(), and StandaloneTrackMonitor().

MonitorElement* StandaloneTrackMonitor::nLostHitsVsCosThetaH_
private

Definition at line 122 of file StandaloneTrackMonitor.h.

Referenced by analyze(), bookHistograms(), and StandaloneTrackMonitor().

MonitorElement* StandaloneTrackMonitor::nLostHitsVsEtaH_
private

Definition at line 121 of file StandaloneTrackMonitor.h.

Referenced by analyze(), bookHistograms(), and StandaloneTrackMonitor().

MonitorElement* StandaloneTrackMonitor::nLostHitsVsPhiH_
private

Definition at line 123 of file StandaloneTrackMonitor.h.

Referenced by analyze(), bookHistograms(), and StandaloneTrackMonitor().

MonitorElement* StandaloneTrackMonitor::nLostHitsVspTH_
private

Definition at line 120 of file StandaloneTrackMonitor.h.

Referenced by analyze(), bookHistograms(), and StandaloneTrackMonitor().

MonitorElement* StandaloneTrackMonitor::nPixBarrelH_
private

Definition at line 101 of file StandaloneTrackMonitor.h.

Referenced by analyze(), bookHistograms(), and StandaloneTrackMonitor().

MonitorElement* StandaloneTrackMonitor::nPixEndcapH_
private

Definition at line 102 of file StandaloneTrackMonitor.h.

Referenced by analyze(), bookHistograms(), and StandaloneTrackMonitor().

MonitorElement* StandaloneTrackMonitor::nPUH_
private

Definition at line 111 of file StandaloneTrackMonitor.h.

Referenced by analyze(), bookHistograms(), and StandaloneTrackMonitor().

MonitorElement* StandaloneTrackMonitor::nStripTECH_
private

Definition at line 105 of file StandaloneTrackMonitor.h.

Referenced by analyze(), bookHistograms(), and StandaloneTrackMonitor().

MonitorElement* StandaloneTrackMonitor::nStripTIBH_
private

Definition at line 103 of file StandaloneTrackMonitor.h.

Referenced by analyze(), bookHistograms(), and StandaloneTrackMonitor().

MonitorElement* StandaloneTrackMonitor::nStripTIDH_
private

Definition at line 106 of file StandaloneTrackMonitor.h.

Referenced by analyze(), bookHistograms(), and StandaloneTrackMonitor().

MonitorElement* StandaloneTrackMonitor::nStripTOBH_
private

Definition at line 104 of file StandaloneTrackMonitor.h.

Referenced by analyze(), bookHistograms(), and StandaloneTrackMonitor().

MonitorElement* StandaloneTrackMonitor::nTracksH_
private

Definition at line 107 of file StandaloneTrackMonitor.h.

Referenced by analyze(), bookHistograms(), and StandaloneTrackMonitor().

MonitorElement* StandaloneTrackMonitor::nvalidPixelHitsH_
private

Definition at line 85 of file StandaloneTrackMonitor.h.

Referenced by analyze(), bookHistograms(), and StandaloneTrackMonitor().

MonitorElement* StandaloneTrackMonitor::nvalidStripHitsH_
private

Definition at line 86 of file StandaloneTrackMonitor.h.

Referenced by analyze(), bookHistograms(), and StandaloneTrackMonitor().

MonitorElement* StandaloneTrackMonitor::nvalidTrackerHitsH_
private

Definition at line 84 of file StandaloneTrackMonitor.h.

Referenced by analyze(), bookHistograms(), and StandaloneTrackMonitor().

MonitorElement* StandaloneTrackMonitor::nVertexH_
private

Definition at line 99 of file StandaloneTrackMonitor.h.

Referenced by analyze(), bookHistograms(), and StandaloneTrackMonitor().

edm::ParameterSet StandaloneTrackMonitor::parameters_
private
MonitorElement* StandaloneTrackMonitor::pixelLayerwithMeasurementH_
private

Definition at line 88 of file StandaloneTrackMonitor.h.

Referenced by analyze(), bookHistograms(), and StandaloneTrackMonitor().

const std::string StandaloneTrackMonitor::puScaleFactorFile_
private

Definition at line 61 of file StandaloneTrackMonitor.h.

Referenced by StandaloneTrackMonitor().

const edm::InputTag StandaloneTrackMonitor::puSummaryTag_
private

Definition at line 49 of file StandaloneTrackMonitor.h.

const edm::EDGetTokenT<std::vector<PileupSummaryInfo> > StandaloneTrackMonitor::puSummaryToken_
private

Definition at line 54 of file StandaloneTrackMonitor.h.

Referenced by analyze().

MonitorElement* StandaloneTrackMonitor::stripLayerwithMeasurementH_
private

Definition at line 89 of file StandaloneTrackMonitor.h.

Referenced by analyze(), bookHistograms(), and StandaloneTrackMonitor().

MonitorElement* StandaloneTrackMonitor::trackChargeH_
private

Definition at line 77 of file StandaloneTrackMonitor.h.

Referenced by analyze(), bookHistograms(), and StandaloneTrackMonitor().

MonitorElement* StandaloneTrackMonitor::trackChi2bynDOFH_
private

Definition at line 81 of file StandaloneTrackMonitor.h.

Referenced by analyze(), bookHistograms(), and StandaloneTrackMonitor().

MonitorElement* StandaloneTrackMonitor::trackChi2H_
private

Definition at line 78 of file StandaloneTrackMonitor.h.

Referenced by analyze(), bookHistograms(), and StandaloneTrackMonitor().

MonitorElement* StandaloneTrackMonitor::trackCosThetaH_
private

Definition at line 66 of file StandaloneTrackMonitor.h.

Referenced by analyze(), bookHistograms(), and StandaloneTrackMonitor().

MonitorElement* StandaloneTrackMonitor::trackd0H_
private

Definition at line 80 of file StandaloneTrackMonitor.h.

Referenced by analyze(), bookHistograms(), and StandaloneTrackMonitor().

MonitorElement* StandaloneTrackMonitor::trackEtaerrH_
private

Definition at line 65 of file StandaloneTrackMonitor.h.

Referenced by analyze(), bookHistograms(), and StandaloneTrackMonitor().

MonitorElement* StandaloneTrackMonitor::trackEtaH_
private

Definition at line 64 of file StandaloneTrackMonitor.h.

Referenced by analyze(), bookHistograms(), and StandaloneTrackMonitor().

MonitorElement* StandaloneTrackMonitor::tracknDOFH_
private

Definition at line 79 of file StandaloneTrackMonitor.h.

Referenced by analyze(), bookHistograms(), and StandaloneTrackMonitor().

MonitorElement* StandaloneTrackMonitor::trackPH_
private

Definition at line 70 of file StandaloneTrackMonitor.h.

Referenced by analyze(), bookHistograms(), and StandaloneTrackMonitor().

MonitorElement* StandaloneTrackMonitor::trackPhierrH_
private

Definition at line 69 of file StandaloneTrackMonitor.h.

Referenced by analyze(), bookHistograms(), and StandaloneTrackMonitor().

MonitorElement* StandaloneTrackMonitor::trackPhiH_
private

Definition at line 68 of file StandaloneTrackMonitor.h.

Referenced by analyze(), bookHistograms(), and StandaloneTrackMonitor().

MonitorElement* StandaloneTrackMonitor::trackPterrH_
private

Definition at line 74 of file StandaloneTrackMonitor.h.

Referenced by analyze(), bookHistograms(), and StandaloneTrackMonitor().

MonitorElement* StandaloneTrackMonitor::trackPtH_
private

Definition at line 71 of file StandaloneTrackMonitor.h.

Referenced by analyze(), bookHistograms(), and StandaloneTrackMonitor().

MonitorElement* StandaloneTrackMonitor::trackPtOver10GeVH_
private

Definition at line 73 of file StandaloneTrackMonitor.h.

Referenced by analyze(), bookHistograms(), and StandaloneTrackMonitor().

MonitorElement* StandaloneTrackMonitor::trackPtUpto2GeVH_
private

Definition at line 72 of file StandaloneTrackMonitor.h.

Referenced by analyze(), bookHistograms(), and StandaloneTrackMonitor().

MonitorElement* StandaloneTrackMonitor::trackqOverperrH_
private

Definition at line 76 of file StandaloneTrackMonitor.h.

Referenced by analyze(), bookHistograms(), and StandaloneTrackMonitor().

MonitorElement* StandaloneTrackMonitor::trackqOverpH_
private

Definition at line 75 of file StandaloneTrackMonitor.h.

Referenced by analyze(), bookHistograms(), and StandaloneTrackMonitor().

const std::string StandaloneTrackMonitor::trackQuality_
private

Definition at line 57 of file StandaloneTrackMonitor.h.

Referenced by analyze().

const edm::InputTag StandaloneTrackMonitor::trackTag_
private

Definition at line 46 of file StandaloneTrackMonitor.h.

Referenced by analyze().

MonitorElement* StandaloneTrackMonitor::trackThetaerrH_
private

Definition at line 67 of file StandaloneTrackMonitor.h.

Referenced by analyze(), bookHistograms(), and StandaloneTrackMonitor().

const edm::EDGetTokenT<reco::TrackCollection> StandaloneTrackMonitor::trackToken_
private

Definition at line 51 of file StandaloneTrackMonitor.h.

Referenced by analyze().

MonitorElement* StandaloneTrackMonitor::trkLayerwithMeasurementH_
private

Definition at line 87 of file StandaloneTrackMonitor.h.

Referenced by analyze(), bookHistograms(), and StandaloneTrackMonitor().

MonitorElement* StandaloneTrackMonitor::trueNIntH_
private

Definition at line 112 of file StandaloneTrackMonitor.h.

Referenced by analyze(), bookHistograms(), and StandaloneTrackMonitor().

const bool StandaloneTrackMonitor::verbose_
private

Definition at line 62 of file StandaloneTrackMonitor.h.

Referenced by analyze().

const edm::InputTag StandaloneTrackMonitor::vertexTag_
private

Definition at line 48 of file StandaloneTrackMonitor.h.

Referenced by analyze().

const edm::EDGetTokenT<reco::VertexCollection> StandaloneTrackMonitor::vertexToken_
private

Definition at line 53 of file StandaloneTrackMonitor.h.

Referenced by analyze().

MonitorElement* StandaloneTrackMonitor::vertexXposH_
private

Definition at line 96 of file StandaloneTrackMonitor.h.

Referenced by analyze(), bookHistograms(), and StandaloneTrackMonitor().

MonitorElement* StandaloneTrackMonitor::vertexYposH_
private

Definition at line 97 of file StandaloneTrackMonitor.h.

Referenced by analyze(), bookHistograms(), and StandaloneTrackMonitor().

MonitorElement* StandaloneTrackMonitor::vertexZposH_
private

Definition at line 98 of file StandaloneTrackMonitor.h.

Referenced by analyze(), bookHistograms(), and StandaloneTrackMonitor().

std::vector<float> StandaloneTrackMonitor::vpu_
private

Definition at line 137 of file StandaloneTrackMonitor.h.

Referenced by analyze(), and StandaloneTrackMonitor().