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 | hasAbilityToProduceInBeginLumis () const final |
bool | hasAbilityToProduceInBeginRuns () const final |
bool | hasAbilityToProduceInEndLumis () const final |
bool | hasAbilityToProduceInEndRuns () 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 42 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 clusterWasteSolution_, doPixel_, doPixelChargeCheck_, doStrip_, doStripChargeCheck_, doTracks_, Exception, edm::ParameterSet::exists(), edm::ParameterSet::existsAs(), ntuplemaker::fill, filterTracks_, edm::ParameterSet::getParameter(), mps_fire::i, HLT_2018_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 242 of file HITrackClusterRemover.cc.
|
private |
Definition at line 251 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 244 of file HITrackClusterRemover.cc.
References mps_fire::i, and dqmiodumpmetadata::n.
Referenced by cleanup().
|
inlineprivate |
Definition at line 340 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 415 of file HITrackClusterRemover.cc.
References cleanup(), clusterWasteSolution_, collectedPixels_, collectedStrips_, edm::ContainerMask< T >::copyMaskTo(), KineDebug3::count(), DEFINE_FWK_MODULE, doPixel_, doStrip_, doStripChargeCheck_, doTracks_, Exception, ntuplemaker::fill, filterTracks_, edm::EventSetup::get(), edm::Event::getByToken(), h, hcalSimParameters_cfi::hb, edm::ProductID::id(), edm::HandleBase::id(), SummaryClient_cfi::labels, LogDebug, mergeOld_, minNumberOfLayersWithMeasBeforeFiltering_, eostools::move(), oldPxlMaskToken_, oldRemovalInfo_, oldStrMaskToken_, overrideTrkQuals_, LumiMonitor_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_, HLT_2018_cff::stripClusters, stripClusters_, strips, stripSourceProdID, HLT_2018_cff::track, trackQuality_, PDWG_EXOHSCP_cff::tracks, and tracks_.
|
private |
Definition at line 123 of file HITrackClusterRemover.cc.
References edm::ParameterSet::exists(), ntuplemaker::fill, edm::ParameterSet::getParameter(), globals_cff::id1, globals_cff::id2, NumberOfParamBlocks, and pblocks_.
Referenced by HITrackClusterRemover().
|
private |
Definition at line 295 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, W5, W6, and W7.
|
private |
Definition at line 108 of file HITrackClusterRemover.cc.
Referenced by HITrackClusterRemover(), process(), produce(), and sensorThickness().
|
private |
Definition at line 114 of file HITrackClusterRemover.cc.
|
private |
Definition at line 113 of file HITrackClusterRemover.cc.
Referenced by produce(), and sensorThickness().
|
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(), process(), and readPSet().
|
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(), process(), readPSet(), and sensorThickness().
|
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.
Referenced by produce(), and sensorThickness().
|
private |
Definition at line 94 of file HITrackClusterRemover.cc.
Referenced by produce(), and sensorThickness().
|
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().