#include <Phase2TrackerValidateDigi.h>
Classes | |
struct | DigiMEs |
Private Member Functions | |
void | bookLayerHistos (DQMStore::IBooker &ibooker, unsigned int det_id, const TrackerTopology *tTopo, bool flag) |
void | fillHistogram (MonitorElement *th1, MonitorElement *th2, MonitorElement *th3, float val, int primary) |
void | fillHitsPerTrack () |
void | fillITPixelBXInfo () |
void | fillOTBXInfo () |
int | fillSimHitInfo (const edm::Event &iEvent, const SimTrack simTrk, const edm::ESHandle< TrackerGeometry > gHandle) |
bool | findITPixelDigi (unsigned int detid, unsigned int id) |
bool | findOTDigi (unsigned int detid, unsigned int id) |
unsigned int | getSimTrackId (const edm::DetSetVector< PixelDigiSimLink > *simLinks, const DetId &detId, unsigned int &channel) |
bool | isPrimary (const SimTrack &simTrk, const PSimHit &simHit) |
int | matchedSimTrack (edm::Handle< edm::SimTrackContainer > &SimTk, unsigned int simTrkId) |
Description: Test pixel digis.
Definition at line 28 of file Phase2TrackerValidateDigi.h.
|
explicit |
Definition at line 49 of file Phase2TrackerValidateDigi.cc.
References config_, etaCut_, edm::ParameterSet::getParameter(), pSimHitSrc_, ptCut_, simHitTokens_, tofLowerCut_, and tofUpperCut_.
|
override |
Definition at line 82 of file Phase2TrackerValidateDigi.cc.
|
overridevirtual |
Reimplemented from DQMEDAnalyzer.
Definition at line 92 of file Phase2TrackerValidateDigi.cc.
References edm::ESWatcher< T >::check(), etaCut_, dqm::impl::MonitorElement::Fill(), fillHistogram(), fillHitsPerTrack(), fillITPixelBXInfo(), fillOTBXInfo(), fillSimHitInfo(), geomType_, edm::EventSetup::get(), get, iEvent, edm::ESHandleBase::isValid(), itPixelDigiHandle_, itPixelDigiSimLinkToken_, itPixelDigiToken_, itPixelSimLinkHandle_, layerMEs, matchedSimTrack(), Phase2TrackerValidateDigi::DigiMEs::MissedHitTrackEta, Phase2TrackerValidateDigi::DigiMEs::MissedHitTrackPhi, Phase2TrackerValidateDigi::DigiMEs::MissedHitTrackPt, nSimulatedTracks, nSimulatedTracksP, nSimulatedTracksS, nSimVertices, nTracks(), otDigiHandle_, otDigiSimLinkToken_, otDigiToken_, otSimLinkHandle_, pixelFlag_, ptCut_, simTracks, simTrackToken_, SimulatedTrackEta, SimulatedTrackEtaP, SimulatedTrackEtaS, SimulatedTrackPhi, SimulatedTrackPhiP, SimulatedTrackPhiS, SimulatedTrackPt, SimulatedTrackPtP, SimulatedTrackPtS, simVertexToken_, simVertices, tTopoHandle_, and badGlobalMuonTaggersAOD_cff::vtx.
|
overridevirtual |
Implements DQMEDAnalyzer.
Definition at line 375 of file Phase2TrackerValidateDigi.cc.
References dqm::implementation::IBooker::book1D(), dqm::implementation::IBooker::book2D(), bookLayerHistos(), dqm::implementation::NavigatorBase::cd(), edm::ESWatcher< T >::check(), config_, TrackerGeometry::detUnits(), fed_dqm_sourceclient-live_cfg::folder_name, geomType_, edm::EventSetup::get(), get, edm::ParameterSet::getParameter(), MatchedRZPositionMap, MatchedXYPositionMap, nSimHitsPerTrack, nSimulatedTracks, nSimulatedTracksP, nSimulatedTracksS, nSimVertices, pixelFlag_, edm::ESHandle< T >::product(), dqm::implementation::NavigatorBase::setCurrentFolder(), SimulatedRZPositionMap, SimulatedTOFEtaMap, SimulatedTOFPhiMap, SimulatedTOFRMap, SimulatedTOFZMap, SimulatedTrackEta, SimulatedTrackEtaP, SimulatedTrackEtaS, SimulatedTrackPhi, SimulatedTrackPhiP, SimulatedTrackPhiS, SimulatedTrackPt, SimulatedTrackPtP, SimulatedTrackPtS, SimulatedXYPositionMap, AlCaHLTBitMon_QueryRunRegistry::string, and tTopoHandle_.
|
private |
Definition at line 656 of file Phase2TrackerValidateDigi.cc.
References dqm::implementation::IBooker::book1D(), dqm::implementation::IBooker::book2D(), dqm::implementation::IBooker::bookProfile(), Phase2TrackerValidateDigi::DigiMEs::BunchXTimeBin, dqm::implementation::NavigatorBase::cd(), config_, RemoveAddSevLevel::flag, fed_dqm_sourceclient-live_cfg::folder_name, Phase2TrackerValidateDigi::DigiMEs::FractionOfOOTDigis, TrackerTopology::getITPixelLayerNumber(), TrackerTopology::getOTLayerNumber(), edm::ParameterSet::getParameter(), layerMEs, Phase2TrackerValidateDigi::DigiMEs::MatchedSimHitElossP, Phase2TrackerValidateDigi::DigiMEs::MatchedSimHitElossS, Phase2TrackerValidateDigi::DigiMEs::MatchedTrackEta, Phase2TrackerValidateDigi::DigiMEs::MatchedTrackPhi, Phase2TrackerValidateDigi::DigiMEs::MatchedTrackPt, Phase2TrackerValidateDigi::DigiMEs::MissedDigiLocalXposVsYPos, Phase2TrackerValidateDigi::DigiMEs::MissedDigiSimHitElossP, Phase2TrackerValidateDigi::DigiMEs::MissedDigiSimHitElossS, Phase2TrackerValidateDigi::DigiMEs::MissedDigiTimeWindow, Phase2TrackerValidateDigi::DigiMEs::MissedDigiTrackEta, Phase2TrackerValidateDigi::DigiMEs::MissedDigiTrackPhi, Phase2TrackerValidateDigi::DigiMEs::MissedDigiTrackPt, Phase2TrackerValidateDigi::DigiMEs::MissedHitTrackEta, Phase2TrackerValidateDigi::DigiMEs::MissedHitTrackPhi, Phase2TrackerValidateDigi::DigiMEs::MissedHitTrackPt, Phase2TrackerValidateDigi::DigiMEs::nDigis, dqm::implementation::NavigatorBase::setCurrentFolder(), Phase2TrackerValidateDigi::DigiMEs::SimHitDx, Phase2TrackerValidateDigi::DigiMEs::SimHitDy, Phase2TrackerValidateDigi::DigiMEs::SimHitDz, Phase2TrackerValidateDigi::DigiMEs::SimTrackEta, Phase2TrackerValidateDigi::DigiMEs::SimTrackPhi, Phase2TrackerValidateDigi::DigiMEs::SimTrackPt, AlCaHLTBitMon_QueryRunRegistry::string, and GlobalPosition_Frontier_DevDB_cff::tag.
Referenced by bookHistograms().
|
private |
Definition at line 1047 of file Phase2TrackerValidateDigi.cc.
References dqm::impl::MonitorElement::Fill(), and heppy_batch::val.
Referenced by analyze().
|
private |
Definition at line 1059 of file Phase2TrackerValidateDigi.cc.
References dqm::impl::MonitorElement::Fill(), layerMEs, Phase2TrackerValidateDigi::DigiMEs::nHits, and nSimHitsPerTrack.
Referenced by analyze().
|
private |
Definition at line 983 of file Phase2TrackerValidateDigi.cc.
References Phase2TrackerValidateDigi::DigiMEs::BunchXTimeBin, simKBmtfDigis_cfi::bx, dqm::impl::MonitorElement::Fill(), Phase2TrackerValidateDigi::DigiMEs::FractionOfOOTDigis, TrackerTopology::getITPixelLayerNumber(), itPixelSimLinkHandle_, layerMEs, electronStore::links, edm::Handle< T >::product(), align::Tracker, tTopoHandle_, and findQualityFiles::v.
Referenced by analyze().
|
private |
Definition at line 948 of file Phase2TrackerValidateDigi.cc.
References Phase2TrackerValidateDigi::DigiMEs::BunchXTimeBin, simKBmtfDigis_cfi::bx, dqm::impl::MonitorElement::Fill(), Phase2TrackerValidateDigi::DigiMEs::FractionOfOOTDigis, TrackerTopology::getOTLayerNumber(), layerMEs, electronStore::links, otSimLinkHandle_, edm::Handle< T >::product(), align::Tracker, tTopoHandle_, and findQualityFiles::v.
Referenced by analyze().
|
private |
Definition at line 195 of file Phase2TrackerValidateDigi.cc.
References cval, PVValHelper::eta, PV3DBase< T, PVType, FrameType >::eta(), etaCut_, dqm::impl::MonitorElement::Fill(), findITPixelDigi(), findOTDigi(), TrackerTopology::getITPixelLayerNumber(), TrackerTopology::getOTLayerNumber(), GeVperElectron, triggerObjects_cff::id, TrackerGeometry::idToDet(), TrackerGeometry::idToDetUnit(), iEvent, isPrimary(), edm::HandleBase::isValid(), layerMEs, PV3DBase< T, PVType, FrameType >::mag(), MatchedRZPositionMap, Phase2TrackerValidateDigi::DigiMEs::MatchedSimHitElossP, Phase2TrackerValidateDigi::DigiMEs::MatchedSimHitElossS, Phase2TrackerValidateDigi::DigiMEs::MatchedTrackEta, Phase2TrackerValidateDigi::DigiMEs::MatchedTrackPhi, Phase2TrackerValidateDigi::DigiMEs::MatchedTrackPt, MatchedXYPositionMap, Phase2TrackerValidateDigi::DigiMEs::MissedDigiLocalXposVsYPos, Phase2TrackerValidateDigi::DigiMEs::MissedDigiSimHitElossP, Phase2TrackerValidateDigi::DigiMEs::MissedDigiSimHitElossS, Phase2TrackerValidateDigi::DigiMEs::MissedDigiTimeWindow, Phase2TrackerValidateDigi::DigiMEs::MissedDigiTrackEta, Phase2TrackerValidateDigi::DigiMEs::MissedDigiTrackPhi, Phase2TrackerValidateDigi::DigiMEs::MissedDigiTrackPt, CoreSimTrack::momentum(), phi, PV3DBase< T, PVType, FrameType >::phi(), pixelFlag_, edm::Handle< T >::product(), edm::ESHandle< T >::product(), DiDispStaMuonMonitor_cfi::pt, ptCut_, rpcPointValidation_cfi::simHit, Phase2TrackerValidateDigi::DigiMEs::SimHitDx, Phase2TrackerValidateDigi::DigiMEs::SimHitDy, Phase2TrackerValidateDigi::DigiMEs::SimHitDz, simHits, simHitTokens_, Phase2TrackerValidateDigi::DigiMEs::SimTrackEta, Phase2TrackerValidateDigi::DigiMEs::SimTrackPhi, Phase2TrackerValidateDigi::DigiMEs::SimTrackPt, SimulatedRZPositionMap, SimulatedTOFEtaMap, SimulatedTOFPhiMap, SimulatedTOFRMap, SimulatedTOFZMap, SimulatedXYPositionMap, GeomDet::surface(), tofLowerCut_, tofUpperCut_, Surface::toGlobal(), align::Tracker, CoreSimTrack::trackId(), tTopoHandle_, PV3DBase< T, PVType, FrameType >::x(), PV3DBase< T, PVType, FrameType >::y(), and PV3DBase< T, PVType, FrameType >::z().
Referenced by analyze().
|
private |
Definition at line 352 of file Phase2TrackerValidateDigi.cc.
References edm::DetSetVector< T >::begin(), cuy::col, edm::DetSetVector< T >::end(), edm::DetSetVector< T >::find(), getSimTrackId(), itPixelDigiHandle_, itPixelSimLinkHandle_, electronStore::links, muonTagProbeFilters_cff::matched, PixelDigi::pixelToChannel(), and edm::Handle< T >::product().
Referenced by fillSimHitInfo().
|
private |
Definition at line 333 of file Phase2TrackerValidateDigi.cc.
References edm::DetSetVector< T >::begin(), cuy::col, edm::DetSetVector< T >::end(), edm::DetSetVector< T >::find(), getSimTrackId(), electronStore::links, muonTagProbeFilters_cff::matched, otDigiHandle_, otSimLinkHandle_, Phase2TrackerDigi::pixelToChannel(), and edm::Handle< T >::product().
Referenced by fillSimHitInfo().
|
private |
Definition at line 927 of file Phase2TrackerValidateDigi.cc.
References edm::DetSet< T >::data, edm::DetSetVector< T >::end(), and edm::DetSetVector< T >::find().
Referenced by findITPixelDigi(), and findOTDigi().
|
private |
Definition at line 1033 of file Phase2TrackerValidateDigi.cc.
References OfflineHarvestingSequence_cosmic::ptype, rpcPointValidation_cfi::simHit, CoreSimTrack::trackId(), and SimTrack::vertIndex().
Referenced by fillSimHitInfo().
|
private |
Definition at line 1021 of file Phase2TrackerValidateDigi.cc.
References edm::Handle< T >::product().
Referenced by analyze().
|
private |
Definition at line 114 of file Phase2TrackerValidateDigi.h.
Referenced by bookHistograms(), bookLayerHistos(), and Phase2TrackerValidateDigi().
|
private |
Definition at line 147 of file Phase2TrackerValidateDigi.h.
Referenced by fillSimHitInfo().
|
private |
Definition at line 94 of file Phase2TrackerValidateDigi.h.
Referenced by analyze(), fillSimHitInfo(), and Phase2TrackerValidateDigi().
|
private |
Definition at line 118 of file Phase2TrackerValidateDigi.h.
Referenced by analyze(), and bookHistograms().
|
private |
Definition at line 146 of file Phase2TrackerValidateDigi.h.
Referenced by fillSimHitInfo().
|
private |
Definition at line 137 of file Phase2TrackerValidateDigi.h.
Referenced by analyze(), and findITPixelDigi().
|
private |
Definition at line 123 of file Phase2TrackerValidateDigi.h.
|
private |
Definition at line 131 of file Phase2TrackerValidateDigi.h.
Referenced by analyze().
|
private |
Definition at line 122 of file Phase2TrackerValidateDigi.h.
|
private |
Definition at line 130 of file Phase2TrackerValidateDigi.h.
Referenced by analyze().
|
private |
Definition at line 139 of file Phase2TrackerValidateDigi.h.
Referenced by analyze(), fillITPixelBXInfo(), and findITPixelDigi().
|
private |
Definition at line 115 of file Phase2TrackerValidateDigi.h.
Referenced by analyze(), bookLayerHistos(), fillHitsPerTrack(), fillITPixelBXInfo(), fillOTBXInfo(), and fillSimHitInfo().
|
private |
Definition at line 86 of file Phase2TrackerValidateDigi.h.
Referenced by bookHistograms(), and fillSimHitInfo().
|
private |
Definition at line 85 of file Phase2TrackerValidateDigi.h.
Referenced by bookHistograms(), and fillSimHitInfo().
|
private |
Definition at line 93 of file Phase2TrackerValidateDigi.h.
Referenced by bookHistograms(), and fillHitsPerTrack().
|
private |
Definition at line 64 of file Phase2TrackerValidateDigi.h.
Referenced by analyze(), and bookHistograms().
|
private |
Definition at line 65 of file Phase2TrackerValidateDigi.h.
Referenced by analyze(), and bookHistograms().
|
private |
Definition at line 66 of file Phase2TrackerValidateDigi.h.
Referenced by analyze(), and bookHistograms().
|
private |
Definition at line 68 of file Phase2TrackerValidateDigi.h.
Referenced by analyze(), and bookHistograms().
|
private |
Definition at line 138 of file Phase2TrackerValidateDigi.h.
Referenced by analyze(), and findOTDigi().
|
private |
Definition at line 121 of file Phase2TrackerValidateDigi.h.
|
private |
Definition at line 129 of file Phase2TrackerValidateDigi.h.
Referenced by analyze().
|
private |
Definition at line 120 of file Phase2TrackerValidateDigi.h.
|
private |
Definition at line 128 of file Phase2TrackerValidateDigi.h.
Referenced by analyze().
|
private |
Definition at line 140 of file Phase2TrackerValidateDigi.h.
Referenced by analyze(), fillOTBXInfo(), and findOTDigi().
|
private |
Definition at line 117 of file Phase2TrackerValidateDigi.h.
Referenced by analyze(), bookHistograms(), and fillSimHitInfo().
|
private |
Definition at line 124 of file Phase2TrackerValidateDigi.h.
Referenced by Phase2TrackerValidateDigi().
|
private |
Definition at line 95 of file Phase2TrackerValidateDigi.h.
Referenced by analyze(), fillSimHitInfo(), and Phase2TrackerValidateDigi().
|
private |
Definition at line 141 of file Phase2TrackerValidateDigi.h.
Referenced by ntupleDataFormat.TrackingParticle::bestMatchingTrack(), and fillSimHitInfo().
|
private |
Definition at line 135 of file Phase2TrackerValidateDigi.h.
Referenced by fillSimHitInfo(), and Phase2TrackerValidateDigi().
|
private |
Definition at line 142 of file Phase2TrackerValidateDigi.h.
Referenced by analyze().
|
private |
Definition at line 125 of file Phase2TrackerValidateDigi.h.
|
private |
Definition at line 133 of file Phase2TrackerValidateDigi.h.
Referenced by analyze().
|
private |
Definition at line 83 of file Phase2TrackerValidateDigi.h.
Referenced by bookHistograms(), and fillSimHitInfo().
|
private |
Definition at line 88 of file Phase2TrackerValidateDigi.h.
Referenced by bookHistograms(), and fillSimHitInfo().
|
private |
Definition at line 89 of file Phase2TrackerValidateDigi.h.
Referenced by bookHistograms(), and fillSimHitInfo().
|
private |
Definition at line 90 of file Phase2TrackerValidateDigi.h.
Referenced by bookHistograms(), and fillSimHitInfo().
|
private |
Definition at line 91 of file Phase2TrackerValidateDigi.h.
Referenced by bookHistograms(), and fillSimHitInfo().
|
private |
Definition at line 71 of file Phase2TrackerValidateDigi.h.
Referenced by analyze(), and bookHistograms().
|
private |
Definition at line 75 of file Phase2TrackerValidateDigi.h.
Referenced by analyze(), and bookHistograms().
|
private |
Definition at line 79 of file Phase2TrackerValidateDigi.h.
Referenced by analyze(), and bookHistograms().
|
private |
Definition at line 72 of file Phase2TrackerValidateDigi.h.
Referenced by analyze(), and bookHistograms().
|
private |
Definition at line 76 of file Phase2TrackerValidateDigi.h.
Referenced by analyze(), and bookHistograms().
|
private |
Definition at line 80 of file Phase2TrackerValidateDigi.h.
Referenced by analyze(), and bookHistograms().
|
private |
Definition at line 70 of file Phase2TrackerValidateDigi.h.
Referenced by analyze(), and bookHistograms().
|
private |
Definition at line 74 of file Phase2TrackerValidateDigi.h.
Referenced by analyze(), and bookHistograms().
|
private |
Definition at line 78 of file Phase2TrackerValidateDigi.h.
Referenced by analyze(), and bookHistograms().
|
private |
Definition at line 82 of file Phase2TrackerValidateDigi.h.
Referenced by bookHistograms(), and fillSimHitInfo().
|
private |
Definition at line 126 of file Phase2TrackerValidateDigi.h.
|
private |
Definition at line 134 of file Phase2TrackerValidateDigi.h.
Referenced by analyze().
|
private |
Definition at line 143 of file Phase2TrackerValidateDigi.h.
Referenced by analyze().
|
private |
Definition at line 97 of file Phase2TrackerValidateDigi.h.
Referenced by fillSimHitInfo(), and Phase2TrackerValidateDigi().
|
private |
Definition at line 96 of file Phase2TrackerValidateDigi.h.
Referenced by fillSimHitInfo(), and Phase2TrackerValidateDigi().
|
private |
Definition at line 144 of file Phase2TrackerValidateDigi.h.
Referenced by analyze(), bookHistograms(), fillITPixelBXInfo(), fillOTBXInfo(), and fillSimHitInfo().