#include <Phase2OTValidateRecHitBase.h>
Classes | |
struct | RecHitME |
Public Member Functions | |
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 |
virtual void | analyze (edm::Event const &, edm::EventSetup const &) |
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 | 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 &) |
Protected Attributes | |
edm::ParameterSet | config_ |
const edm::ESGetToken < TrackerGeometry, TrackerDigiGeometryRecord > | geomToken_ |
std::string | geomType_ |
std::map< std::string, RecHitME > | layerMEs_ |
const TrackerGeometry * | tkGeom_ = nullptr |
const edm::ESGetToken < TrackerTopology, TrackerTopologyRcd > | topoToken_ |
const TrackerTopology * | tTopo_ = nullptr |
Protected Attributes inherited from DQMEDAnalyzer | |
edm::EDPutTokenT< DQMToken > | lumiToken_ |
edm::EDPutTokenT< DQMToken > | runToken_ |
unsigned int | streamId_ |
Additional Inherited Members | |
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 |
Protected Member Functions inherited from DQMEDAnalyzer | |
uint64_t | meId () const |
Description: Standalone Plugin for Phase2 RecHit validation
Definition at line 44 of file Phase2OTValidateRecHitBase.h.
|
explicit |
Definition at line 30 of file Phase2OTValidateRecHitBase.cc.
|
override |
Definition at line 40 of file Phase2OTValidateRecHitBase.cc.
|
overridevirtual |
Implements DQMEDAnalyzer.
Definition at line 138 of file Phase2OTValidateRecHitBase.cc.
References bookLayerHistos(), config_, TrackerGeometry::detUnits(), edm::ParameterSet::getParameter(), GeomDetEnumerators::P2PXB, GeomDetEnumerators::P2PXEC, AlCaHLTBitMon_QueryRunRegistry::string, and tkGeom_.
void Phase2OTValidateRecHitBase::bookLayerHistos | ( | DQMStore::IBooker & | ibooker, |
unsigned int | det_id, | ||
std::string & | subdir | ||
) |
Definition at line 159 of file Phase2OTValidateRecHitBase.cc.
References phase2tkutil::book1DFromPSet(), phase2tkutil::book2DFromPSet(), phase2tkutil::bookProfile1DFromPSet(), dqm::implementation::NavigatorBase::cd(), config_, Phase2OTValidateRecHitBase::RecHitME::deltaX_eta_P, Phase2OTValidateRecHitBase::RecHitME::deltaX_eta_S, Phase2OTValidateRecHitBase::RecHitME::deltaX_P, Phase2OTValidateRecHitBase::RecHitME::deltaX_phi_P, Phase2OTValidateRecHitBase::RecHitME::deltaX_phi_S, Phase2OTValidateRecHitBase::RecHitME::deltaX_primary_P, Phase2OTValidateRecHitBase::RecHitME::deltaX_primary_S, Phase2OTValidateRecHitBase::RecHitME::deltaX_S, Phase2OTValidateRecHitBase::RecHitME::deltaY_eta_P, Phase2OTValidateRecHitBase::RecHitME::deltaY_eta_S, Phase2OTValidateRecHitBase::RecHitME::deltaY_P, Phase2OTValidateRecHitBase::RecHitME::deltaY_phi_P, Phase2OTValidateRecHitBase::RecHitME::deltaY_phi_S, Phase2OTValidateRecHitBase::RecHitME::deltaY_primary_P, Phase2OTValidateRecHitBase::RecHitME::deltaY_primary_S, Phase2OTValidateRecHitBase::RecHitME::deltaY_S, TrackerGeometry::getDetectorType(), phase2tkutil::getOTHistoId(), edm::ParameterSet::getParameter(), submitPVResolutionJobs::key, layerMEs_, Phase2OTValidateRecHitBase::RecHitME::numberRecHitsprimary_P, Phase2OTValidateRecHitBase::RecHitME::numberRecHitsprimary_S, TrackerGeometry::Ph2PSP, Phase2OTValidateRecHitBase::RecHitME::pullX_eta_P, Phase2OTValidateRecHitBase::RecHitME::pullX_eta_S, Phase2OTValidateRecHitBase::RecHitME::pullX_P, Phase2OTValidateRecHitBase::RecHitME::pullX_primary_P, Phase2OTValidateRecHitBase::RecHitME::pullX_primary_S, Phase2OTValidateRecHitBase::RecHitME::pullX_S, Phase2OTValidateRecHitBase::RecHitME::pullY_eta_P, Phase2OTValidateRecHitBase::RecHitME::pullY_eta_S, Phase2OTValidateRecHitBase::RecHitME::pullY_P, Phase2OTValidateRecHitBase::RecHitME::pullY_primary_P, Phase2OTValidateRecHitBase::RecHitME::pullY_primary_S, Phase2OTValidateRecHitBase::RecHitME::pullY_S, dqm::implementation::NavigatorBase::setCurrentFolder(), AlCaHLTBitMon_QueryRunRegistry::string, tkGeom_, and tTopo_.
Referenced by bookHistograms().
|
overridevirtual |
Reimplemented from DQMEDAnalyzer.
Definition at line 47 of file Phase2OTValidateRecHitBase.cc.
References geomToken_, edm::EventSetup::getData(), tkGeom_, topoToken_, and tTopo_.
void Phase2OTValidateRecHitBase::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 | ||
) |
Definition at line 52 of file Phase2OTValidateRecHitBase.cc.
References funct::abs(), phase2tkutil::cmtomicron, PVValHelper::dx, PVValHelper::dy, PVValHelper::eta, TrackingRecHit::geographicalId(), TrackerGeometry::getDetectorType(), phase2tkutil::getOTHistoId(), TrackerGeometry::idToDetUnit(), phase2tkutil::isPrimary(), submitPVResolutionJobs::key, layerMEs_, PSimHit::localPosition(), BaseTrackerRecHit::localPosition(), BaseTrackerRecHit::localPositionError(), TrackerGeometry::Ph2PSP, TrackerGeometry::Ph2PSS, TrackerGeometry::Ph2SS, phi, mathSSE::sqrt(), AlCaHLTBitMon_QueryRunRegistry::string, tkGeom_, PSimHit::trackId(), and tTopo_.
Referenced by Phase2OTValidateRecHit::fillOTHistos(), and Phase2OTValidateTrackingRecHit::fillOTHistos().
|
static |
Definition at line 254 of file Phase2OTValidateRecHitBase.cc.
References edm::ParameterSetDescription::add(), M_PI, and AlCaHLTBitMon_QueryRunRegistry::string.
Referenced by Phase2OTValidateRecHit::fillDescriptions(), and Phase2OTValidateTrackingRecHit::fillDescriptions().
|
protected |
Definition at line 60 of file Phase2OTValidateRecHitBase.h.
Referenced by bookHistograms(), bookLayerHistos(), and Phase2OTValidateRecHit::Phase2OTValidateRecHit().
|
protected |
Definition at line 62 of file Phase2OTValidateRecHitBase.h.
Referenced by dqmBeginRun().
|
protected |
Definition at line 61 of file Phase2OTValidateRecHitBase.h.
|
protected |
Definition at line 102 of file Phase2OTValidateRecHitBase.h.
Referenced by bookLayerHistos(), Phase2OTValidateRecHit::fillOTHistos(), Phase2OTValidateTrackingRecHit::fillOTHistos(), and fillOTRecHitHistos().
|
protected |
Definition at line 64 of file Phase2OTValidateRecHitBase.h.
Referenced by bookHistograms(), bookLayerHistos(), dqmBeginRun(), Phase2OTValidateRecHit::fillOTHistos(), Phase2OTValidateTrackingRecHit::fillOTHistos(), and fillOTRecHitHistos().
|
protected |
Definition at line 63 of file Phase2OTValidateRecHitBase.h.
Referenced by dqmBeginRun().
|
protected |
Definition at line 65 of file Phase2OTValidateRecHitBase.h.
Referenced by bookLayerHistos(), dqmBeginRun(), Phase2OTValidateRecHit::fillOTHistos(), Phase2OTValidateTrackingRecHit::fillOTHistos(), and fillOTRecHitHistos().