Classes | |
struct | ParamBlock |
Public Member Functions | |
template<typename T > | |
auto_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) |
HITrackClusterRemover (const edm::ParameterSet &iConfig) | |
void | produce (edm::Event &iEvent, const edm::EventSetup &iSetup) override |
~HITrackClusterRemover () | |
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) |
ProducerBase () | |
void | registerProducts (ProducerBase *, ProductRegistry *, ModuleDescription const &) |
std::function< void(BranchDescription const &)> | registrationCallback () const |
used by the fwk to register list of products More... | |
virtual | ~ProducerBase () |
Public Member Functions inherited from edm::EDConsumerBase | |
std::vector< ConsumesInfo > | consumesInfo () const |
EDConsumerBase () | |
ProductHolderIndexAndSkipBit | indexFrom (EDGetToken, BranchType, TypeID const &) const |
void | itemsMayGet (BranchType, std::vector< ProductHolderIndexAndSkipBit > &) const |
void | itemsToGet (BranchType, std::vector< ProductHolderIndexAndSkipBit > &) const |
std::vector < ProductHolderIndexAndSkipBit > const & | itemsToGetFromEvent () const |
void | labelsForToken (EDGetToken iToken, Labels &oLabels) const |
void | modulesDependentUpon (const std::string &iProcessName, std::vector< const char * > &oModuleLabels) const |
void | modulesWhoseProductsAreConsumed (std::vector< ModuleDescription const * > &modules, ProductRegistry const &preg, std::map< std::string, ModuleDescription const * > const &labelsToDesc, std::string const &processName) const |
bool | registeredToConsume (ProductHolderIndex, bool, BranchType) const |
bool | registeredToConsumeMany (TypeID const &, BranchType) const |
void | updateLookup (BranchType iBranchType, ProductHolderIndexHelper const &) |
virtual | ~EDConsumerBase () |
Private Types | |
typedef edm::ContainerMask < edmNew::DetSetVector < SiPixelCluster > > | PixelMaskContainer |
typedef edm::ContainerMask < edmNew::DetSetVector < SiStripCluster > > | StripMaskContainer |
Private Member Functions | |
template<typename T > | |
std::auto_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, 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 |
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 43 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 138 of file HITrackClusterRemover.cc.
References clusterWasteSolution_, edm::EDConsumerBase::consumes(), doPixel_, doPixelChargeCheck_, doStrip_, doStripChargeCheck_, doTracks_, edm::hlt::Exception, edm::ParameterSet::exists(), edm::ParameterSet::existsAs(), lumiContext::fill, filterTracks_, edm::ParameterSet::getParameter(), i, HLT_25ns14e33_v1_cff::InputTag, mergeOld_, minNumberOfLayersWithMeasBeforeFiltering_, NumberOfParamBlocks, oldPxlMaskToken_, oldRemovalInfo_, oldStrMaskToken_, overrideTrkQuals_, pblocks_, pixelClusters_, reco::TrackBase::qualityByName(), readPSet(), rphiRecHitToken_, stereoRecHitToken_, AlCaHLTBitMon_QueryRunRegistry::string, stripClusters_, stripRecHits_, trackQuality_, trajectories_, and reco::TrackBase::undefQuality.
HITrackClusterRemover::~HITrackClusterRemover | ( | ) |
Definition at line 218 of file HITrackClusterRemover.cc.
|
private |
Referenced by produce().
auto_ptr<edmNew::DetSetVector<T> > HITrackClusterRemover::cleanup | ( | const edmNew::DetSetVector< T > & | oldClusters, |
const std::vector< uint8_t > & | isGood, | ||
reco::ClusterRemovalInfo::Indices & | refs, | ||
const reco::ClusterRemovalInfo::Indices * | oldRefs | ||
) |
Definition at line 233 of file HITrackClusterRemover.cc.
References edmNew::DetSetVector< T >::begin(), edmNew::DetSetVector< T >::data(), edmNew::DetSetVector< T >::dataSize(), edmNew::DetSetVector< T >::end(), cmsHarvester::index, mergeOld(), convertSQLitetoXML_cfg::output, and edmNew::DetSetVector< T >::size().
|
private |
|
inlineprivate |
Definition at line 311 of file HITrackClusterRemover.cc.
References assert(), SiPixelRecHit::cluster(), clusterWasteSolution_, collectedPixels_, cond::rpcobgas::detid, doPixel_, doStrip_, edm::hlt::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(), and DetId::subdetId().
Referenced by ConfigBuilder.ConfigBuilder::addExtraStream(), ConfigBuilder.ConfigBuilder::completeInputCommand(), ConfigBuilder.ConfigBuilder::doNotInlineEventContent(), ConfigBuilder.ConfigBuilder.PrintAllModules::leave(), ConfigBuilder.ConfigBuilder::prepare_HLT(), ConfigBuilder.ConfigBuilder::prepare_LHE(), ConfigBuilder.ConfigBuilder::prepare_VALIDATION(), produce(), ConfigBuilder.ConfigBuilder::renameHLTprocessInSequence(), ConfigBuilder.ConfigBuilder::renameInputTagsInSequence(), and ConfigBuilder.ConfigBuilder::scheduleSequence().
|
inlineprivate |
Definition at line 284 of file HITrackClusterRemover.cc.
References assert(), OmniClusterRef::cluster_strip(), clusterWasteSolution_, collectedStrips_, edm::Ref< C, T, F >::id(), edm::Ref< C, T, F >::key(), HITrackClusterRemover::ParamBlock::maxSize_, pblocks_, sensorThickness(), strips, stripSourceProdID, and DetId::subdetId().
Referenced by ConfigBuilder.ConfigBuilder::addExtraStream(), ConfigBuilder.ConfigBuilder::completeInputCommand(), ConfigBuilder.ConfigBuilder::doNotInlineEventContent(), ConfigBuilder.ConfigBuilder.PrintAllModules::leave(), ConfigBuilder.ConfigBuilder::prepare_HLT(), ConfigBuilder.ConfigBuilder::prepare_LHE(), ConfigBuilder.ConfigBuilder::prepare_VALIDATION(), ConfigBuilder.ConfigBuilder::renameHLTprocessInSequence(), ConfigBuilder.ConfigBuilder::renameInputTagsInSequence(), and ConfigBuilder.ConfigBuilder::scheduleSequence().
|
overridevirtual |
Implements edm::stream::EDProducerBase.
Definition at line 380 of file HITrackClusterRemover.cc.
References assert(), cleanup(), clusterWasteSolution_, collectedPixels_, collectedStrips_, edm::AssociationMap< edm::OneToOne< std::vector< Trajectory >, reco::TrackCollection, unsigned short > >::const_iterator, prof2calltree::count, cond::rpcobgas::detid, doPixel_, doStrip_, doStripChargeCheck_, doTracks_, edm::hlt::Exception, lumiContext::fill, filterTracks_, edm::EventSetup::get(), edm::Event::getByToken(), reco::TrackBase::hitPattern(), edm::HandleBase::id(), TrackingRecHit::isValid(), HLT_25ns14e33_v1_cff::labels, edm::EDConsumerBase::labelsForToken(), LogDebug, Trajectory::measurements(), mergeOld_, minNumberOfLayersWithMeasBeforeFiltering_, oldPxlMaskToken_, oldRemovalInfo_, oldStrMaskToken_, overrideTrkQuals_, HLT_25ns14e33_v1_cff::pixelClusters, pixelClusters_, pixels, pixelSourceProdID, process(), edm::ESHandle< class >::product(), edm::ProductLabels::productInstance, edm::Event::put(), reco::TrackBase::quality(), edm::ProductID::reset(), PixelLessLayerPairs4PixelLessTracking_cfi::rphiRecHits, rphiRecHitToken_, PixelLessLayerPairs4PixelLessTracking_cfi::stereoRecHits, stereoRecHitToken_, HLT_25ns14e33_v1_cff::stripClusters, stripClusters_, strips, stripSourceProdID, reco::HitPattern::trackerLayersWithMeasurement(), trackQuality_, and trajectories_.
|
private |
Definition at line 120 of file HITrackClusterRemover.cc.
References edm::ParameterSet::exists(), lumiContext::fill, and edm::ParameterSet::getParameter().
Referenced by HITrackClusterRemover().
|
private |
Definition at line 272 of file HITrackClusterRemover.cc.
References SiStripDetId::moduleGeometry(), PixelSubdetector::PixelBarrel, DetId::subdetId(), SiStripDetId::TIB, SiStripDetId::TOB, SiStripDetId::W5, SiStripDetId::W6, and SiStripDetId::W7.
Referenced by process().
|
private |
Definition at line 102 of file HITrackClusterRemover.cc.
Referenced by HITrackClusterRemover(), process(), and produce().
|
private |
Definition at line 108 of file HITrackClusterRemover.cc.
|
private |
Definition at line 107 of file HITrackClusterRemover.cc.
|
private |
Definition at line 69 of file HITrackClusterRemover.cc.
Referenced by HITrackClusterRemover(), process(), and produce().
|
private |
Definition at line 102 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 102 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 104 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 105 of file HITrackClusterRemover.cc.
Referenced by HITrackClusterRemover(), and produce().
|
staticprivate |
Definition at line 66 of file HITrackClusterRemover.cc.
Referenced by HITrackClusterRemover(), and process().
|
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(), and process().
|
private |
Definition at line 73 of file HITrackClusterRemover.cc.
Referenced by HITrackClusterRemover(), and produce().
|
private |
Definition at line 103 of file HITrackClusterRemover.cc.
|
private |
Definition at line 87 of file HITrackClusterRemover.cc.
|
private |
Definition at line 88 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 103 of file HITrackClusterRemover.cc.
Referenced by HITrackClusterRemover().
|
private |
Definition at line 87 of file HITrackClusterRemover.cc.
|
private |
Definition at line 88 of file HITrackClusterRemover.cc.
|
private |
Definition at line 106 of file HITrackClusterRemover.cc.
Referenced by HITrackClusterRemover(), and produce().
|
private |
Definition at line 75 of file HITrackClusterRemover.cc.
Referenced by HITrackClusterRemover(), and produce().