#include <Calibration/TkAlCaRecoProducers/plugins/NearbyPixelClustersProducer.cc>
Public Member Functions | |
NearbyPixelClustersProducer (const edm::ParameterSet &) | |
~NearbyPixelClustersProducer () override=default | |
Public Member Functions inherited from edm::stream::EDProducer<> | |
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) |
Private Member Functions | |
bool | detidIsOnPixel (const DetId &detid) |
const std::vector < edmNew::DetSet < SiPixelCluster > ::const_iterator > | findAllNearbyClusters (const SiPixelClusterCollectionNew::const_iterator &clusterSet, const uint32_t rawId, const std::vector< LocalPoint > &vLocalPos) |
const std::vector < edmNew::DetSet < SiPixelCluster > ::const_iterator > | findAllNearbyClusters (const SiPixelClusterCollectionNew &clusterSet, const uint32_t rawId, const std::vector< LocalPoint > &vLocalPos) |
const trajCrossings_t | findAllTrajectoriesCrossings (const edm::Handle< TrajTrackAssociationCollection > &trajTrackCollectionHandle) |
TrajectoryStateOnSurface | getTrajectoryStateOnSurface (const TrajectoryMeasurement &measurement) |
void | produce (edm::Event &, const edm::EventSetup &) override |
Private Attributes | |
const edm::ESGetToken < SiPixelQuality, SiPixelQualityFromDbRcd > | badModuleToken_ |
edm::EDPutTokenT < SiPixelClusterCollectionNew > | clusterPutToken_ |
edm::EDGetTokenT < SiPixelClusterCollectionNew > | clustersToken_ |
const bool | dumpWholeDetId_ |
const edm::ESGetToken < TrackerGeometry, TrackerDigiGeometryRecord > | geomEsToken_ |
const PixelClusterParameterEstimator * | pixelCPE_ |
const edm::ESGetToken < PixelClusterParameterEstimator, TkPixelCPERecord > | pixelCPEEsToken_ |
const bool | throwBadComponents_ |
const TrackerGeometry * | trackerGeometry_ |
edm::EDGetTokenT < TrajTrackAssociationCollection > | trajTrackCollectionToken_ |
Additional Inherited Members | |
Public Types inherited from edm::stream::EDProducer<> | |
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 |
Description: Class to produce the collection of SiPixelClusters closest, hit by hit, to the trajectory measurements of a given track
Implementation: Implementation of this class is heavily endebted to https://github.com/jkarancs/PhaseIPixelNtuplizer/blob/master/plugins/PhaseIPixelNtuplizer.h
Definition at line 63 of file NearbyPixelClustersProducer.cc.
|
explicit |
Definition at line 112 of file NearbyPixelClustersProducer.cc.
References dumpWholeDetId_.
|
overridedefault |
|
private |
Definition at line 383 of file NearbyPixelClustersProducer.cc.
References DetId::det(), PixelSubdetector::PixelBarrel, PixelSubdetector::PixelEndcap, DetId::subdetId(), and DetId::Tracker.
Referenced by findAllTrajectoriesCrossings().
|
static |
Definition at line 421 of file NearbyPixelClustersProducer.cc.
References edm::ParameterSetDescription::add(), edm::ConfigurationDescriptions::addWithDefaultLabel(), submitPVResolutionJobs::desc, HLT_FULL_cff::InputTag, and edm::ParameterSetDescription::setComment().
|
private |
Definition at line 247 of file NearbyPixelClustersProducer.cc.
References submitPVResolutionJobs::count, dumpWholeDetId_, edmNew::DetSet< T >::end(), PixelClusterParameterEstimator::getParameters(), TrackerGeometry::idToDetUnit(), LogDebug, slimmedTrackExtras_cff::outputClusters, submitPVValidationJobs::params, pixelCPE_, mathSSE::sqrt(), trackerGeometry_, PV3DBase< T, PVType, FrameType >::x(), and PV3DBase< T, PVType, FrameType >::y().
Referenced by produce().
|
private |
Definition at line 312 of file NearbyPixelClustersProducer.cc.
References edmNew::DetSetVector< T >::begin(), submitPVResolutionJobs::count, dumpWholeDetId_, edmNew::DetSet< T >::end(), edmNew::DetSetVector< T >::end(), PixelClusterParameterEstimator::getParameters(), TrackerGeometry::idToDetUnit(), LogDebug, slimmedTrackExtras_cff::outputClusters, submitPVValidationJobs::params, PixelSubdetector::PixelBarrel, pixelCPE_, PixelSubdetector::PixelEndcap, mathSSE::sqrt(), GeomDetEnumerators::subDetId, trackerGeometry_, PV3DBase< T, PVType, FrameType >::x(), and PV3DBase< T, PVType, FrameType >::y().
|
private |
Definition at line 199 of file NearbyPixelClustersProducer.cc.
References detidIsOnPixel(), spr::find(), getTrajectoryStateOnSurface(), TrajectoryStateOnSurface::isValid(), edm::Ref< C, T, F >::key(), TrajectoryStateOnSurface::localPosition(), and DetId::rawId().
Referenced by produce().
|
private |
Definition at line 396 of file NearbyPixelClustersProducer.cc.
References TrajectoryMeasurement::backwardPredictedState(), and TrajectoryMeasurement::forwardPredictedState().
Referenced by findAllTrajectoriesCrossings().
|
overrideprivate |
Definition at line 134 of file NearbyPixelClustersProducer.cc.
References edmNew::DetSetVector< T >::FastFiller::abort(), badModuleToken_, clusterPutToken_, clustersToken_, edmNew::DetSetVector< T >::FastFiller::empty(), findAllNearbyClusters(), findAllTrajectoriesCrossings(), geomEsToken_, edm::EventSetup::getData(), edm::Event::getHandle(), LogDebug, eostools::move(), slimmedTrackExtras_cff::outputClusters, pixelCPE_, pixelCPEEsToken_, edmNew::DetSetVector< T >::FastFiller::push_back(), edm::Event::put(), throwBadComponents_, trackerGeometry_, and trajTrackCollectionToken_.
|
private |
Definition at line 95 of file NearbyPixelClustersProducer.cc.
Referenced by produce().
|
private |
Definition at line 102 of file NearbyPixelClustersProducer.cc.
Referenced by produce().
|
private |
Definition at line 98 of file NearbyPixelClustersProducer.cc.
Referenced by produce().
|
private |
Definition at line 90 of file NearbyPixelClustersProducer.cc.
Referenced by findAllNearbyClusters(), and NearbyPixelClustersProducer().
|
private |
Definition at line 93 of file NearbyPixelClustersProducer.cc.
Referenced by produce().
|
private |
Definition at line 106 of file NearbyPixelClustersProducer.cc.
Referenced by findAllNearbyClusters(), and produce().
|
private |
Definition at line 94 of file NearbyPixelClustersProducer.cc.
Referenced by produce().
|
private |
Definition at line 89 of file NearbyPixelClustersProducer.cc.
Referenced by produce().
|
private |
Definition at line 105 of file NearbyPixelClustersProducer.cc.
Referenced by findAllNearbyClusters(), and produce().
|
private |
Definition at line 99 of file NearbyPixelClustersProducer.cc.
Referenced by produce().