#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 51 of file Phase2TrackerValidateDigi.cc.
References config_, etaCut_, edm::ParameterSet::getParameter(), pSimHitSrc_, ptCut_, simHitTokens_, tofLowerCut_, and tofUpperCut_.
|
override |
Definition at line 86 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, itdigis_, itPixelDigiSimLinkToken_, itPixelDigiToken_, itSimLink_, layerMEs, matchedSimTrack(), Phase2TrackerValidateDigi::DigiMEs::MissedHitTrackEta, Phase2TrackerValidateDigi::DigiMEs::MissedHitTrackPhi, Phase2TrackerValidateDigi::DigiMEs::MissedHitTrackPt, nSimulatedTracks, nSimulatedTracksP, nSimulatedTracksS, nSimVertices, BeamSpotPI::nTracks, otdigis_, otDigiSimLinkToken_, otDigiToken_, otSimLink_, 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 364 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 633 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 93 of file Phase2TrackerValidateDigi.cc.
References edm::ESWatcher< T >::check(), geomToken_, edm::EventSetup::getData(), edm::EventSetup::getHandle(), edm::ESHandleBase::isValid(), tkGeom_, topoToken_, and tTopo_.
|
private |
Definition at line 1021 of file Phase2TrackerValidateDigi.cc.
References dqm::impl::MonitorElement::Fill(), and heppy_batch::val.
Referenced by analyze().
|
private |
|
private |
Definition at line 956 of file Phase2TrackerValidateDigi.cc.
References edm::DetSetVector< T >::begin(), Phase2TrackerValidateDigi::DigiMEs::BunchXTimeBin, simKBmtfDigis_cfi::bx, edm::DetSetVector< T >::end(), dqm::impl::MonitorElement::Fill(), flag_, Phase2TrackerValidateDigi::DigiMEs::FractionOfOOTDigis, getHistoId(), TrackerTopology::getITPixelLayerNumber(), itSimLink_, crabWrapper::key, phase1PixelTopology::layer, layerMEs, AlCaHLTBitMon_QueryRunRegistry::string, align::Tracker, tTopo_, and findQualityFiles::v.
Referenced by analyze().
|
private |
Definition at line 920 of file Phase2TrackerValidateDigi.cc.
References edm::DetSetVector< T >::begin(), Phase2TrackerValidateDigi::DigiMEs::BunchXTimeBin, simKBmtfDigis_cfi::bx, edm::DetSetVector< T >::end(), dqm::impl::MonitorElement::Fill(), flag_, Phase2TrackerValidateDigi::DigiMEs::FractionOfOOTDigis, getHistoId(), TrackerTopology::getOTLayerNumber(), crabWrapper::key, phase1PixelTopology::layer, layerMEs, otSimLink_, AlCaHLTBitMon_QueryRunRegistry::string, align::Tracker, tTopo_, and findQualityFiles::v.
Referenced by analyze().
|
private |
Definition at line 193 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(), 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(), PixelTopology::ncolumns(), phi, PV3DBase< T, PVType, FrameType >::phi(), pixelFlag_, 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, PixelGeomDetUnit::specificTopology(), 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 344 of file Phase2TrackerValidateDigi.cc.
References edm::DetSetVector< T >::begin(), cuy::col, edm::DetSetVector< T >::end(), edm::DetSetVector< T >::find(), getSimTrackId(), itdigis_, itSimLink_, muonTagProbeFilters_cff::matched, and PixelDigi::pixelToChannel().
Referenced by fillSimHitInfo().
|
private |
Definition at line 327 of file Phase2TrackerValidateDigi.cc.
References edm::DetSetVector< T >::begin(), cuy::col, edm::DetSetVector< T >::end(), edm::DetSetVector< T >::find(), getSimTrackId(), muonTagProbeFilters_cff::matched, otdigis_, otSimLink_, and Phase2TrackerDigi::pixelToChannel().
Referenced by fillSimHitInfo().
std::string Phase2TrackerValidateDigi::getHistoId | ( | uint32_t | det_id, |
bool | flag | ||
) |
Definition at line 1051 of file Phase2TrackerValidateDigi.cc.
References RemoveAddSevLevel::flag, phase2tkutil::getITHistoId(), phase2tkutil::getOTHistoId(), and tTopo_.
Referenced by bookLayerHistos(), fillITPixelBXInfo(), fillOTBXInfo(), and fillSimHitInfo().
|
private |
Definition at line 899 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 1007 of file Phase2TrackerValidateDigi.cc.
References OfflineHarvestingSequence_cosmic::ptype, rpcPointValidation_cfi::simHit, CoreSimTrack::trackId(), and SimTrack::vertIndex().
Referenced by fillSimHitInfo().
|
private |
Definition at line 995 of file Phase2TrackerValidateDigi.cc.
References edm::Handle< T >::product().
Referenced by analyze().
|
private |
Definition at line 119 of file Phase2TrackerValidateDigi.h.
Referenced by bookHistograms(), bookLayerHistos(), and Phase2TrackerValidateDigi().
|
private |
Definition at line 153 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 147 of file Phase2TrackerValidateDigi.h.
Referenced by dqmBeginRun().
|
private |
Definition at line 123 of file Phase2TrackerValidateDigi.h.
|
private |
Definition at line 152 of file Phase2TrackerValidateDigi.h.
Referenced by fillSimHitInfo().
|
private |
Definition at line 142 of file Phase2TrackerValidateDigi.h.
Referenced by analyze(), and findITPixelDigi().
|
private |
Definition at line 128 of file Phase2TrackerValidateDigi.h.
|
private |
Definition at line 136 of file Phase2TrackerValidateDigi.h.
Referenced by analyze().
|
private |
Definition at line 127 of file Phase2TrackerValidateDigi.h.
|
private |
Definition at line 135 of file Phase2TrackerValidateDigi.h.
Referenced by analyze().
|
private |
Definition at line 140 of file Phase2TrackerValidateDigi.h.
Referenced by analyze(), fillITPixelBXInfo(), and findITPixelDigi().
|
private |
Definition at line 120 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 141 of file Phase2TrackerValidateDigi.h.
Referenced by analyze(), and findOTDigi().
|
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 139 of file Phase2TrackerValidateDigi.h.
Referenced by analyze(), fillOTBXInfo(), and findOTDigi().
|
private |
Definition at line 122 of file Phase2TrackerValidateDigi.h.
Referenced by analyze(), bookHistograms(), bookLayerHistos(), and fillSimHitInfo().
|
private |
Definition at line 129 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 144 of file Phase2TrackerValidateDigi.h.
Referenced by ntupleDataFormat.TrackingParticle::bestMatchingTrack(), and fillSimHitInfo().
|
private |
Definition at line 143 of file Phase2TrackerValidateDigi.h.
Referenced by fillSimHitInfo(), and Phase2TrackerValidateDigi().
|
private |
Definition at line 145 of file Phase2TrackerValidateDigi.h.
Referenced by analyze().
|
private |
Definition at line 130 of file Phase2TrackerValidateDigi.h.
|
private |
Definition at line 137 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 131 of file Phase2TrackerValidateDigi.h.
|
private |
Definition at line 138 of file Phase2TrackerValidateDigi.h.
Referenced by analyze().
|
private |
Definition at line 146 of file Phase2TrackerValidateDigi.h.
Referenced by analyze().
|
private |
Definition at line 149 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 148 of file Phase2TrackerValidateDigi.h.
Referenced by dqmBeginRun().
|
private |
Definition at line 150 of file Phase2TrackerValidateDigi.h.
Referenced by bookLayerHistos(), dqmBeginRun(), fillITPixelBXInfo(), fillOTBXInfo(), fillSimHitInfo(), and getHistoId().