#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) |
Additional Inherited Members | |
Public Types inherited from DQMEDAnalyzer | |
typedef dqm::reco::DQMStore | DQMStore |
typedef dqm::reco::MonitorElement | MonitorElement |
Public Types inherited from edm::one::EDProducerBase | |
typedef EDProducerBase | ModuleType |
Public Types inherited from edm::ProducerBase | |
using | ModuleToResolverIndicies = std::unordered_multimap< std::string, std::tuple< edm::TypeID const *, const char *, edm::ProductResolverIndex >> |
typedef ProductRegistryHelper::TypeLabelList | TypeLabelList |
Public Types inherited from edm::EDConsumerBase | |
typedef ProductLabels | Labels |
Static Public Member Functions inherited from edm::one::EDProducerBase | |
static const std::string & | baseType () |
static void | fillDescriptions (ConfigurationDescriptions &descriptions) |
static void | prevalidate (ConfigurationDescriptions &descriptions) |
Protected Member Functions inherited from edm::ProducerBase | |
ProducesCollector | producesCollector () |
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 ESProduct , typename ESRecord , Transition Tr = Transition::Event> | |
auto | esConsumes () |
template<typename ESProduct , typename ESRecord , Transition Tr = Transition::Event> | |
auto | esConsumes (ESInputTag const &tag) |
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) |
Protected Attributes inherited from DQMEDAnalyzer | |
edm::EDPutTokenT< DQMToken > | lumiToken_ |
edm::EDPutTokenT< DQMToken > | runToken_ |
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.
|
override |
Definition at line 96 of file Phase2TrackerValidateDigi.cc.
References edm::ESWatcher< T >::check(), etaCut_, dqm::impl::MonitorElement::Fill(), fillHistogram(), fillHitsPerTrack(), fillITPixelBXInfo(), fillOTBXInfo(), fillSimHitInfo(), geomType_, edm::EventSetup::get(), edm::Event::getByToken(), edm::ESHandleBase::isValid(), itPixelDigiHandle_, itPixelDigiSimLinkToken_, itPixelDigiToken_, itPixelSimLinkHandle_, layerMEs, matchedSimTrack(), Phase2TrackerValidateDigi::DigiMEs::MissedHitTrackEta, Phase2TrackerValidateDigi::DigiMEs::MissedHitTrackPhi, Phase2TrackerValidateDigi::DigiMEs::MissedHitTrackPt, SimVertex::noParent(), nSimulatedTracks, nSimulatedTracksP, nSimulatedTracksS, nSimVertices, nTracks(), otDigiHandle_, otDigiSimLinkToken_, otDigiToken_, otSimLinkHandle_, SimVertex::parentIndex(), 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 379 of file Phase2TrackerValidateDigi.cc.
References dqm::dqmstoreimpl::DQMStore::IBooker::book1D(), dqm::dqmstoreimpl::DQMStore::IBooker::book2D(), bookLayerHistos(), dqm::dqmstoreimpl::DQMStore::IBooker::cd(), edm::ESWatcher< T >::check(), config_, TrackerGeometry::detUnits(), fed_dqm_sourceclient-live_cfg::folder_name, geomType_, edm::EventSetup::get(), edm::ParameterSet::getParameter(), MatchedRZPositionMap, MatchedXYPositionMap, nSimHitsPerTrack, nSimulatedTracks, nSimulatedTracksP, nSimulatedTracksS, nSimVertices, pixelFlag_, edm::ESHandle< T >::product(), dqm::dqmstoreimpl::DQMStore::IBooker::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 660 of file Phase2TrackerValidateDigi.cc.
References dqm::dqmstoreimpl::DQMStore::IBooker::book1D(), dqm::dqmstoreimpl::DQMStore::IBooker::book2D(), dqm::dqmstoreimpl::DQMStore::IBooker::bookProfile(), Phase2TrackerValidateDigi::DigiMEs::BunchXTimeBin, dqm::dqmstoreimpl::DQMStore::IBooker::cd(), config_, 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::dqmstoreimpl::DQMStore::IBooker::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().
|
override |
Definition at line 90 of file Phase2TrackerValidateDigi.cc.
|
private |
Definition at line 1051 of file Phase2TrackerValidateDigi.cc.
References dqm::impl::MonitorElement::Fill().
Referenced by analyze().
|
private |
Definition at line 1063 of file Phase2TrackerValidateDigi.cc.
References DEFINE_FWK_MODULE, dqm::impl::MonitorElement::Fill(), layerMEs, Phase2TrackerValidateDigi::DigiMEs::nHits, and nSimHitsPerTrack.
Referenced by analyze().
|
private |
Definition at line 987 of file Phase2TrackerValidateDigi.cc.
References edm::DetSetVector< T >::begin(), Phase2TrackerValidateDigi::DigiMEs::BunchXTimeBin, l1GtPatternGenerator_cfi::bx, edm::DetSetVector< T >::end(), 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 952 of file Phase2TrackerValidateDigi.cc.
References edm::DetSetVector< T >::begin(), Phase2TrackerValidateDigi::DigiMEs::BunchXTimeBin, l1GtPatternGenerator_cfi::bx, edm::DetSetVector< T >::end(), 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 199 of file Phase2TrackerValidateDigi.cc.
References cval, PVValHelper::eta, PV3DBase< T, PVType, FrameType >::eta(), etaCut_, dqm::impl::MonitorElement::Fill(), findITPixelDigi(), findOTDigi(), edm::Event::getByToken(), TrackerTopology::getITPixelLayerNumber(), TrackerTopology::getOTLayerNumber(), GeVperElectron, triggerObjects_cff::id, TrackerGeometry::idToDet(), TrackerGeometry::idToDetUnit(), 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(), hgcaltilesconstants::nColumns, 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 356 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 337 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 931 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 1037 of file Phase2TrackerValidateDigi.cc.
References PSimHit::processType(), OfflineHarvestingSequence_cosmic::ptype, CoreSimTrack::trackId(), PSimHit::trackId(), and SimTrack::vertIndex().
Referenced by fillSimHitInfo().
|
private |
Definition at line 1025 of file Phase2TrackerValidateDigi.cc.
References edm::Handle< T >::product().
Referenced by analyze().
|
private |
Definition at line 115 of file Phase2TrackerValidateDigi.h.
Referenced by bookHistograms(), bookLayerHistos(), and Phase2TrackerValidateDigi().
|
private |
Definition at line 148 of file Phase2TrackerValidateDigi.h.
Referenced by fillSimHitInfo().
|
private |
Definition at line 95 of file Phase2TrackerValidateDigi.h.
Referenced by analyze(), fillSimHitInfo(), and Phase2TrackerValidateDigi().
|
private |
Definition at line 119 of file Phase2TrackerValidateDigi.h.
Referenced by analyze(), and bookHistograms().
|
private |
Definition at line 147 of file Phase2TrackerValidateDigi.h.
Referenced by fillSimHitInfo().
|
private |
Definition at line 138 of file Phase2TrackerValidateDigi.h.
Referenced by analyze(), and findITPixelDigi().
|
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 140 of file Phase2TrackerValidateDigi.h.
Referenced by analyze(), fillITPixelBXInfo(), and findITPixelDigi().
|
private |
Definition at line 116 of file Phase2TrackerValidateDigi.h.
Referenced by analyze(), bookLayerHistos(), fillHitsPerTrack(), fillITPixelBXInfo(), fillOTBXInfo(), and fillSimHitInfo().
|
private |
Definition at line 87 of file Phase2TrackerValidateDigi.h.
Referenced by bookHistograms(), and fillSimHitInfo().
|
private |
Definition at line 86 of file Phase2TrackerValidateDigi.h.
Referenced by bookHistograms(), and fillSimHitInfo().
|
private |
Definition at line 94 of file Phase2TrackerValidateDigi.h.
Referenced by bookHistograms(), and fillHitsPerTrack().
|
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 67 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 139 of file Phase2TrackerValidateDigi.h.
Referenced by analyze(), and findOTDigi().
|
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 121 of file Phase2TrackerValidateDigi.h.
|
private |
Definition at line 129 of file Phase2TrackerValidateDigi.h.
Referenced by analyze().
|
private |
Definition at line 141 of file Phase2TrackerValidateDigi.h.
Referenced by analyze(), fillOTBXInfo(), and findOTDigi().
|
private |
Definition at line 118 of file Phase2TrackerValidateDigi.h.
Referenced by analyze(), bookHistograms(), and fillSimHitInfo().
|
private |
Definition at line 125 of file Phase2TrackerValidateDigi.h.
Referenced by Phase2TrackerValidateDigi().
|
private |
Definition at line 96 of file Phase2TrackerValidateDigi.h.
Referenced by analyze(), fillSimHitInfo(), and Phase2TrackerValidateDigi().
|
private |
Definition at line 142 of file Phase2TrackerValidateDigi.h.
Referenced by ntupleDataFormat.TrackingParticle::bestMatchingTrack(), and fillSimHitInfo().
|
private |
Definition at line 136 of file Phase2TrackerValidateDigi.h.
Referenced by fillSimHitInfo(), and Phase2TrackerValidateDigi().
|
private |
Definition at line 143 of file Phase2TrackerValidateDigi.h.
Referenced by analyze().
|
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 84 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 92 of file Phase2TrackerValidateDigi.h.
Referenced by bookHistograms(), and fillSimHitInfo().
|
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 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 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 83 of file Phase2TrackerValidateDigi.h.
Referenced by bookHistograms(), and fillSimHitInfo().
|
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 144 of file Phase2TrackerValidateDigi.h.
Referenced by analyze().
|
private |
Definition at line 98 of file Phase2TrackerValidateDigi.h.
Referenced by fillSimHitInfo(), and Phase2TrackerValidateDigi().
|
private |
Definition at line 97 of file Phase2TrackerValidateDigi.h.
Referenced by fillSimHitInfo(), and Phase2TrackerValidateDigi().
|
private |
Definition at line 145 of file Phase2TrackerValidateDigi.h.
Referenced by analyze(), bookHistograms(), fillITPixelBXInfo(), fillOTBXInfo(), and fillSimHitInfo().