Classes | |
struct | ParamBlock |
Public Member Functions | |
HLTTrackClusterRemoverNew (const edm::ParameterSet &iConfig) | |
void | produce (edm::Event &iEvent, const edm::EventSetup &iSetup) override |
~HLTTrackClusterRemoverNew () 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, float chi2, const TrackerGeometry *tg) |
void | process (const OmniClusterRef &cluRef, uint32_t subdet) |
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) |
Private Attributes | |
std::vector< bool > | collectedPixels_ |
std::vector< bool > | collectedRegStrips_ |
bool | doPixel_ |
bool | doPixelChargeCheck_ |
bool | doStrip_ |
bool | doStripChargeCheck_ |
bool | doTracks_ |
bool | makeProducts_ |
bool | mergeOld_ |
edm::EDGetTokenT< PixelMaskContainer > | oldPxlMaskToken_ |
edm::EDGetTokenT< StripMaskContainer > | oldStrMaskToken_ |
ParamBlock | pblocks_ [NumberOfParamBlocks] |
edm::EDGetTokenT< edmNew::DetSetVector< SiPixelCluster > > | pixelClusters_ |
std::vector< uint8_t > | pixels |
edm::ProductID | pixelSourceProdID |
edm::EDGetTokenT< edmNew::DetSetVector< SiStripCluster > > | stripClusters_ |
std::vector< uint8_t > | strips |
edm::ProductID | stripSourceProdID |
edm::EDGetTokenT< std::vector< Trajectory > > | trajectories_ |
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 39 of file HLTTrackClusterRemoverNew.cc.
|
private |
Definition at line 69 of file HLTTrackClusterRemoverNew.cc.
|
private |
Definition at line 70 of file HLTTrackClusterRemoverNew.cc.
HLTTrackClusterRemoverNew::HLTTrackClusterRemoverNew | ( | const edm::ParameterSet & | iConfig | ) |
Definition at line 134 of file HLTTrackClusterRemoverNew.cc.
References doPixel_, doPixelChargeCheck_, doStrip_, doStripChargeCheck_, doTracks_, Exception, edm::ParameterSet::exists(), ntuplemaker::fill, edm::ParameterSet::getParameter(), mps_fire::i, mergeOld_, NumberOfParamBlocks, oldPxlMaskToken_, oldStrMaskToken_, pblocks_, pixelClusters_, readPSet(), stripClusters_, and trajectories_.
|
override |
Definition at line 208 of file HLTTrackClusterRemoverNew.cc.
|
private |
Definition at line 218 of file HLTTrackClusterRemoverNew.cc.
References edmNew::DetSetVector< T >::begin(), collectedRegStrips_, edmNew::DetSetVector< T >::data(), edmNew::DetSetVector< T >::dataSize(), edmNew::DetSetVector< T >::end(), OmniClusterRef::id(), OmniClusterRef::key(), mergeOld(), convertSQLitetoXML_cfg::output, process(), edmNew::DetSetVector< T >::size(), and stripSourceProdID.
|
private |
Definition at line 210 of file HLTTrackClusterRemoverNew.cc.
References mps_fire::i, and dqmiodumpmetadata::n.
Referenced by cleanup().
|
inlineprivate |
Definition at line 277 of file HLTTrackClusterRemoverNew.cc.
References SiPixelRecHit::cluster(), collectedPixels_, doPixel_, doStrip_, Exception, TrackingRecHit::geographicalId(), TrackerGeometry::geomDetSubDetector(), edm::Ref< C, T, F >::id(), GeomDetEnumerators::isTrackerPixel(), edm::Ref< C, T, F >::key(), HLTTrackClusterRemoverNew::ParamBlock::maxSize_, SiStripMatchedRecHit2D::monoClusterRef(), NumberOfParamBlocks, TrackerSingleRecHit::omniClusterRef(), ProjectedSiStripRecHit2D::originalHit(), pblocks_, pixelSourceProdID, DetId::rawId(), SiStripMatchedRecHit2D::stereoClusterRef(), and DetId::subdetId().
Referenced by cleanup(), and produce().
|
inlineprivate |
|
override |
Definition at line 364 of file HLTTrackClusterRemoverNew.cc.
References bsc_activity_cfg::clusters, collectedPixels_, collectedRegStrips_, edm::ContainerMask< T >::copyMaskTo(), KineDebug3::count(), DEFINE_FWK_MODULE, doPixel_, doStrip_, doStripChargeCheck_, edm::EventSetup::get(), edm::Event::getByToken(), mps_fire::i, edm::HandleBase::id(), TrackingRecHit::isValid(), B2GTnPMonitor_cfi::item, LogDebug, Trajectory::measurements(), mergeOld_, oldPxlMaskToken_, oldStrMaskToken_, pblocks_, LumiMonitor_cff::pixelClusters, pixelClusters_, pixelSourceProdID, process(), edm::ESHandle< T >::product(), edm::Event::put(), edm::ContainerMask< T >::size(), HLT_2018_cff::stripClusters, stripClusters_, stripSourceProdID, DetId::subdetId(), FastTrackerRecHitMaskProducer_cfi::trajectories, and trajectories_.
|
private |
Definition at line 112 of file HLTTrackClusterRemoverNew.cc.
References edm::ParameterSet::exists(), ntuplemaker::fill, edm::ParameterSet::getParameter(), globals_cff::id1, globals_cff::id2, NumberOfParamBlocks, and pblocks_.
Referenced by HLTTrackClusterRemoverNew().
|
private |
Definition at line 105 of file HLTTrackClusterRemoverNew.cc.
|
private |
Definition at line 104 of file HLTTrackClusterRemoverNew.cc.
|
private |
Definition at line 66 of file HLTTrackClusterRemoverNew.cc.
Referenced by HLTTrackClusterRemoverNew(), process(), and produce().
|
private |
Definition at line 103 of file HLTTrackClusterRemoverNew.cc.
Referenced by HLTTrackClusterRemoverNew().
|
private |
Definition at line 66 of file HLTTrackClusterRemoverNew.cc.
Referenced by HLTTrackClusterRemoverNew(), process(), and produce().
|
private |
Definition at line 103 of file HLTTrackClusterRemoverNew.cc.
Referenced by HLTTrackClusterRemoverNew(), and produce().
|
private |
Definition at line 65 of file HLTTrackClusterRemoverNew.cc.
Referenced by HLTTrackClusterRemoverNew().
|
private |
Definition at line 102 of file HLTTrackClusterRemoverNew.cc.
|
private |
Definition at line 67 of file HLTTrackClusterRemoverNew.cc.
Referenced by HLTTrackClusterRemoverNew(), and produce().
|
staticprivate |
Definition at line 63 of file HLTTrackClusterRemoverNew.cc.
Referenced by HLTTrackClusterRemoverNew(), process(), and readPSet().
|
private |
Definition at line 73 of file HLTTrackClusterRemoverNew.cc.
Referenced by HLTTrackClusterRemoverNew(), and produce().
|
private |
Definition at line 74 of file HLTTrackClusterRemoverNew.cc.
Referenced by HLTTrackClusterRemoverNew(), and produce().
|
private |
Definition at line 77 of file HLTTrackClusterRemoverNew.cc.
Referenced by HLTTrackClusterRemoverNew(), process(), produce(), and readPSet().
|
private |
Definition at line 71 of file HLTTrackClusterRemoverNew.cc.
Referenced by HLTTrackClusterRemoverNew(), and produce().
|
private |
Definition at line 87 of file HLTTrackClusterRemoverNew.cc.
|
private |
Definition at line 88 of file HLTTrackClusterRemoverNew.cc.
|
private |
Definition at line 72 of file HLTTrackClusterRemoverNew.cc.
Referenced by HLTTrackClusterRemoverNew(), and produce().
|
private |
Definition at line 87 of file HLTTrackClusterRemoverNew.cc.
|
private |
Definition at line 88 of file HLTTrackClusterRemoverNew.cc.
|
private |
Definition at line 75 of file HLTTrackClusterRemoverNew.cc.
Referenced by HLTTrackClusterRemoverNew(), and produce().