Classes | |
struct | ParamBlock |
Public Member Functions | |
void | produce (edm::Event &iEvent, const edm::EventSetup &iSetup) override |
SeedClusterRemover (const edm::ParameterSet &iConfig) | |
~SeedClusterRemover () | |
Public Member Functions inherited from edm::stream::EDProducer<> | |
EDProducer ()=default | |
Public Member Functions inherited from edm::stream::EDProducerBase | |
EDProducerBase () | |
ModuleDescription const & | moduleDescription () const |
virtual | ~EDProducerBase () |
Public Member Functions inherited from edm::ProducerBase | |
void | callWhenNewProductsRegistered (std::function< void(BranchDescription const &)> const &func) |
std::vector< edm::ProductResolverIndex > const & | indiciesForPutProducts (BranchType iBranchType) const |
ProducerBase () | |
void | registerProducts (ProducerBase *, ProductRegistry *, ModuleDescription const &) |
std::function< void(BranchDescription const &)> | registrationCallback () const |
used by the fwk to register list of products More... | |
void | resolvePutIndicies (BranchType iBranchType, std::unordered_multimap< std::string, edm::ProductResolverIndex > const &iIndicies, std::string const &moduleLabel) |
virtual | ~ProducerBase () noexcept(false) |
Public Member Functions inherited from edm::EDConsumerBase | |
std::vector< ConsumesInfo > | consumesInfo () const |
void | convertCurrentProcessAlias (std::string const &processName) |
Convert "@currentProcess" in InputTag process names to the actual current process name. More... | |
EDConsumerBase () | |
EDConsumerBase (EDConsumerBase const &)=delete | |
EDConsumerBase (EDConsumerBase &&)=default | |
ProductResolverIndexAndSkipBit | indexFrom (EDGetToken, BranchType, TypeID const &) const |
void | itemsMayGet (BranchType, std::vector< ProductResolverIndexAndSkipBit > &) const |
void | itemsToGet (BranchType, std::vector< ProductResolverIndexAndSkipBit > &) const |
std::vector< ProductResolverIndexAndSkipBit > const & | itemsToGetFrom (BranchType iType) const |
void | labelsForToken (EDGetToken iToken, Labels &oLabels) const |
void | modulesWhoseProductsAreConsumed (std::vector< ModuleDescription const * > &modules, ProductRegistry const &preg, std::map< std::string, ModuleDescription const * > const &labelsToDesc, std::string const &processName) const |
EDConsumerBase const & | operator= (EDConsumerBase const &)=delete |
EDConsumerBase & | operator= (EDConsumerBase &&)=default |
bool | registeredToConsume (ProductResolverIndex, bool, BranchType) const |
bool | registeredToConsumeMany (TypeID const &, BranchType) const |
void | updateLookup (BranchType iBranchType, ProductResolverIndexHelper const &, bool iPrefetchMayGet) |
virtual | ~EDConsumerBase () noexcept(false) |
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 | |
bool | clusterWasteSolution_ |
std::vector< bool > | collectedPixels_ |
std::vector< bool > | collectedStrips_ |
bool | doPixel_ |
bool | doStrip_ |
bool | filterTracks_ |
bool | mergeOld_ |
edm::EDGetTokenT< PixelMaskContainer > | oldPxlMaskToken_ |
edm::EDGetTokenT< reco::ClusterRemovalInfo > | oldRemovalInfo_ |
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 |
reco::TrackBase::TrackQuality | trackQuality_ |
edm::EDGetTokenT< TrajectorySeedCollection > | 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 |
Public Types inherited from edm::stream::EDProducerBase | |
typedef EDProducerAdaptorBase | ModuleType |
Public Types inherited from edm::ProducerBase | |
typedef ProductRegistryHelper::TypeLabelList | TypeLabelList |
Public Types inherited from edm::EDConsumerBase | |
typedef ProductLabels | Labels |
Static Public Member Functions inherited from edm::stream::EDProducerBase | |
static const std::string & | baseType () |
static void | fillDescriptions (ConfigurationDescriptions &descriptions) |
static void | prevalidate (ConfigurationDescriptions &descriptions) |
Protected Member Functions inherited from edm::EDConsumerBase | |
template<typename ProductType , BranchType B = InEvent> | |
EDGetTokenT< ProductType > | consumes (edm::InputTag const &tag) |
EDGetToken | consumes (const TypeToGet &id, edm::InputTag const &tag) |
template<BranchType B> | |
EDGetToken | consumes (TypeToGet const &id, edm::InputTag const &tag) |
ConsumesCollector | consumesCollector () |
Use a ConsumesCollector to gather consumes information from helper functions. More... | |
template<typename ProductType , BranchType B = InEvent> | |
void | consumesMany () |
void | consumesMany (const TypeToGet &id) |
template<BranchType B> | |
void | consumesMany (const TypeToGet &id) |
template<typename ProductType , BranchType B = InEvent> | |
EDGetTokenT< ProductType > | mayConsume (edm::InputTag const &tag) |
EDGetToken | mayConsume (const TypeToGet &id, edm::InputTag const &tag) |
template<BranchType B> | |
EDGetToken | mayConsume (const TypeToGet &id, edm::InputTag const &tag) |
Definition at line 41 of file SeedClusterRemover.cc.
|
private |
Definition at line 64 of file SeedClusterRemover.cc.
|
private |
Definition at line 65 of file SeedClusterRemover.cc.
SeedClusterRemover::SeedClusterRemover | ( | const edm::ParameterSet & | iConfig | ) |
Definition at line 125 of file SeedClusterRemover.cc.
References clusterWasteSolution_, doPixel_, doStrip_, Exception, edm::ParameterSet::exists(), lumiContext::fill, filterTracks_, edm::ParameterSet::getParameter(), mps_fire::i, mergeOld_, NumberOfParamBlocks, oldPxlMaskToken_, oldRemovalInfo_, oldStrMaskToken_, pblocks_, pixelClusters_, reco::TrackBase::qualityByName(), readPSet(), AlCaHLTBitMon_QueryRunRegistry::string, stripClusters_, trackQuality_, trajectories_, and reco::TrackBase::undefQuality.
SeedClusterRemover::~SeedClusterRemover | ( | ) |
Definition at line 186 of file SeedClusterRemover.cc.
|
private |
Definition at line 201 of file SeedClusterRemover.cc.
References edmNew::DetSetVector< T >::begin(), OmniClusterRef::cluster_strip(), clusterWasteSolution_, collectedStrips_, edmNew::DetSetVector< T >::data(), edmNew::DetSetVector< T >::dataSize(), edmNew::DetSetVector< T >::end(), edm::Ref< C, T, F >::id(), diffTreeTool::index, edm::Ref< C, T, F >::key(), SeedClusterRemover::ParamBlock::maxSize_, mergeOld(), convertSQLitetoXML_cfg::output, pblocks_, process(), edmNew::DetSetVector< T >::size(), strips, and stripSourceProdID.
Referenced by produce().
|
private |
Definition at line 190 of file SeedClusterRemover.cc.
References mps_fire::i, and gen::n.
Referenced by cleanup().
|
inlineprivate |
Definition at line 258 of file SeedClusterRemover.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(), SeedClusterRemover::ParamBlock::maxSize_, SiStripMatchedRecHit2D::monoClusterRef(), NumberOfParamBlocks, TrackerSingleRecHit::omniClusterRef(), ProjectedSiStripRecHit2D::originalHit(), pblocks_, pixels, pixelSourceProdID, DetId::rawId(), SiStripMatchedRecHit2D::stereoClusterRef(), and DetId::subdetId().
Referenced by ConfigBuilder.ConfigBuilder::addExtraStream(), cleanup(), ConfigBuilder.ConfigBuilder::completeInputCommand(), ConfigBuilder.ConfigBuilder::doNotInlineEventContent(), ConfigBuilder.ConfigBuilder.PrintAllModules::leave(), ConfigBuilder.ConfigBuilder::prepare(), ConfigBuilder.ConfigBuilder::prepare_ALCA(), ConfigBuilder.ConfigBuilder::prepare_DQM(), ConfigBuilder.ConfigBuilder::prepare_HLT(), ConfigBuilder.ConfigBuilder::prepare_LHE(), ConfigBuilder.ConfigBuilder::prepare_PATFILTER(), ConfigBuilder.ConfigBuilder::prepare_VALIDATION(), produce(), ConfigBuilder.ConfigBuilder::renameHLTprocessInSequence(), ConfigBuilder.ConfigBuilder::renameInputTagsInSequence(), and ConfigBuilder.ConfigBuilder::scheduleSequence().
|
inlineprivate |
Referenced by ConfigBuilder.ConfigBuilder::addExtraStream(), ConfigBuilder.ConfigBuilder::completeInputCommand(), ConfigBuilder.ConfigBuilder::doNotInlineEventContent(), ConfigBuilder.ConfigBuilder.PrintAllModules::leave(), ConfigBuilder.ConfigBuilder::prepare(), ConfigBuilder.ConfigBuilder::prepare_ALCA(), ConfigBuilder.ConfigBuilder::prepare_DQM(), ConfigBuilder.ConfigBuilder::prepare_HLT(), ConfigBuilder.ConfigBuilder::prepare_LHE(), ConfigBuilder.ConfigBuilder::prepare_PATFILTER(), ConfigBuilder.ConfigBuilder::prepare_VALIDATION(), ConfigBuilder.ConfigBuilder::renameHLTprocessInSequence(), ConfigBuilder.ConfigBuilder::renameInputTagsInSequence(), and ConfigBuilder.ConfigBuilder::scheduleSequence().
|
override |
Definition at line 327 of file SeedClusterRemover.cc.
References cleanup(), clusterWasteSolution_, collectedPixels_, collectedStrips_, edm::ContainerMask< T >::copyMaskTo(), KineDebug3::count(), DEFINE_FWK_MODULE, doPixel_, doStrip_, Exception, lumiContext::fill, edm::EventSetup::get(), edm::Event::getByToken(), hfClusterShapes_cfi::hits, edm::ProductID::id(), edm::HandleBase::id(), tablePrinter::labels, edm::EDConsumerBase::labelsForToken(), LogDebug, mergeOld_, eostools::move(), oldPxlMaskToken_, oldRemovalInfo_, oldStrMaskToken_, HiRegitMuonDetachedTripletStep_cff::pixelClusters, pixelClusters_, pixels, pixelSourceProdID, process(), edm::ESHandle< T >::product(), edm::ProductLabels::productInstance, edm::Event::put(), SurveyInfoScenario_cff::seed, edm::ContainerMask< T >::size(), HiRegitMuonDetachedTripletStep_cff::stripClusters, stripClusters_, strips, stripSourceProdID, and trajectories_.
|
private |
Definition at line 107 of file SeedClusterRemover.cc.
References edm::ParameterSet::exists(), lumiContext::fill, edm::ParameterSet::getParameter(), NumberOfParamBlocks, and pblocks_.
Referenced by SeedClusterRemover().
|
private |
Definition at line 94 of file SeedClusterRemover.cc.
Referenced by cleanup(), process(), produce(), and SeedClusterRemover().
|
private |
Definition at line 98 of file SeedClusterRemover.cc.
|
private |
Definition at line 97 of file SeedClusterRemover.cc.
|
private |
Definition at line 62 of file SeedClusterRemover.cc.
Referenced by process(), produce(), and SeedClusterRemover().
|
private |
Definition at line 62 of file SeedClusterRemover.cc.
Referenced by process(), produce(), and SeedClusterRemover().
|
private |
Definition at line 95 of file SeedClusterRemover.cc.
Referenced by SeedClusterRemover().
|
private |
Definition at line 63 of file SeedClusterRemover.cc.
Referenced by produce(), and SeedClusterRemover().
|
staticprivate |
Definition at line 60 of file SeedClusterRemover.cc.
Referenced by process(), readPSet(), and SeedClusterRemover().
|
private |
Definition at line 69 of file SeedClusterRemover.cc.
Referenced by produce(), and SeedClusterRemover().
|
private |
Definition at line 68 of file SeedClusterRemover.cc.
Referenced by produce(), and SeedClusterRemover().
|
private |
Definition at line 70 of file SeedClusterRemover.cc.
Referenced by produce(), and SeedClusterRemover().
|
private |
Definition at line 75 of file SeedClusterRemover.cc.
Referenced by cleanup(), process(), readPSet(), and SeedClusterRemover().
|
private |
Definition at line 66 of file SeedClusterRemover.cc.
Referenced by produce(), and SeedClusterRemover().
|
private |
Definition at line 79 of file SeedClusterRemover.cc.
|
private |
Definition at line 80 of file SeedClusterRemover.cc.
|
private |
Definition at line 67 of file SeedClusterRemover.cc.
Referenced by produce(), and SeedClusterRemover().
|
private |
Definition at line 79 of file SeedClusterRemover.cc.
|
private |
Definition at line 80 of file SeedClusterRemover.cc.
|
private |
Definition at line 96 of file SeedClusterRemover.cc.
Referenced by SeedClusterRemover().
|
private |
Definition at line 71 of file SeedClusterRemover.cc.
Referenced by produce(), and SeedClusterRemover().