#include <Phase2ITValidateRecHit.cc>
Classes | |
struct | RecHitME |
Static Public Member Functions | |
static void | fillDescriptions (edm::ConfigurationDescriptions &descriptions) |
Static Public Member Functions inherited from DQMEDAnalyzer | |
static void | globalEndJob (DQMEDAnalyzerGlobalCache const *) |
static void | globalEndLuminosityBlockProduce (edm::LuminosityBlock &lumi, edm::EventSetup const &setup, LuminosityBlockContext const *context) |
static void | globalEndRunProduce (edm::Run &run, edm::EventSetup const &setup, RunContext const *context) |
static std::unique_ptr< DQMEDAnalyzerGlobalCache > | initializeGlobalCache (edm::ParameterSet const &) |
Private Member Functions | |
void | bookLayerHistos (DQMStore::IBooker &ibooker, unsigned int det_id, std::string &subdir) |
void | fillITHistos (const edm::Event &iEvent, const TrackerHitAssociator &associateRecHit, const std::vector< edm::Handle< edm::PSimHitContainer >> &simHits, const std::map< unsigned int, SimTrack > &selectedSimTrackMap) |
Private Attributes | |
edm::ParameterSet | config_ |
const edm::ESGetToken< TrackerGeometry, TrackerDigiGeometryRecord > | geomToken_ |
std::string | geomType_ |
std::map< std::string, RecHitME > | layerMEs_ |
std::vector< edm::EDGetTokenT< edm::PSimHitContainer > > | simHitTokens_ |
const double | simtrackminpt_ |
const edm::EDGetTokenT< edm::SimTrackContainer > | simTracksToken_ |
const TrackerGeometry * | tkGeom_ = nullptr |
const edm::EDGetTokenT< SiPixelRecHitCollection > | tokenRecHitsIT_ |
const edm::ESGetToken< TrackerTopology, TrackerTopologyRcd > | topoToken_ |
TrackerHitAssociator::Config | trackerHitAssociatorConfig_ |
const TrackerTopology * | tTopo_ = nullptr |
Description: Plugin for Phase2 RecHit validation
Definition at line 53 of file Phase2ITValidateRecHit.cc.
|
explicit |
Definition at line 100 of file Phase2ITValidateRecHit.cc.
References config_, edm::ParameterSet::getParameter(), and simHitTokens_.
|
override |
Definition at line 114 of file Phase2ITValidateRecHit.cc.
|
overridevirtual |
Reimplemented from DQMEDAnalyzer.
Definition at line 118 of file Phase2ITValidateRecHit.cc.
References fillITHistos(), iEvent, edm::HandleBase::isValid(), FastTrackerRecHitCombiner_cfi::simHits, simHitTokens_, simtrackminpt_, TrackCandidateProducer_cfi::simTracks, simTracksToken_, and trackerHitAssociatorConfig_.
|
overridevirtual |
Implements DQMEDAnalyzer.
Definition at line 239 of file Phase2ITValidateRecHit.cc.
References bookLayerHistos(), edm::ESWatcher< T >::check(), config_, TrackerGeometry::detUnits(), edm::ParameterSet::getParameter(), GeomDetEnumerators::P2PXB, GeomDetEnumerators::P2PXEC, AlCaHLTBitMon_QueryRunRegistry::string, and tkGeom_.
|
private |
Definition at line 257 of file Phase2ITValidateRecHit.cc.
References phase2tkutil::book1DFromPSet(), phase2tkutil::bookProfile1DFromPSet(), dqm::implementation::NavigatorBase::cd(), config_, Phase2ITValidateRecHit::RecHitME::deltaX, Phase2ITValidateRecHit::RecHitME::deltaX_eta, Phase2ITValidateRecHit::RecHitME::deltaX_primary, Phase2ITValidateRecHit::RecHitME::deltaY, Phase2ITValidateRecHit::RecHitME::deltaY_eta, Phase2ITValidateRecHit::RecHitME::deltaY_primary, phase2tkutil::getITHistoId(), edm::ParameterSet::getParameter(), crabWrapper::key, layerMEs_, Phase2ITValidateRecHit::RecHitME::numberRecHitsprimary, Phase2ITValidateRecHit::RecHitME::pullX, Phase2ITValidateRecHit::RecHitME::pullX_eta, Phase2ITValidateRecHit::RecHitME::pullX_primary, Phase2ITValidateRecHit::RecHitME::pullY, Phase2ITValidateRecHit::RecHitME::pullY_eta, Phase2ITValidateRecHit::RecHitME::pullY_primary, dqm::implementation::NavigatorBase::setCurrentFolder(), AlCaHLTBitMon_QueryRunRegistry::string, and tTopo_.
Referenced by bookHistograms().
|
overridevirtual |
Reimplemented from DQMEDAnalyzer.
Definition at line 230 of file Phase2ITValidateRecHit.cc.
References geomToken_, edm::EventSetup::getHandle(), edm::ESHandle< T >::product(), tkGeom_, topoToken_, and tTopo_.
|
static |
Definition at line 307 of file Phase2ITValidateRecHit.cc.
References edm::ConfigurationDescriptions::add(), edm::ParameterSetDescription::add(), submitPVResolutionJobs::desc, HLT_FULL_cff::InputTag, and AlCaHLTBitMon_QueryRunRegistry::string.
|
private |
Definition at line 141 of file Phase2ITValidateRecHit.cc.
References funct::abs(), TrackerHitAssociator::associateHitId(), PVValHelper::dx, PVValHelper::dy, PVValHelper::eta, phase2tkutil::getITHistoId(), TrackerGeometry::idToDetUnit(), iEvent, phase2tkutil::isPrimary(), crabWrapper::key, layerMEs_, PSimHit::localPosition(), HI_PhotonSkim_cff::rechits, FastTrackerRecHitCombiner_cfi::simHits, mathSSE::sqrt(), AlCaHLTBitMon_QueryRunRegistry::string, tkGeom_, tokenRecHitsIT_, PSimHit::trackId(), tTopo_, PV3DBase< T, PVType, FrameType >::x(), and PV3DBase< T, PVType, FrameType >::y().
Referenced by analyze().
|
private |
Definition at line 70 of file Phase2ITValidateRecHit.cc.
Referenced by bookHistograms(), bookLayerHistos(), and Phase2ITValidateRecHit().
|
private |
Definition at line 77 of file Phase2ITValidateRecHit.cc.
Referenced by dqmBeginRun().
|
private |
Definition at line 73 of file Phase2ITValidateRecHit.cc.
|
private |
Definition at line 97 of file Phase2ITValidateRecHit.cc.
Referenced by bookLayerHistos(), and fillITHistos().
|
private |
Definition at line 76 of file Phase2ITValidateRecHit.cc.
Referenced by analyze(), and Phase2ITValidateRecHit().
|
private |
Definition at line 72 of file Phase2ITValidateRecHit.cc.
Referenced by analyze().
|
private |
Definition at line 75 of file Phase2ITValidateRecHit.cc.
Referenced by analyze().
|
private |
Definition at line 79 of file Phase2ITValidateRecHit.cc.
Referenced by bookHistograms(), dqmBeginRun(), and fillITHistos().
|
private |
Definition at line 74 of file Phase2ITValidateRecHit.cc.
Referenced by fillITHistos().
|
private |
Definition at line 78 of file Phase2ITValidateRecHit.cc.
Referenced by dqmBeginRun().
|
private |
Definition at line 71 of file Phase2ITValidateRecHit.cc.
Referenced by analyze().
|
private |
Definition at line 80 of file Phase2ITValidateRecHit.cc.
Referenced by bookLayerHistos(), dqmBeginRun(), and fillITHistos().