#include <Phase2OTValidateCluster.cc>
Classes | |
struct | ClusterMEs |
Public Types | |
typedef std::map< unsigned int, std::vector< PSimHit > > | SimHitsMap |
typedef std::map< unsigned int, SimTrack > | SimTracksMap |
Public Types inherited from DQMEDAnalyzer | |
typedef dqm::reco::DQMStore | DQMStore |
typedef dqm::reco::MonitorElement | MonitorElement |
Public Types inherited from edm::stream::EDProducer< edm::GlobalCache< DQMEDAnalyzerGlobalCache >, edm::EndRunProducer, edm::EndLuminosityBlockProducer, edm::Accumulator > | |
using | CacheTypes = CacheContexts< T... > |
using | GlobalCache = typename CacheTypes::GlobalCache |
using | HasAbility = AbilityChecker< T... > |
using | InputProcessBlockCache = typename CacheTypes::InputProcessBlockCache |
using | LuminosityBlockCache = typename CacheTypes::LuminosityBlockCache |
using | LuminosityBlockContext = LuminosityBlockContextT< LuminosityBlockCache, RunCache, GlobalCache > |
using | LuminosityBlockSummaryCache = typename CacheTypes::LuminosityBlockSummaryCache |
using | RunCache = typename CacheTypes::RunCache |
using | RunContext = RunContextT< RunCache, GlobalCache > |
using | RunSummaryCache = typename CacheTypes::RunSummaryCache |
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, uint32_t det_it, const std::string &subdir) |
void | fillOTHistos (const edm::Event &iEvent, const std::vector< edm::Handle< edm::PSimHitContainer >> &simHits, const std::map< unsigned int, SimTrack > &simTracks) |
std::vector< unsigned int > | getSimTrackId (const edm::Handle< edm::DetSetVector< PixelDigiSimLink >> &pixelSimLinks, const DetId &detId, unsigned int channel) |
Private Attributes | |
edm::EDGetTokenT< Phase2TrackerCluster1DCollectionNew > | clustersToken_ |
edm::ParameterSet | config_ |
const edm::ESGetToken< TrackerGeometry, TrackerDigiGeometryRecord > | geomToken_ |
std::map< std::string, ClusterMEs > | layerMEs_ |
std::vector< edm::InputTag > | pSimHitSrc_ |
std::vector< edm::EDGetTokenT< edm::PSimHitContainer > > | simHitTokens_ |
edm::EDGetTokenT< edm::DetSetVector< PixelDigiSimLink > > | simITLinksToken_ |
edm::EDGetTokenT< edm::DetSetVector< PixelDigiSimLink > > | simOTLinksToken_ |
double | simtrackminpt_ |
edm::EDGetTokenT< edm::SimTrackContainer > | simTracksToken_ |
const TrackerGeometry * | tkGeom_ = nullptr |
const edm::ESGetToken< TrackerTopology, TrackerTopologyRcd > | topoToken_ |
const TrackerTopology * | tTopo_ = nullptr |
Additional Inherited Members | |
Protected Member Functions inherited from DQMEDAnalyzer | |
uint64_t | meId () const |
Protected Attributes inherited from DQMEDAnalyzer | |
edm::EDPutTokenT< DQMToken > | lumiToken_ |
edm::EDPutTokenT< DQMToken > | runToken_ |
unsigned int | streamId_ |
Description: Validation plots tracker clusters.
Definition at line 50 of file Phase2OTValidateCluster.cc.
typedef std::map<unsigned int, std::vector<PSimHit> > Phase2OTValidateCluster::SimHitsMap |
Definition at line 52 of file Phase2OTValidateCluster.cc.
typedef std::map<unsigned int, SimTrack> Phase2OTValidateCluster::SimTracksMap |
Definition at line 53 of file Phase2OTValidateCluster.cc.
|
explicit |
Definition at line 102 of file Phase2OTValidateCluster.cc.
References pSimHitSrc_, and simHitTokens_.
|
override |
Definition at line 118 of file Phase2OTValidateCluster.cc.
|
overridevirtual |
Reimplemented from DQMEDAnalyzer.
Definition at line 133 of file Phase2OTValidateCluster.cc.
References fillOTHistos(), iEvent, FastTrackerRecHitCombiner_cfi::simHits, simHitTokens_, simtrackminpt_, TrackCandidateProducer_cfi::simTracks, and simTracksToken_.
|
overridevirtual |
Implements DQMEDAnalyzer.
Definition at line 257 of file Phase2OTValidateCluster.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 277 of file Phase2OTValidateCluster.cc.
References phase2tkutil::book1DFromPSet(), dqm::implementation::NavigatorBase::cd(), config_, Phase2OTValidateCluster::ClusterMEs::deltaX_P, Phase2OTValidateCluster::ClusterMEs::deltaX_P_primary, Phase2OTValidateCluster::ClusterMEs::deltaX_S, Phase2OTValidateCluster::ClusterMEs::deltaX_S_primary, Phase2OTValidateCluster::ClusterMEs::deltaY_P, Phase2OTValidateCluster::ClusterMEs::deltaY_P_primary, Phase2OTValidateCluster::ClusterMEs::deltaY_S, Phase2OTValidateCluster::ClusterMEs::deltaY_S_primary, ALCARECODTCalibSynchCosmicsDQM_cff::folderName, TrackerGeometry::getDetectorType(), phase2tkutil::getOTHistoId(), edm::ParameterSet::getParameter(), layerMEs_, TrackerGeometry::Ph2PSP, dqm::implementation::NavigatorBase::setCurrentFolder(), AlCaHLTBitMon_QueryRunRegistry::string, mkLumiAveragedPlots::subdir, tkGeom_, and tTopo_.
Referenced by bookHistograms().
|
overridevirtual |
Reimplemented from DQMEDAnalyzer.
Definition at line 126 of file Phase2OTValidateCluster.cc.
References geomToken_, edm::EventSetup::getData(), tkGeom_, topoToken_, and tTopo_.
|
static |
Definition at line 341 of file Phase2OTValidateCluster.cc.
References edm::ConfigurationDescriptions::add(), edm::ParameterSetDescription::add(), submitPVResolutionJobs::desc, ProducerED_cfi::InputTag, and AlCaHLTBitMon_QueryRunRegistry::string.
|
private |
Definition at line 155 of file Phase2OTValidateCluster.cc.
References PVValHelper::add(), clustersToken_, phase2tkutil::cmtomicron, Phase2OTValidateCluster::ClusterMEs::deltaX_P, Phase2OTValidateCluster::ClusterMEs::deltaX_P_primary, Phase2OTValidateCluster::ClusterMEs::deltaX_S, Phase2OTValidateCluster::ClusterMEs::deltaX_S_primary, Phase2OTValidateCluster::ClusterMEs::deltaY_P, Phase2OTValidateCluster::ClusterMEs::deltaY_P_primary, Phase2OTValidateCluster::ClusterMEs::deltaY_S, Phase2OTValidateCluster::ClusterMEs::deltaY_S_primary, hcalRecHitTable_cff::detId, PVValHelper::dx, PVValHelper::dy, vertexPlots::e4, dqm::impl::MonitorElement::Fill(), TrackerGeometry::getDetectorType(), phase2tkutil::getOTHistoId(), getSimTrackId(), mps_fire::i, TrackerGeometry::idToDetUnit(), iEvent, phase2tkutil::isPrimary(), dqmiolumiharvest::j, layerMEs_, pfDeepBoostedJetPreprocessParams_cfi::lower_bound, TrackerGeometry::Ph2PSP, TrackerGeometry::Ph2PSS, TrackerGeometry::Ph2SS, Phase2TrackerDigi::pixelToChannel(), FastTrackerRecHitCombiner_cfi::simHits, simOTLinksToken_, TrackCandidateProducer_cfi::simTracks, jetUpdater_cfi::sort, AlCaHLTBitMon_QueryRunRegistry::string, tkGeom_, tTopo_, PV3DBase< T, PVType, FrameType >::x(), and PV3DBase< T, PVType, FrameType >::y().
Referenced by analyze().
|
private |
Definition at line 327 of file Phase2OTValidateCluster.cc.
References hcalRecHitTable_cff::detId.
Referenced by fillOTHistos().
|
private |
Definition at line 90 of file Phase2OTValidateCluster.cc.
Referenced by fillOTHistos().
|
private |
Definition at line 84 of file Phase2OTValidateCluster.cc.
Referenced by bookHistograms(), and bookLayerHistos().
|
private |
Definition at line 92 of file Phase2OTValidateCluster.cc.
Referenced by dqmBeginRun().
|
private |
Definition at line 82 of file Phase2OTValidateCluster.cc.
Referenced by bookLayerHistos(), and fillOTHistos().
|
private |
Definition at line 91 of file Phase2OTValidateCluster.cc.
Referenced by Phase2OTValidateCluster().
|
private |
Definition at line 86 of file Phase2OTValidateCluster.cc.
Referenced by analyze(), and Phase2OTValidateCluster().
|
private |
Definition at line 88 of file Phase2OTValidateCluster.cc.
|
private |
Definition at line 87 of file Phase2OTValidateCluster.cc.
Referenced by fillOTHistos().
|
private |
Definition at line 85 of file Phase2OTValidateCluster.cc.
Referenced by analyze().
|
private |
Definition at line 89 of file Phase2OTValidateCluster.cc.
Referenced by analyze().
|
private |
Definition at line 94 of file Phase2OTValidateCluster.cc.
Referenced by bookHistograms(), bookLayerHistos(), dqmBeginRun(), and fillOTHistos().
|
private |
Definition at line 93 of file Phase2OTValidateCluster.cc.
Referenced by dqmBeginRun().
|
private |
Definition at line 95 of file Phase2OTValidateCluster.cc.
Referenced by bookLayerHistos(), dqmBeginRun(), and fillOTHistos().