#include <Phase2TrackerValidateDigi.h>
Classes | |
struct | DigiMEs |
Private Member Functions | |
void | bookLayerHistos (DQMStore::IBooker &ibooker, unsigned int det_id, 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) |
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 29 of file Phase2TrackerValidateDigi.h.
|
explicit |
Definition at line 50 of file Phase2TrackerValidateDigi.cc.
References config_, etaCut_, edm::ParameterSet::getParameter(), pSimHitSrc_, ptCut_, simHitTokens_, tofLowerCut_, and tofUpperCut_.
|
override |
Definition at line 85 of file Phase2TrackerValidateDigi.cc.
|
overridevirtual |
Reimplemented from DQMEDAnalyzer.
Definition at line 108 of file Phase2TrackerValidateDigi.cc.
References etaCut_, dqm::impl::MonitorElement::Fill(), fillHistogram(), fillITPixelBXInfo(), fillOTBXInfo(), fillSimHitInfo(), iEvent, itPixelDigiHandle_, itPixelDigiSimLinkToken_, itPixelDigiToken_, itPixelSimLinkHandle_, layerMEs, matchedSimTrack(), Phase2TrackerValidateDigi::DigiMEs::MissedHitTrackEta, Phase2TrackerValidateDigi::DigiMEs::MissedHitTrackPhi, Phase2TrackerValidateDigi::DigiMEs::MissedHitTrackPt, nSimulatedTracks, nSimulatedTracksP, nSimulatedTracksS, nSimVertices, BeamSpotPI::nTracks, otDigiHandle_, otDigiSimLinkToken_, otDigiToken_, otSimLinkHandle_, pixelFlag_, ptCut_, simTracks, simTrackToken_, SimulatedTrackEta, SimulatedTrackEtaP, SimulatedTrackEtaS, SimulatedTrackPhi, SimulatedTrackPhiP, SimulatedTrackPhiS, SimulatedTrackPt, SimulatedTrackPtP, SimulatedTrackPtS, simVertexToken_, simVertices, and extraflags_cff::vtx.
|
overridevirtual |
Implements DQMEDAnalyzer.
Definition at line 371 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, edm::ParameterSet::getParameter(), MatchedRZPositionMap, MatchedXYPositionMap, nSimulatedTracks, nSimulatedTracksP, nSimulatedTracksS, nSimVertices, pixelFlag_, dqm::implementation::NavigatorBase::setCurrentFolder(), SimulatedRZPositionMap, SimulatedTOFEtaMap, SimulatedTOFPhiMap, SimulatedTOFRMap, SimulatedTOFZMap, SimulatedTrackEta, SimulatedTrackEtaP, SimulatedTrackEtaS, SimulatedTrackPhi, SimulatedTrackPhiP, SimulatedTrackPhiS, SimulatedTrackPt, SimulatedTrackPtP, SimulatedTrackPtS, SimulatedXYPositionMap, AlCaHLTBitMon_QueryRunRegistry::string, and tkGeom_.
|
private |
Definition at line 640 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, getHistoId(), TrackerTopology::getITPixelLayerNumber(), TrackerTopology::getOTLayerNumber(), edm::ParameterSet::getParameter(), crabWrapper::key, phase1PixelTopology::layer, 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, pixelFlag_, 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, TrackerTopology::tidRing(), TrackerTopology::tidWheel(), funct::true, and tTopo_.
Referenced by bookHistograms().
|
overridevirtual |
Reimplemented from DQMEDAnalyzer.
Definition at line 92 of file Phase2TrackerValidateDigi.cc.
References edm::ESWatcher< T >::check(), geomToken_, edm::EventSetup::getHandle(), edm::ESHandleBase::isValid(), edm::ESHandle< T >::product(), tkGeom_, topoToken_, and tTopo_.
|
private |
Definition at line 1028 of file Phase2TrackerValidateDigi.cc.
References dqm::impl::MonitorElement::Fill(), and heppy_batch::val.
Referenced by analyze().
|
private |
|
private |
Definition at line 963 of file Phase2TrackerValidateDigi.cc.
References Phase2TrackerValidateDigi::DigiMEs::BunchXTimeBin, l1GtPatternGenerator_cfi::bx, dqm::impl::MonitorElement::Fill(), flag_, Phase2TrackerValidateDigi::DigiMEs::FractionOfOOTDigis, getHistoId(), TrackerTopology::getITPixelLayerNumber(), itPixelSimLinkHandle_, crabWrapper::key, phase1PixelTopology::layer, layerMEs, electronStore::links, edm::Handle< T >::product(), AlCaHLTBitMon_QueryRunRegistry::string, align::Tracker, tTopo_, and findQualityFiles::v.
Referenced by analyze().
|
private |
Definition at line 927 of file Phase2TrackerValidateDigi.cc.
References Phase2TrackerValidateDigi::DigiMEs::BunchXTimeBin, l1GtPatternGenerator_cfi::bx, dqm::impl::MonitorElement::Fill(), flag_, Phase2TrackerValidateDigi::DigiMEs::FractionOfOOTDigis, getHistoId(), TrackerTopology::getOTLayerNumber(), crabWrapper::key, phase1PixelTopology::layer, layerMEs, electronStore::links, otSimLinkHandle_, edm::Handle< T >::product(), AlCaHLTBitMon_QueryRunRegistry::string, align::Tracker, tTopo_, 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(), getHistoId(), TrackerTopology::getITPixelLayerNumber(), TrackerTopology::getOTLayerNumber(), GeVperElectron, triggerObjects_cff::id, TrackerGeometry::idToDet(), TrackerGeometry::idToDetUnit(), iEvent, isPrimary(), edm::HandleBase::isValid(), crabWrapper::key, phase1PixelTopology::layer, 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(), 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, AlCaHLTBitMon_QueryRunRegistry::string, GeomDet::surface(), tkGeom_, tofLowerCut_, tofUpperCut_, Surface::toGlobal(), align::Tracker, CoreSimTrack::trackId(), tTopo_, PV3DBase< T, PVType, FrameType >::x(), PV3DBase< T, PVType, FrameType >::y(), and PV3DBase< T, PVType, FrameType >::z().
Referenced by analyze().
|
private |
Definition at line 348 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 329 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().
std::string Phase2TrackerValidateDigi::getHistoId | ( | uint32_t | det_id, |
bool | flag | ||
) |
Definition at line 1058 of file Phase2TrackerValidateDigi.cc.
References RemoveAddSevLevel::flag, phase2tkutil::getITHistoId(), phase2tkutil::getOTHistoId(), and tTopo_.
Referenced by bookLayerHistos(), fillITPixelBXInfo(), fillOTBXInfo(), and fillSimHitInfo().
|
private |
Definition at line 906 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 1014 of file Phase2TrackerValidateDigi.cc.
References OfflineHarvestingSequence_cosmic::ptype, rpcPointValidation_cfi::simHit, CoreSimTrack::trackId(), and SimTrack::vertIndex().
Referenced by fillSimHitInfo().
|
private |
Definition at line 1002 of file Phase2TrackerValidateDigi.cc.
References edm::Handle< T >::product().
Referenced by analyze().
|
private |
Definition at line 117 of file Phase2TrackerValidateDigi.h.
Referenced by bookHistograms(), bookLayerHistos(), and Phase2TrackerValidateDigi().
|
private |
Definition at line 152 of file Phase2TrackerValidateDigi.h.
Referenced by fillSimHitInfo().
|
private |
Definition at line 97 of file Phase2TrackerValidateDigi.h.
Referenced by analyze(), fillSimHitInfo(), and Phase2TrackerValidateDigi().
|
private |
Definition at line 146 of file Phase2TrackerValidateDigi.h.
Referenced by dqmBeginRun().
|
private |
Definition at line 121 of file Phase2TrackerValidateDigi.h.
|
private |
Definition at line 151 of file Phase2TrackerValidateDigi.h.
Referenced by fillSimHitInfo().
|
private |
Definition at line 139 of file Phase2TrackerValidateDigi.h.
Referenced by analyze(), and findITPixelDigi().
|
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 125 of file Phase2TrackerValidateDigi.h.
|
private |
Definition at line 133 of file Phase2TrackerValidateDigi.h.
Referenced by analyze().
|
private |
Definition at line 141 of file Phase2TrackerValidateDigi.h.
Referenced by analyze(), fillITPixelBXInfo(), and findITPixelDigi().
|
private |
Definition at line 118 of file Phase2TrackerValidateDigi.h.
Referenced by analyze(), bookLayerHistos(), fillITPixelBXInfo(), fillOTBXInfo(), and fillSimHitInfo().
|
private |
Definition at line 89 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 96 of file Phase2TrackerValidateDigi.h.
|
private |
Definition at line 67 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 69 of file Phase2TrackerValidateDigi.h.
Referenced by analyze(), and bookHistograms().
|
private |
Definition at line 71 of file Phase2TrackerValidateDigi.h.
Referenced by analyze(), and bookHistograms().
|
private |
Definition at line 140 of file Phase2TrackerValidateDigi.h.
Referenced by analyze(), and findOTDigi().
|
private |
Definition at line 124 of file Phase2TrackerValidateDigi.h.
|
private |
Definition at line 132 of file Phase2TrackerValidateDigi.h.
Referenced by analyze().
|
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 142 of file Phase2TrackerValidateDigi.h.
Referenced by analyze(), fillOTBXInfo(), and findOTDigi().
|
private |
Definition at line 120 of file Phase2TrackerValidateDigi.h.
Referenced by analyze(), bookHistograms(), bookLayerHistos(), and fillSimHitInfo().
|
private |
Definition at line 127 of file Phase2TrackerValidateDigi.h.
Referenced by Phase2TrackerValidateDigi().
|
private |
Definition at line 98 of file Phase2TrackerValidateDigi.h.
Referenced by analyze(), fillSimHitInfo(), and Phase2TrackerValidateDigi().
|
private |
Definition at line 143 of file Phase2TrackerValidateDigi.h.
Referenced by ntupleDataFormat.TrackingParticle::bestMatchingTrack(), and fillSimHitInfo().
|
private |
Definition at line 137 of file Phase2TrackerValidateDigi.h.
Referenced by fillSimHitInfo(), and Phase2TrackerValidateDigi().
|
private |
Definition at line 144 of file Phase2TrackerValidateDigi.h.
Referenced by analyze().
|
private |
Definition at line 128 of file Phase2TrackerValidateDigi.h.
|
private |
Definition at line 135 of file Phase2TrackerValidateDigi.h.
Referenced by analyze().
|
private |
Definition at line 86 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 92 of file Phase2TrackerValidateDigi.h.
Referenced by bookHistograms(), and fillSimHitInfo().
|
private |
Definition at line 93 of file Phase2TrackerValidateDigi.h.
Referenced by bookHistograms(), and fillSimHitInfo().
|
private |
Definition at line 94 of file Phase2TrackerValidateDigi.h.
Referenced by bookHistograms(), and fillSimHitInfo().
|
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 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 83 of file Phase2TrackerValidateDigi.h.
Referenced by analyze(), and bookHistograms().
|
private |
Definition at line 73 of file Phase2TrackerValidateDigi.h.
Referenced by analyze(), and bookHistograms().
|
private |
Definition at line 77 of file Phase2TrackerValidateDigi.h.
Referenced by analyze(), and bookHistograms().
|
private |
Definition at line 81 of file Phase2TrackerValidateDigi.h.
Referenced by analyze(), and bookHistograms().
|
private |
Definition at line 85 of file Phase2TrackerValidateDigi.h.
Referenced by bookHistograms(), and fillSimHitInfo().
|
private |
Definition at line 129 of file Phase2TrackerValidateDigi.h.
|
private |
Definition at line 136 of file Phase2TrackerValidateDigi.h.
Referenced by analyze().
|
private |
Definition at line 145 of file Phase2TrackerValidateDigi.h.
Referenced by analyze().
|
private |
Definition at line 148 of file Phase2TrackerValidateDigi.h.
Referenced by bookHistograms(), dqmBeginRun(), and fillSimHitInfo().
|
private |
Definition at line 100 of file Phase2TrackerValidateDigi.h.
Referenced by fillSimHitInfo(), and Phase2TrackerValidateDigi().
|
private |
Definition at line 99 of file Phase2TrackerValidateDigi.h.
Referenced by fillSimHitInfo(), and Phase2TrackerValidateDigi().
|
private |
Definition at line 147 of file Phase2TrackerValidateDigi.h.
Referenced by dqmBeginRun().
|
private |
Definition at line 149 of file Phase2TrackerValidateDigi.h.
Referenced by bookLayerHistos(), dqmBeginRun(), fillITPixelBXInfo(), fillOTBXInfo(), fillSimHitInfo(), and getHistoId().