bookLayer More...
#include <Phase2ITValidateCluster.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 | fillITHistos (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< edmNew::DetSetVector< SiPixelCluster > > | 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_ |
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_ |
bookLayer
Description: Validation plots tracker clusters.
Definition at line 49 of file Phase2ITValidateCluster.cc.
typedef std::map<unsigned int, std::vector<PSimHit> > Phase2ITValidateCluster::SimHitsMap |
Definition at line 51 of file Phase2ITValidateCluster.cc.
typedef std::map<unsigned int, SimTrack> Phase2ITValidateCluster::SimTracksMap |
Definition at line 52 of file Phase2ITValidateCluster.cc.
|
explicit |
Definition at line 98 of file Phase2ITValidateCluster.cc.
References pSimHitSrc_, and simHitTokens_.
|
override |
Definition at line 114 of file Phase2ITValidateCluster.cc.
|
overridevirtual |
Reimplemented from DQMEDAnalyzer.
Definition at line 129 of file Phase2ITValidateCluster.cc.
References fillITHistos(), iEvent, FastTrackerRecHitCombiner_cfi::simHits, simHitTokens_, simtrackminpt_, TrackCandidateProducer_cfi::simTracks, and simTracksToken_.
|
overridevirtual |
Implements DQMEDAnalyzer.
Definition at line 239 of file Phase2ITValidateCluster.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 259 of file Phase2ITValidateCluster.cc.
References phase2tkutil::book1DFromPSet(), dqm::implementation::NavigatorBase::cd(), config_, Phase2ITValidateCluster::ClusterMEs::deltaX_P, Phase2ITValidateCluster::ClusterMEs::deltaX_P_primary, Phase2ITValidateCluster::ClusterMEs::deltaY_P, Phase2ITValidateCluster::ClusterMEs::deltaY_P_primary, ctppsRandomDQMSource_cfi::folderName, phase2tkutil::getITHistoId(), edm::ParameterSet::getParameter(), layerMEs_, dqm::implementation::NavigatorBase::setCurrentFolder(), AlCaHLTBitMon_QueryRunRegistry::string, mkLumiAveragedPlots::subdir, and tTopo_.
Referenced by bookHistograms().
|
overridevirtual |
Reimplemented from DQMEDAnalyzer.
Definition at line 122 of file Phase2ITValidateCluster.cc.
References geomToken_, edm::EventSetup::getData(), tkGeom_, topoToken_, and tTopo_.
|
static |
Definition at line 304 of file Phase2ITValidateCluster.cc.
References edm::ConfigurationDescriptions::add(), edm::ParameterSetDescription::add(), submitPVResolutionJobs::desc, ProducerED_cfi::InputTag, and AlCaHLTBitMon_QueryRunRegistry::string.
|
private |
Definition at line 151 of file Phase2ITValidateCluster.cc.
References PVValHelper::add(), clustersToken_, phase2tkutil::cmtomicron, Phase2ITValidateCluster::ClusterMEs::deltaX_P, Phase2ITValidateCluster::ClusterMEs::deltaX_P_primary, Phase2ITValidateCluster::ClusterMEs::deltaY_P, Phase2ITValidateCluster::ClusterMEs::deltaY_P_primary, PVValHelper::dx, PVValHelper::dy, dqm::impl::MonitorElement::Fill(), phase2tkutil::getITHistoId(), getSimTrackId(), TrackerGeometry::idToDetUnit(), iEvent, phase2tkutil::isPrimary(), dqmiolumiharvest::j, layerMEs_, pfDeepBoostedJetPreprocessParams_cfi::lower_bound, PixelChannelIdentifier::pixelToChannel(), FastTrackerRecHitCombiner_cfi::simHits, simITLinksToken_, TrackCandidateProducer_cfi::simTracks, jetUpdater_cfi::sort, AlCaHLTBitMon_QueryRunRegistry::string, tkGeom_, and tTopo_.
Referenced by analyze().
|
private |
Definition at line 290 of file Phase2ITValidateCluster.cc.
Referenced by fillITHistos().
|
private |
Definition at line 84 of file Phase2ITValidateCluster.cc.
Referenced by fillITHistos().
|
private |
Definition at line 79 of file Phase2ITValidateCluster.cc.
Referenced by bookHistograms(), and bookLayerHistos().
|
private |
Definition at line 86 of file Phase2ITValidateCluster.cc.
Referenced by dqmBeginRun().
|
private |
Definition at line 77 of file Phase2ITValidateCluster.cc.
Referenced by bookLayerHistos(), and fillITHistos().
|
private |
Definition at line 85 of file Phase2ITValidateCluster.cc.
Referenced by Phase2ITValidateCluster().
|
private |
Definition at line 81 of file Phase2ITValidateCluster.cc.
Referenced by analyze(), and Phase2ITValidateCluster().
|
private |
Definition at line 82 of file Phase2ITValidateCluster.cc.
Referenced by fillITHistos().
|
private |
Definition at line 80 of file Phase2ITValidateCluster.cc.
Referenced by analyze().
|
private |
Definition at line 83 of file Phase2ITValidateCluster.cc.
Referenced by analyze().
|
private |
Definition at line 88 of file Phase2ITValidateCluster.cc.
Referenced by bookHistograms(), dqmBeginRun(), and fillITHistos().
|
private |
Definition at line 87 of file Phase2ITValidateCluster.cc.
Referenced by dqmBeginRun().
|
private |
Definition at line 89 of file Phase2ITValidateCluster.cc.
Referenced by bookLayerHistos(), dqmBeginRun(), and fillITHistos().