Public Member Functions | |
void | produce (edm::Event &iEvent, const edm::EventSetup &iSetup) override |
SeedClusterRemoverPhase2 (const edm::ParameterSet &iConfig) | |
~SeedClusterRemoverPhase2 () | |
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< Phase2TrackerCluster1D > > | Phase2OTMaskContainer |
typedef edm::ContainerMask< edmNew::DetSetVector< SiPixelCluster > > | PixelMaskContainer |
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) |
Private Attributes | |
bool | clusterWasteSolution_ |
std::vector< bool > | collectedOuterTrackers_ |
std::vector< bool > | collectedPixels_ |
bool | doOuterTracker_ |
bool | doPixel_ |
bool | filterTracks_ |
bool | mergeOld_ |
edm::EDGetTokenT< Phase2OTMaskContainer > | oldPh2OTMaskToken_ |
edm::EDGetTokenT< PixelMaskContainer > | oldPxlMaskToken_ |
edm::EDGetTokenT< reco::ClusterRemovalInfo > | oldRemovalInfo_ |
std::vector< uint8_t > | OTs |
edm::ProductID | outerTrackerSourceProdID |
edm::EDGetTokenT< edmNew::DetSetVector< Phase2TrackerCluster1D > > | phase2OTClusters_ |
edm::EDGetTokenT< edmNew::DetSetVector< SiPixelCluster > > | pixelClusters_ |
std::vector< uint8_t > | pixels |
edm::ProductID | pixelSourceProdID |
reco::TrackBase::TrackQuality | trackQuality_ |
edm::EDGetTokenT< TrajectorySeedCollection > | trajectories_ |
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 39 of file SeedClusterRemoverPhase2.cc.
|
private |
Definition at line 49 of file SeedClusterRemoverPhase2.cc.
|
private |
Definition at line 48 of file SeedClusterRemoverPhase2.cc.
SeedClusterRemoverPhase2::SeedClusterRemoverPhase2 | ( | const edm::ParameterSet & | iConfig | ) |
Definition at line 82 of file SeedClusterRemoverPhase2.cc.
References clusterWasteSolution_, doOuterTracker_, doPixel_, edm::ParameterSet::exists(), filterTracks_, edm::ParameterSet::getParameter(), mergeOld_, oldPh2OTMaskToken_, oldPxlMaskToken_, oldRemovalInfo_, phase2OTClusters_, pixelClusters_, reco::TrackBase::qualityByName(), AlCaHLTBitMon_QueryRunRegistry::string, trackQuality_, trajectories_, and reco::TrackBase::undefQuality.
SeedClusterRemoverPhase2::~SeedClusterRemoverPhase2 | ( | ) |
Definition at line 116 of file SeedClusterRemoverPhase2.cc.
|
private |
Definition at line 131 of file SeedClusterRemoverPhase2.cc.
References edmNew::DetSetVector< T >::begin(), edmNew::DetSetVector< T >::data(), edmNew::DetSetVector< T >::dataSize(), edmNew::DetSetVector< T >::end(), diffTreeTool::index, LogDebug, mergeOld(), dataset::name, convertSQLitetoXML_cfg::output, and edmNew::DetSetVector< T >::size().
Referenced by produce().
|
private |
Definition at line 120 of file SeedClusterRemoverPhase2.cc.
References mps_fire::i, and gen::n.
Referenced by cleanup().
|
inlineprivate |
Definition at line 173 of file SeedClusterRemoverPhase2.cc.
References Phase2TrackerRecHit1D::cluster(), SiPixelRecHit::cluster(), clusterWasteSolution_, collectedOuterTrackers_, collectedPixels_, doOuterTracker_, doPixel_, Exception, TrackingRecHit::geographicalId(), edm::Ref< C, T, F >::id(), edm::Ref< C, T, F >::key(), LogDebug, OTs, outerTrackerSourceProdID, pixels, pixelSourceProdID, DetId::rawId(), and DetId::subdetId().
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(), produce(), ConfigBuilder.ConfigBuilder::renameHLTprocessInSequence(), ConfigBuilder.ConfigBuilder::renameInputTagsInSequence(), and ConfigBuilder.ConfigBuilder::scheduleSequence().
|
override |
Definition at line 225 of file SeedClusterRemoverPhase2.cc.
References cleanup(), clusterWasteSolution_, collectedOuterTrackers_, collectedPixels_, edm::ContainerMask< T >::copyMaskTo(), KineDebug3::count(), DEFINE_FWK_MODULE, doOuterTracker_, doPixel_, Exception, lumiContext::fill, edm::EventSetup::get(), edm::Event::getByToken(), hfClusterShapes_cfi::hits, edm::ProductID::id(), edm::OrphanHandleBase::id(), edm::HandleBase::id(), tablePrinter::labels, edm::EDConsumerBase::labelsForToken(), LogDebug, mergeOld_, eostools::move(), oldPh2OTMaskToken_, oldPxlMaskToken_, oldRemovalInfo_, OTs, outerTrackerSourceProdID, seedClusterRemoverPhase2_cfi::phase2OTClusters, phase2OTClusters_, HiRegitMuonDetachedTripletStep_cff::pixelClusters, pixelClusters_, pixels, pixelSourceProdID, process(), edm::ESHandle< T >::product(), edm::ProductLabels::productInstance, edm::Event::put(), SurveyInfoScenario_cff::seed, edm::ContainerMask< T >::size(), and trajectories_.
|
private |
Definition at line 70 of file SeedClusterRemoverPhase2.cc.
Referenced by process(), produce(), and SeedClusterRemoverPhase2().
|
private |
Definition at line 73 of file SeedClusterRemoverPhase2.cc.
|
private |
Definition at line 74 of file SeedClusterRemoverPhase2.cc.
|
private |
Definition at line 46 of file SeedClusterRemoverPhase2.cc.
Referenced by process(), produce(), and SeedClusterRemoverPhase2().
|
private |
Definition at line 46 of file SeedClusterRemoverPhase2.cc.
Referenced by process(), produce(), and SeedClusterRemoverPhase2().
|
private |
Definition at line 71 of file SeedClusterRemoverPhase2.cc.
Referenced by SeedClusterRemoverPhase2().
|
private |
Definition at line 47 of file SeedClusterRemoverPhase2.cc.
Referenced by produce(), and SeedClusterRemoverPhase2().
|
private |
Definition at line 54 of file SeedClusterRemoverPhase2.cc.
Referenced by produce(), and SeedClusterRemoverPhase2().
|
private |
Definition at line 53 of file SeedClusterRemoverPhase2.cc.
Referenced by produce(), and SeedClusterRemoverPhase2().
|
private |
Definition at line 52 of file SeedClusterRemoverPhase2.cc.
Referenced by produce(), and SeedClusterRemoverPhase2().
|
private |
Definition at line 57 of file SeedClusterRemoverPhase2.cc.
|
private |
Definition at line 58 of file SeedClusterRemoverPhase2.cc.
|
private |
Definition at line 51 of file SeedClusterRemoverPhase2.cc.
Referenced by produce(), and SeedClusterRemoverPhase2().
|
private |
Definition at line 50 of file SeedClusterRemoverPhase2.cc.
Referenced by produce(), and SeedClusterRemoverPhase2().
|
private |
Definition at line 57 of file SeedClusterRemoverPhase2.cc.
|
private |
Definition at line 58 of file SeedClusterRemoverPhase2.cc.
|
private |
Definition at line 72 of file SeedClusterRemoverPhase2.cc.
Referenced by SeedClusterRemoverPhase2().
|
private |
Definition at line 55 of file SeedClusterRemoverPhase2.cc.
Referenced by produce(), and SeedClusterRemoverPhase2().