Classes | |
struct | ParamBlock |
Public Member Functions | |
HITrackClusterRemover (const edm::ParameterSet &iConfig) | |
void | produce (edm::Event &iEvent, const edm::EventSetup &iSetup) override |
~HITrackClusterRemover () override | |
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 |
Private Types | |
typedef edm::ContainerMask < edmNew::DetSetVector < SiPixelCluster > > | PixelMaskContainer |
typedef edm::ContainerMask < edmNew::DetSetVector < SiStripCluster > > | StripMaskContainer |
Private Member Functions | |
template<typename T > | |
std::unique_ptr < edmNew::DetSetVector< T > > | cleanup (const edmNew::DetSetVector< T > &oldClusters, const std::vector< uint8_t > &isGood, reco::ClusterRemovalInfo::Indices &refs, const reco::ClusterRemovalInfo::Indices *oldRefs) |
void | mergeOld (reco::ClusterRemovalInfo::Indices &refs, const reco::ClusterRemovalInfo::Indices &oldRefs) |
void | process (const TrackingRecHit *hit, unsigned char chi2, const TrackerGeometry *tg) |
void | process (const OmniClusterRef &cluRef, SiStripDetId &detid, bool fromTrack) |
void | readPSet (const edm::ParameterSet &iConfig, const std::string &name, int id1=-1, int id2=-1, int id3=-1, int id4=-1, int id5=-1, int id6=-1) |
float | sensorThickness (const SiStripDetId &detid) const |
Static Private Attributes | |
static const unsigned int | NumberOfParamBlocks = 6 |
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 |
Definition at line 41 of file HITrackClusterRemover.cc.
|
private |
Definition at line 71 of file HITrackClusterRemover.cc.
|
private |
Definition at line 72 of file HITrackClusterRemover.cc.
HITrackClusterRemover::HITrackClusterRemover | ( | const edm::ParameterSet & | iConfig | ) |
Definition at line 145 of file HITrackClusterRemover.cc.
References cms::cuda::assert(), clusterWasteSolution_, doPixel_, doPixelChargeCheck_, doStrip_, doStripChargeCheck_, doTracks_, Exception, edm::ParameterSet::exists(), edm::ParameterSet::existsAs(), PVValHelper::fill(), filterTracks_, edm::ParameterSet::getParameter(), mps_fire::i, HLT_FULL_cff::InputTag, label, mergeOld_, minNumberOfLayersWithMeasBeforeFiltering_, NumberOfParamBlocks, oldPxlMaskToken_, oldRemovalInfo_, oldStrMaskToken_, overrideTrkQuals_, pblocks_, pixelClusters_, reco::TrackBase::qualityByName(), readPSet(), rphiRecHitToken_, stereoRecHitToken_, AlCaHLTBitMon_QueryRunRegistry::string, stripClusters_, stripRecHits_, trackQuality_, tracks_, and reco::TrackBase::undefQuality.
|
override |
Definition at line 243 of file HITrackClusterRemover.cc.
|
private |
Definition at line 252 of file HITrackClusterRemover.cc.
References edmNew::DetSetVector< T >::begin(), edmNew::DetSetVector< T >::data(), edmNew::DetSetVector< T >::dataSize(), relval_steps::DS, edmNew::DetSetVector< T >::end(), mergeOld(), convertSQLitetoXML_cfg::output, and edmNew::DetSetVector< T >::size().
Referenced by produce().
|
private |
Definition at line 245 of file HITrackClusterRemover.cc.
References mps_fire::i, and dqmiodumpmetadata::n.
Referenced by cleanup().
|
inlineprivate |
Definition at line 336 of file HITrackClusterRemover.cc.
References cms::cuda::assert(), SiPixelRecHit::cluster(), clusterWasteSolution_, collectedPixels_, doPixel_, doStrip_, Exception, TrackingRecHit::geographicalId(), TrackerGeometry::geomDetSubDetector(), edm::Ref< C, T, F >::id(), GeomDetEnumerators::isTrackerPixel(), edm::Ref< C, T, F >::key(), HITrackClusterRemover::ParamBlock::maxSize_, SiStripMatchedRecHit2D::monoClusterRef(), NumberOfParamBlocks, TrackerSingleRecHit::omniClusterRef(), ProjectedSiStripRecHit2D::originalHit(), pblocks_, pixels, pixelSourceProdID, DetId::rawId(), SiStripMatchedRecHit2D::stereoClusterRef(), DetId::subdetId(), and Traj2TrackHits::toChi2x5().
Referenced by produce().
|
inlineprivate |
Definition at line 310 of file HITrackClusterRemover.cc.
References cms::cuda::assert(), OmniClusterRef::cluster_strip(), clusterWasteSolution_, collectedStrips_, edm::Ref< C, T, F >::id(), edm::Ref< C, T, F >::key(), HITrackClusterRemover::ParamBlock::maxSize_, HITrackClusterRemover::ParamBlock::minGoodStripCharge_, pblocks_, sensorThickness(), strips, stripSourceProdID, and DetId::subdetId().
|
override |
Definition at line 411 of file HITrackClusterRemover.cc.
References cms::cuda::assert(), cleanup(), clusterWasteSolution_, collectedPixels_, collectedStrips_, submitPVResolutionJobs::count, doPixel_, doStrip_, doStripChargeCheck_, doTracks_, Exception, PVValHelper::fill(), filterTracks_, edm::Event::getByToken(), edm::EventSetup::getData(), h, hcalSimParameters_cfi::hb, edm::HandleBase::id(), HLT_FULL_cff::labels, LogDebug, mergeOld_, minNumberOfLayersWithMeasBeforeFiltering_, eostools::move(), oldPxlMaskToken_, oldRemovalInfo_, oldStrMaskToken_, overrideTrkQuals_, HLT_FULL_cff::pixelClusters, pixelClusters_, pixels, pixelSourceProdID, process(), edm::ProductLabels::productInstance, edm::Event::put(), HLT_FULL_cff::rphiRecHits, rphiRecHitToken_, HLT_FULL_cff::stereoRecHits, stereoRecHitToken_, HLT_FULL_cff::stripClusters, stripClusters_, strips, stripSourceProdID, HLT_FULL_cff::track, trackQuality_, tracks, tracks_, and tTrackerGeom_.
|
private |
Definition at line 123 of file HITrackClusterRemover.cc.
References edm::ParameterSet::exists(), PVValHelper::fill(), and edm::ParameterSet::getParameter().
Referenced by HITrackClusterRemover().
|
private |
Definition at line 296 of file HITrackClusterRemover.cc.
References SiStripDetId::moduleGeometry(), PixelSubdetector::PixelBarrel, DetId::subdetId(), SiStripDetId::TIB, SiStripDetId::TOB, W5, W6, and W7.
Referenced by process().
|
private |
Definition at line 108 of file HITrackClusterRemover.cc.
Referenced by HITrackClusterRemover(), process(), and produce().
|
private |
Definition at line 114 of file HITrackClusterRemover.cc.
|
private |
Definition at line 113 of file HITrackClusterRemover.cc.
|
private |
Definition at line 69 of file HITrackClusterRemover.cc.
Referenced by HITrackClusterRemover(), process(), and produce().
|
private |
Definition at line 108 of file HITrackClusterRemover.cc.
Referenced by HITrackClusterRemover().
|
private |
Definition at line 69 of file HITrackClusterRemover.cc.
Referenced by HITrackClusterRemover(), process(), and produce().
|
private |
Definition at line 108 of file HITrackClusterRemover.cc.
Referenced by HITrackClusterRemover(), and produce().
|
private |
Definition at line 68 of file HITrackClusterRemover.cc.
Referenced by HITrackClusterRemover(), and produce().
|
private |
Definition at line 110 of file HITrackClusterRemover.cc.
Referenced by HITrackClusterRemover(), and produce().
|
private |
Definition at line 70 of file HITrackClusterRemover.cc.
Referenced by HITrackClusterRemover(), and produce().
|
private |
Definition at line 111 of file HITrackClusterRemover.cc.
Referenced by HITrackClusterRemover(), and produce().
|
staticprivate |
Definition at line 66 of file HITrackClusterRemover.cc.
Referenced by HITrackClusterRemover(), and process().
|
private |
Definition at line 77 of file HITrackClusterRemover.cc.
Referenced by HITrackClusterRemover(), and produce().
|
private |
Definition at line 76 of file HITrackClusterRemover.cc.
Referenced by HITrackClusterRemover(), and produce().
|
private |
Definition at line 78 of file HITrackClusterRemover.cc.
Referenced by HITrackClusterRemover(), and produce().
|
private |
Definition at line 79 of file HITrackClusterRemover.cc.
Referenced by HITrackClusterRemover(), and produce().
|
private |
Definition at line 83 of file HITrackClusterRemover.cc.
Referenced by HITrackClusterRemover(), and process().
|
private |
Definition at line 73 of file HITrackClusterRemover.cc.
Referenced by HITrackClusterRemover(), and produce().
|
private |
Definition at line 109 of file HITrackClusterRemover.cc.
|
private |
Definition at line 93 of file HITrackClusterRemover.cc.
|
private |
Definition at line 94 of file HITrackClusterRemover.cc.
|
private |
Definition at line 80 of file HITrackClusterRemover.cc.
Referenced by HITrackClusterRemover(), and produce().
|
private |
Definition at line 80 of file HITrackClusterRemover.cc.
Referenced by HITrackClusterRemover(), and produce().
|
private |
Definition at line 74 of file HITrackClusterRemover.cc.
Referenced by HITrackClusterRemover(), and produce().
|
private |
Definition at line 109 of file HITrackClusterRemover.cc.
Referenced by HITrackClusterRemover().
|
private |
Definition at line 93 of file HITrackClusterRemover.cc.
|
private |
Definition at line 94 of file HITrackClusterRemover.cc.
|
private |
Definition at line 112 of file HITrackClusterRemover.cc.
Referenced by HITrackClusterRemover(), and produce().
|
private |
Definition at line 75 of file HITrackClusterRemover.cc.
Referenced by HITrackClusterRemover(), and produce().
|
private |
Definition at line 48 of file HITrackClusterRemover.cc.
Referenced by produce().