#include <Phase2OTValidateRecHit.cc>
Public Member Functions | |
void | analyze (const edm::Event &iEvent, const edm::EventSetup &iSetup) override |
Phase2OTValidateRecHit (const edm::ParameterSet &) | |
~Phase2OTValidateRecHit () override | |
Public Member Functions inherited from Phase2OTValidateRecHitBase | |
void | bookHistograms (DQMStore::IBooker &ibooker, edm::Run const &iRun, edm::EventSetup const &iSetup) override |
void | bookLayerHistos (DQMStore::IBooker &ibooker, unsigned int det_id, std::string &subdir) |
void | dqmBeginRun (const edm::Run &iRun, const edm::EventSetup &iSetup) override |
void | fillOTRecHitHistos (const PSimHit *simhitClosest, const Phase2TrackerRecHit1D *rechit, const std::map< unsigned int, SimTrack > &selectedSimTrackMap, std::map< std::string, unsigned int > &nrechitLayerMapP_primary, std::map< std::string, unsigned int > &nrechitLayerMapS_primary) |
Phase2OTValidateRecHitBase (const edm::ParameterSet &) | |
~Phase2OTValidateRecHitBase () override | |
Public Member Functions inherited from DQMEDAnalyzer | |
void | accumulate (edm::Event const &event, edm::EventSetup const &setup) final |
void | beginLuminosityBlock (edm::LuminosityBlock const &lumi, edm::EventSetup const &setup) final |
void | beginRun (edm::Run const &run, edm::EventSetup const &setup) final |
void | beginStream (edm::StreamID id) final |
DQMEDAnalyzer () | |
void | endLuminosityBlock (edm::LuminosityBlock const &lumi, edm::EventSetup const &setup) final |
void | endRun (edm::Run const &run, edm::EventSetup const &setup) final |
virtual bool | getCanSaveByLumi () |
Public Member Functions inherited from edm::stream::EDProducer< edm::GlobalCache< DQMEDAnalyzerGlobalCache >, edm::EndRunProducer, edm::EndLuminosityBlockProducer, edm::Accumulator > | |
EDProducer ()=default | |
EDProducer (const EDProducer &)=delete | |
bool | hasAbilityToProduceInBeginLumis () const final |
bool | hasAbilityToProduceInBeginProcessBlocks () const final |
bool | hasAbilityToProduceInBeginRuns () const final |
bool | hasAbilityToProduceInEndLumis () const final |
bool | hasAbilityToProduceInEndProcessBlocks () const final |
bool | hasAbilityToProduceInEndRuns () const final |
const EDProducer & | operator= (const EDProducer &)=delete |
Static Public Member Functions | |
static void | fillDescriptions (edm::ConfigurationDescriptions &descriptions) |
Static Public Member Functions inherited from Phase2OTValidateRecHitBase | |
static void | fillPSetDescription (edm::ParameterSetDescription &desc) |
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 | fillOTHistos (const edm::Event &iEvent, const TrackerHitAssociator &associateRecHit, const std::vector< edm::Handle< edm::PSimHitContainer >> &simHits, const std::map< unsigned int, SimTrack > &selectedSimTrackMap) |
Private Attributes | |
std::vector< edm::EDGetTokenT< edm::PSimHitContainer > > | simHitTokens_ |
const double | simtrackminpt_ |
const edm::EDGetTokenT< edm::SimTrackContainer > | simTracksToken_ |
const edm::EDGetTokenT< Phase2TrackerRecHit1DCollectionNew > | tokenRecHitsOT_ |
TrackerHitAssociator::Config | trackerHitAssociatorConfig_ |
Description: Standalone Plugin for Phase2 RecHit validation
Definition at line 48 of file Phase2OTValidateRecHit.cc.
|
explicit |
Definition at line 72 of file Phase2OTValidateRecHit.cc.
References Phase2OTValidateRecHitBase::config_, edm::ParameterSet::getParameter(), and simHitTokens_.
|
override |
Definition at line 86 of file Phase2OTValidateRecHit.cc.
|
overridevirtual |
Reimplemented from DQMEDAnalyzer.
Definition at line 95 of file Phase2OTValidateRecHit.cc.
References fillOTHistos(), iEvent, FastTrackerRecHitCombiner_cfi::simHits, simHitTokens_, simtrackminpt_, TrackCandidateProducer_cfi::simTracks, simTracksToken_, and trackerHitAssociatorConfig_.
|
static |
Definition at line 188 of file Phase2OTValidateRecHit.cc.
References edm::ConfigurationDescriptions::add(), submitPVResolutionJobs::desc, Phase2OTValidateRecHitBase::fillPSetDescription(), ProducerED_cfi::InputTag, and AlCaHLTBitMon_QueryRunRegistry::string.
|
private |
Definition at line 114 of file Phase2OTValidateRecHit.cc.
References TrackerHitAssociator::associateHitId(), hcalRecHitTable_cff::detId, PVValHelper::dx, PVValHelper::dy, vertexPlots::e4, Phase2OTValidateRecHitBase::fillOTRecHitHistos(), TrackerGeometry::getDetectorType(), phase2tkutil::getOTHistoId(), iEvent, crabWrapper::key, Phase2OTValidateRecHitBase::layerMEs_, TrackerGeometry::Ph2PSP, TrackerGeometry::Ph2PSS, TrackerGeometry::Ph2SS, HI_PhotonSkim_cff::rechits, FastTrackerRecHitCombiner_cfi::simHits, AlCaHLTBitMon_QueryRunRegistry::string, Phase2OTValidateRecHitBase::tkGeom_, tokenRecHitsOT_, Phase2OTValidateRecHitBase::tTopo_, PV3DBase< T, PVType, FrameType >::x(), and PV3DBase< T, PVType, FrameType >::y().
Referenced by analyze().
|
private |
Definition at line 66 of file Phase2OTValidateRecHit.cc.
Referenced by analyze(), and Phase2OTValidateRecHit().
|
private |
Definition at line 63 of file Phase2OTValidateRecHit.cc.
Referenced by analyze().
|
private |
Definition at line 65 of file Phase2OTValidateRecHit.cc.
Referenced by analyze().
|
private |
Definition at line 64 of file Phase2OTValidateRecHit.cc.
Referenced by fillOTHistos().
|
private |
Definition at line 62 of file Phase2OTValidateRecHit.cc.
Referenced by analyze().