#include <Calibration/TkAlCaRecoProducers/plugins/NearbyPixelClustersAnalyzer.cc>
Static Public Member Functions | |
static void | fillDescriptions (edm::ConfigurationDescriptions &descriptions) |
Static Public Member Functions inherited from edm::one::EDAnalyzerBase | |
static const std::string & | baseType () |
static void | fillDescriptions (ConfigurationDescriptions &descriptions) |
static void | prevalidate (ConfigurationDescriptions &descriptions) |
Private Member Functions | |
void | analyze (const edm::Event &, const edm::EventSetup &) override |
void | beginJob () override |
void | beginRun (edm::Run const &, edm::EventSetup const &) override |
std::map< uint32_t, TH2F * > | bookModuleHistograms (const TrackerTopology *tTopo) |
void | countClusters (const edm::Handle< SiPixelClusterCollectionNew > &handle, unsigned int &nClusGlobal) |
bool | detidIsOnPixel (const DetId &detid) |
void | endJob () override |
void | endRun (edm::Run const &, edm::EventSetup const &) override |
void | fillClusterFrames (const edm::Handle< SiPixelClusterCollectionNew > &handle) |
std::pair< float, float > | findClosestCluster (const edm::Handle< SiPixelClusterCollectionNew > &handle, const PixelClusterParameterEstimator *pixelCPE_, const TrackerGeometry *trackerGeometry_, uint32_t rawId, float traj_lx, float traj_ly) |
TrajectoryStateOnSurface | getTrajectoryStateOnSurface (const TrajectoryMeasurement &measurement) |
std::tuple< std::string, int, int, int > | setTopoInfo (uint32_t detId, const TrackerTopology *tTopo) |
Additional Inherited Members | |
Public Types inherited from edm::one::EDAnalyzerBase | |
typedef EDAnalyzerBase | ModuleType |
Public Types inherited from edm::EDConsumerBase | |
typedef ProductLabels | Labels |
Protected Member Functions inherited from edm::EDConsumerBase | |
template<typename ProductType , BranchType B = InEvent> | |
EDGetTokenT< ProductType > | consumes (edm::InputTag const &tag) |
template<BranchType B = InEvent> | |
EDConsumerBaseAdaptor< B > | consumes (edm::InputTag tag) noexcept |
EDGetToken | consumes (const TypeToGet &id, edm::InputTag const &tag) |
template<BranchType B> | |
EDGetToken | consumes (TypeToGet const &id, edm::InputTag const &tag) |
ConsumesCollector | consumesCollector () |
Use a ConsumesCollector to gather consumes information from helper functions. More... | |
template<typename ESProduct , typename ESRecord , Transition Tr = Transition::Event> | |
auto | esConsumes () |
template<typename ESProduct , typename ESRecord , Transition Tr = Transition::Event> | |
auto | esConsumes (ESInputTag const &tag) |
template<Transition Tr = Transition::Event> | |
constexpr auto | esConsumes () |
template<Transition Tr = Transition::Event> | |
auto | esConsumes (ESInputTag tag) |
template<Transition Tr = Transition::Event> | |
ESGetTokenGeneric | esConsumes (eventsetup::EventSetupRecordKey const &iRecord, eventsetup::DataKey const &iKey) |
Used with EventSetupRecord::doGet. More... | |
template<typename ProductType , BranchType B = InEvent> | |
EDGetTokenT< ProductType > | mayConsume (edm::InputTag const &tag) |
EDGetToken | mayConsume (const TypeToGet &id, edm::InputTag const &tag) |
template<BranchType B> | |
EDGetToken | mayConsume (const TypeToGet &id, edm::InputTag const &tag) |
void | resetItemsToGetFrom (BranchType iType) |
Description: Analysis of the closebyPixelClusters collections
Definition at line 58 of file NearbyPixelClustersAnalyzer.cc.
|
explicit |
Definition at line 119 of file NearbyPixelClustersAnalyzer.cc.
References TFileService::kSharedResource.
|
overridedefault |
|
overrideprivatevirtual |
Implements edm::one::EDAnalyzerBase.
Definition at line 140 of file NearbyPixelClustersAnalyzer.cc.
References clustersToken_, countClusters(), detidIsOnPixel(), HLT_2024v14_cff::distance, distanceToken_, fillClusterFrames(), findClosestCluster(), geomEsToken_, edm::EventSetup::getData(), getTrajectoryStateOnSurface(), h_distClosestInactive, h_distClosestMissing, h_distClosestTrack, h_distClosestValid, h_nALCARECOClusters, h_nCloseByClusters, iEvent, TrackingRecHit::inactive, TrajectoryStateOnSurface::isValid(), edm::Ref< C, T, F >::key(), isotrackTrainRegressor::loc, TrajectoryStateOnSurface::localPosition(), LogDebug, TrackingRecHit::missing, DiMuonV_cfg::muonTracks, muonTracksToken_, nearByClustersToken_, custom_jme_cff::nMuons, pixelCPEEsToken_, DetId::rawId(), rpcPointValidation_cfi::recHit, mathSSE::sqrt(), HLT_2024v14_cff::track, trajTrackCollectionToken_, TrackingRecHit::valid, PV3DBase< T, PVType, FrameType >::x(), and PV3DBase< T, PVType, FrameType >::y().
|
overrideprivatevirtual |
Reimplemented from edm::one::EDAnalyzerBase.
Definition at line 261 of file NearbyPixelClustersAnalyzer.cc.
References fs, h_distClosestInactive, h_distClosestMissing, h_distClosestTrack, h_distClosestValid, h_nALCARECOClusters, h_nCloseByClusters, TFileDirectory::make(), and TFileService::mkdir().
|
overrideprivate |
Definition at line 422 of file NearbyPixelClustersAnalyzer.cc.
References bookModuleHistograms(), Options::const, TrackerGeometry::detUnits(), Exception, fs, geomEsTokenBR_, SiPixelDetInfoFileReader::getAllDetIds(), edm::EventSetup::getData(), histoMap_, TrackerGeometry::isThere(), ALPAKA_ACCELERATOR_NAMESPACE::vertexFinder::it, LogDebug, TFileService::mkdir(), outputFolders_, GeomDetEnumerators::P1PXB, GeomDetEnumerators::P1PXEC, phase_, reader_, setTopoInfo(), AlCaHLTBitMon_QueryRunRegistry::string, and topoEsTokenBR_.
|
private |
Definition at line 504 of file NearbyPixelClustersAnalyzer.cc.
References SiPixelDetInfoFileReader::getAllDetIds(), SiPixelDetInfoFileReader::getDetUnitDimensions(), ALPAKA_ACCELERATOR_NAMESPACE::vertexFinder::it, EcalCalibMonitorClient_cfi::moduleName, PixelBarrelName::name(), PixelEndcapName::name(), outputFolders_, phase_, PixelSubdetector::PixelBarrel, reader_, setTopoInfo(), AlCaHLTBitMon_QueryRunRegistry::string, and DetId::subdetId().
Referenced by beginRun().
|
private |
Definition at line 341 of file NearbyPixelClustersAnalyzer.cc.
References hcalRecHitTable_cff::detId, patZpeak::handle, and LogDebug.
Referenced by analyze().
|
private |
Definition at line 303 of file NearbyPixelClustersAnalyzer.cc.
References ALCARECOPPSCalTrackBasedSel_cff::detid, PixelSubdetector::PixelBarrel, PixelSubdetector::PixelEndcap, and DetId::Tracker.
Referenced by analyze().
|
overrideprivatevirtual |
Reimplemented from edm::one::EDAnalyzerBase.
Definition at line 298 of file NearbyPixelClustersAnalyzer.cc.
Referenced by o2olib.O2ORunMgr::executeJob().
|
inlineoverrideprivate |
Definition at line 69 of file NearbyPixelClustersAnalyzer.cc.
|
private |
Definition at line 401 of file NearbyPixelClustersAnalyzer.cc.
References ALCARECOSiPixelCalSingleMuonDQM_cff::clusterCollection, hcalRecHitTable_cff::detId, patZpeak::handle, histoMap_, and mps_fire::i.
Referenced by analyze().
|
static |
Definition at line 544 of file NearbyPixelClustersAnalyzer.cc.
References edm::ConfigurationDescriptions::addWithDefaultLabel(), submitPVResolutionJobs::desc, ProducerED_cfi::InputTag, and AlCaHLTBitMon_QueryRunRegistry::string.
|
private |
Definition at line 355 of file NearbyPixelClustersAnalyzer.cc.
References ALCARECOSiPixelCalSingleMuonDQM_cff::clusterCollection, hcalRecHitTable_cff::detId, edmNew::DetSet< T >::end(), PixelClusterParameterEstimator::getParameters(), patZpeak::handle, TrackerGeometry::idToDetUnit(), isotrackTrainRegressor::loc, submitPVValidationJobs::params, PixelSubdetector::PixelBarrel, PixelSubdetector::PixelEndcap, nano_mu_digi_cff::rawId, mathSSE::sqrt(), GeomDetEnumerators::subDetId, PV3DBase< T, PVType, FrameType >::x(), and PV3DBase< T, PVType, FrameType >::y().
Referenced by analyze().
|
private |
Definition at line 316 of file NearbyPixelClustersAnalyzer.cc.
References TrajectoryMeasurement::backwardPredictedState(), and TrajectoryMeasurement::forwardPredictedState().
Referenced by analyze().
|
private |
Definition at line 475 of file NearbyPixelClustersAnalyzer.cc.
References hcalRecHitTable_cff::detId, sistrip::layer_, PixelSubdetector::PixelBarrel, PixelSubdetector::PixelEndcap, TrackerTopology::pxbLayer(), TrackerTopology::pxfDisk(), TrackerTopology::pxfSide(), runTheMatrix::ret, AlCaHLTBitMon_QueryRunRegistry::string, and DetId::subdetId().
Referenced by beginRun(), and bookModuleHistograms().
|
private |
Definition at line 95 of file NearbyPixelClustersAnalyzer.cc.
Referenced by analyze().
|
private |
Definition at line 98 of file NearbyPixelClustersAnalyzer.cc.
Referenced by analyze().
|
private |
Definition at line 101 of file NearbyPixelClustersAnalyzer.cc.
Referenced by beginJob(), and beginRun().
|
private |
Definition at line 90 of file NearbyPixelClustersAnalyzer.cc.
Referenced by analyze().
|
private |
Definition at line 92 of file NearbyPixelClustersAnalyzer.cc.
Referenced by beginRun().
|
private |
Definition at line 107 of file NearbyPixelClustersAnalyzer.cc.
Referenced by analyze(), and beginJob().
|
private |
Definition at line 106 of file NearbyPixelClustersAnalyzer.cc.
Referenced by analyze(), and beginJob().
|
private |
Definition at line 108 of file NearbyPixelClustersAnalyzer.cc.
Referenced by analyze(), and beginJob().
|
private |
Definition at line 105 of file NearbyPixelClustersAnalyzer.cc.
Referenced by analyze(), and beginJob().
|
private |
Definition at line 103 of file NearbyPixelClustersAnalyzer.cc.
Referenced by analyze(), and beginJob().
|
private |
Definition at line 104 of file NearbyPixelClustersAnalyzer.cc.
Referenced by analyze(), and beginJob().
|
private |
Definition at line 112 of file NearbyPixelClustersAnalyzer.cc.
Referenced by beginRun(), and fillClusterFrames().
|
private |
Definition at line 99 of file NearbyPixelClustersAnalyzer.cc.
Referenced by analyze().
|
private |
Definition at line 96 of file NearbyPixelClustersAnalyzer.cc.
Referenced by analyze().
|
private |
Definition at line 111 of file NearbyPixelClustersAnalyzer.cc.
Referenced by beginRun(), and bookModuleHistograms().
|
private |
Definition at line 113 of file NearbyPixelClustersAnalyzer.cc.
Referenced by beginRun(), and bookModuleHistograms().
|
private |
Definition at line 91 of file NearbyPixelClustersAnalyzer.cc.
Referenced by analyze().
|
private |
Definition at line 110 of file NearbyPixelClustersAnalyzer.cc.
Referenced by beginRun(), and bookModuleHistograms().
|
private |
Definition at line 93 of file NearbyPixelClustersAnalyzer.cc.
Referenced by beginRun().
|
private |
Definition at line 97 of file NearbyPixelClustersAnalyzer.cc.
Referenced by analyze().