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 | |
bool | hasAbilityToProduceInLumis () const final |
bool | hasAbilityToProduceInRuns () const final |
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<> | |
typedef CacheContexts< T... > | CacheTypes |
typedef CacheTypes::GlobalCache | GlobalCache |
typedef AbilityChecker< T... > | HasAbility |
typedef CacheTypes::LuminosityBlockCache | LuminosityBlockCache |
typedef LuminosityBlockContextT< LuminosityBlockCache, RunCache, GlobalCache > | LuminosityBlockContext |
typedef CacheTypes::LuminosityBlockSummaryCache | LuminosityBlockSummaryCache |
typedef CacheTypes::RunCache | RunCache |
typedef RunContextT< RunCache, GlobalCache > | RunContext |
typedef CacheTypes::RunSummaryCache | RunSummaryCache |
Definition at line 44 of file HITrackClusterRemover.cc.
|
private |
Definition at line 72 of file HITrackClusterRemover.cc.
|
private |
Definition at line 73 of file HITrackClusterRemover.cc.
HITrackClusterRemover::HITrackClusterRemover | ( | const edm::ParameterSet & | iConfig | ) |
Definition at line 139 of file HITrackClusterRemover.cc.
References clusterWasteSolution_, doPixel_, doPixelChargeCheck_, doStrip_, doStripChargeCheck_, doTracks_, Exception, edm::ParameterSet::exists(), edm::ParameterSet::existsAs(), lumiContext::fill, filterTracks_, edm::ParameterSet::getParameter(), mps_fire::i, 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 223 of file HITrackClusterRemover.cc.
|
private |
Definition at line 238 of file HITrackClusterRemover.cc.
References edmNew::DetSetVector< T >::begin(), edmNew::DetSetVector< T >::data(), edmNew::DetSetVector< T >::dataSize(), edmNew::DetSetVector< T >::end(), mergeOld(), convertSQLitetoXML_cfg::output, and edmNew::DetSetVector< T >::size().
Referenced by produce().
|
private |
Definition at line 227 of file HITrackClusterRemover.cc.
References mps_fire::i, and gen::n.
Referenced by cleanup().
|
inlineprivate |
Definition at line 316 of file HITrackClusterRemover.cc.
References 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(), and sensorThickness().
|
inlineprivate |
|
override |
Definition at line 385 of file HITrackClusterRemover.cc.
References cleanup(), clusterWasteSolution_, collectedPixels_, collectedStrips_, edm::ContainerMask< T >::copyMaskTo(), KineDebug3::count(), DEFINE_FWK_MODULE, doPixel_, doStrip_, doStripChargeCheck_, doTracks_, Exception, lumiContext::fill, filterTracks_, edm::EventSetup::get(), edm::Event::getByToken(), h, hcalSimParameters_cfi::hb, edm::ProductID::id(), edm::HandleBase::id(), tablePrinter::labels, LogDebug, mergeOld_, minNumberOfLayersWithMeasBeforeFiltering_, eostools::move(), oldPxlMaskToken_, oldRemovalInfo_, oldStrMaskToken_, overrideTrkQuals_, HiRegitMuonDetachedTripletStep_cff::pixelClusters, pixelClusters_, pixels, pixelSourceProdID, process(), edm::ESHandle< T >::product(), edm::ProductLabels::productInstance, edm::Event::put(), rpcPointValidation_cfi::recHit, LaserSeedGenerator_cfi::rphiRecHits, rphiRecHitToken_, edm::ContainerMask< T >::size(), LaserSeedGenerator_cfi::stereoRecHits, stereoRecHitToken_, HiRegitMuonDetachedTripletStep_cff::stripClusters, stripClusters_, strips, stripSourceProdID, HiIsolationCommonParameters_cff::track, trackQuality_, l1t::tracks, and tracks_.
|
private |
Definition at line 121 of file HITrackClusterRemover.cc.
References edm::ParameterSet::exists(), lumiContext::fill, edm::ParameterSet::getParameter(), globals_cff::id1, globals_cff::id2, NumberOfParamBlocks, and pblocks_.
Referenced by HITrackClusterRemover().
|
private |
Definition at line 277 of file HITrackClusterRemover.cc.
References OmniClusterRef::cluster_strip(), clusterWasteSolution_, collectedStrips_, edm::Ref< C, T, F >::id(), edm::Ref< C, T, F >::key(), HITrackClusterRemover::ParamBlock::maxSize_, SiStripDetId::moduleGeometry(), pblocks_, PixelSubdetector::PixelBarrel, process(), strips, stripSourceProdID, DetId::subdetId(), SiStripDetId::TIB, SiStripDetId::TOB, SiStripDetId::W5, SiStripDetId::W6, and SiStripDetId::W7.
|
private |
Definition at line 103 of file HITrackClusterRemover.cc.
Referenced by HITrackClusterRemover(), process(), produce(), and sensorThickness().
|
private |
Definition at line 109 of file HITrackClusterRemover.cc.
|
private |
Definition at line 108 of file HITrackClusterRemover.cc.
Referenced by produce(), and sensorThickness().
|
private |
Definition at line 70 of file HITrackClusterRemover.cc.
Referenced by HITrackClusterRemover(), process(), and produce().
|
private |
Definition at line 103 of file HITrackClusterRemover.cc.
Referenced by HITrackClusterRemover().
|
private |
Definition at line 70 of file HITrackClusterRemover.cc.
Referenced by HITrackClusterRemover(), process(), and produce().
|
private |
Definition at line 103 of file HITrackClusterRemover.cc.
Referenced by HITrackClusterRemover(), and produce().
|
private |
Definition at line 69 of file HITrackClusterRemover.cc.
Referenced by HITrackClusterRemover(), and produce().
|
private |
Definition at line 105 of file HITrackClusterRemover.cc.
Referenced by HITrackClusterRemover(), and produce().
|
private |
Definition at line 71 of file HITrackClusterRemover.cc.
Referenced by HITrackClusterRemover(), and produce().
|
private |
Definition at line 106 of file HITrackClusterRemover.cc.
Referenced by HITrackClusterRemover(), and produce().
|
staticprivate |
Definition at line 67 of file HITrackClusterRemover.cc.
Referenced by HITrackClusterRemover(), process(), and readPSet().
|
private |
Definition at line 78 of file HITrackClusterRemover.cc.
Referenced by HITrackClusterRemover(), and produce().
|
private |
Definition at line 77 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 80 of file HITrackClusterRemover.cc.
Referenced by HITrackClusterRemover(), and produce().
|
private |
Definition at line 84 of file HITrackClusterRemover.cc.
Referenced by HITrackClusterRemover(), process(), readPSet(), and sensorThickness().
|
private |
Definition at line 74 of file HITrackClusterRemover.cc.
Referenced by HITrackClusterRemover(), and produce().
|
private |
Definition at line 104 of file HITrackClusterRemover.cc.
|
private |
Definition at line 88 of file HITrackClusterRemover.cc.
|
private |
Definition at line 89 of file HITrackClusterRemover.cc.
|
private |
Definition at line 81 of file HITrackClusterRemover.cc.
Referenced by HITrackClusterRemover(), and produce().
|
private |
Definition at line 81 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 104 of file HITrackClusterRemover.cc.
Referenced by HITrackClusterRemover().
|
private |
Definition at line 88 of file HITrackClusterRemover.cc.
Referenced by produce(), and sensorThickness().
|
private |
Definition at line 89 of file HITrackClusterRemover.cc.
Referenced by produce(), and sensorThickness().
|
private |
Definition at line 107 of file HITrackClusterRemover.cc.
Referenced by HITrackClusterRemover(), and produce().
|
private |
Definition at line 76 of file HITrackClusterRemover.cc.
Referenced by HITrackClusterRemover(), and produce().