Classes | |
struct | ParamBlock |
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) |
void | process (const OmniClusterRef &cluRef, uint32_t subdet, 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) |
Static Private Attributes | |
static const unsigned int | NumberOfParamBlocks = 6 |
Additional Inherited Members | |
Public Types inherited from edm::EDProducer | |
typedef EDProducer | ModuleType |
Public Types inherited from edm::ProducerBase | |
typedef ProductRegistryHelper::TypeLabelList | TypeLabelList |
Static Public Member Functions inherited from edm::EDProducer | |
static const std::string & | baseType () |
static void | fillDescriptions (ConfigurationDescriptions &descriptions) |
static void | prevalidate (ConfigurationDescriptions &descriptions) |
Protected Member Functions inherited from edm::ProducerBase | |
void | callWhenNewProductsRegistered (std::function< void(BranchDescription const &)> const &func) |
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 37 of file TrackClusterRemover.cc.
|
private |
Definition at line 65 of file TrackClusterRemover.cc.
|
private |
Definition at line 66 of file TrackClusterRemover.cc.
TrackClusterRemover::TrackClusterRemover | ( | const edm::ParameterSet & | iConfig | ) |
Definition at line 132 of file TrackClusterRemover.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, 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.
TrackClusterRemover::~TrackClusterRemover | ( | ) |
Definition at line 212 of file TrackClusterRemover.cc.
|
private |
Referenced by produce().
auto_ptr<edmNew::DetSetVector<T> > TrackClusterRemover::cleanup | ( | const edmNew::DetSetVector< T > & | oldClusters, |
const std::vector< uint8_t > & | isGood, | ||
reco::ClusterRemovalInfo::Indices & | refs, | ||
const reco::ClusterRemovalInfo::Indices * | oldRefs | ||
) |
Definition at line 227 of file TrackClusterRemover.cc.
References edmNew::DetSetVector< T >::begin(), edmNew::DetSetVector< T >::data(), edmNew::DetSetVector< T >::dataSize(), edmNew::DetSetVector< T >::end(), getHLTprescales::index, mergeOld(), convertSQLitetoXML_cfg::output, and edmNew::DetSetVector< T >::size().
|
private |
|
inlineprivate |
Definition at line 290 of file TrackClusterRemover.cc.
References clusterWasteSolution_, collectedPixels_, cond::rpcobgas::detid, doPixel_, doStrip_, edm::hlt::Exception, TrackingRecHit::geographicalId(), TrackClusterRemover::ParamBlock::maxSize_, NumberOfParamBlocks, ProjectedSiStripRecHit2D::originalHit(), pblocks_, PixelSubdetector::PixelBarrel, PixelSubdetector::PixelEndcap, 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_FASTSIM(), 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 267 of file TrackClusterRemover.cc.
References OmniClusterRef::cluster_strip(), clusterWasteSolution_, collectedStrips_, TrackClusterRemover::ParamBlock::maxSize_, pblocks_, strips, and stripSourceProdID.
Referenced by ConfigBuilder.ConfigBuilder::addExtraStream(), ConfigBuilder.ConfigBuilder::completeInputCommand(), ConfigBuilder.ConfigBuilder::doNotInlineEventContent(), ConfigBuilder.ConfigBuilder.PrintAllModules::leave(), ConfigBuilder.ConfigBuilder::prepare_FASTSIM(), 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::EDProducer.
Definition at line 359 of file TrackClusterRemover.cc.
References 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::Event::getByToken(), reco::TrackBase::hitPattern(), edm::HandleBase::id(), TrackingRecHit::isValid(), tablePrinter::labels, edm::EDConsumerBase::labelsForToken(), LogDebug, Trajectory::measurements(), mergeOld_, minNumberOfLayersWithMeasBeforeFiltering_, oldPxlMaskToken_, oldRemovalInfo_, oldStrMaskToken_, overrideTrkQuals_, clustersummaryproducer_cfg::pixelClusters, pixelClusters_, pixels, pixelSourceProdID, process(), edm::EDConsumerBase::Labels::productInstance, edm::Event::put(), reco::TrackBase::quality(), edm::ProductID::reset(), rphiRecHitToken_, stereoRecHitToken_, clustersummaryproducer_cfg::stripClusters, stripClusters_, strips, stripSourceProdID, DetId::subdetId(), reco::HitPattern::trackerLayersWithMeasurement(), trackQuality_, and trajectories_.
|
private |
Definition at line 114 of file TrackClusterRemover.cc.
References edm::ParameterSet::exists(), lumiContext::fill, and edm::ParameterSet::getParameter().
Referenced by TrackClusterRemover().
|
private |
Definition at line 96 of file TrackClusterRemover.cc.
Referenced by process(), produce(), and TrackClusterRemover().
|
private |
Definition at line 102 of file TrackClusterRemover.cc.
|
private |
Definition at line 101 of file TrackClusterRemover.cc.
|
private |
Definition at line 63 of file TrackClusterRemover.cc.
Referenced by process(), produce(), and TrackClusterRemover().
|
private |
Definition at line 96 of file TrackClusterRemover.cc.
Referenced by TrackClusterRemover().
|
private |
Definition at line 63 of file TrackClusterRemover.cc.
Referenced by process(), produce(), and TrackClusterRemover().
|
private |
Definition at line 96 of file TrackClusterRemover.cc.
Referenced by produce(), and TrackClusterRemover().
|
private |
Definition at line 62 of file TrackClusterRemover.cc.
Referenced by produce(), and TrackClusterRemover().
|
private |
Definition at line 98 of file TrackClusterRemover.cc.
Referenced by produce(), and TrackClusterRemover().
|
private |
Definition at line 64 of file TrackClusterRemover.cc.
Referenced by produce(), and TrackClusterRemover().
|
private |
Definition at line 99 of file TrackClusterRemover.cc.
Referenced by produce(), and TrackClusterRemover().
|
staticprivate |
Definition at line 60 of file TrackClusterRemover.cc.
Referenced by process(), and TrackClusterRemover().
|
private |
Definition at line 71 of file TrackClusterRemover.cc.
Referenced by produce(), and TrackClusterRemover().
|
private |
Definition at line 70 of file TrackClusterRemover.cc.
Referenced by produce(), and TrackClusterRemover().
|
private |
Definition at line 72 of file TrackClusterRemover.cc.
Referenced by produce(), and TrackClusterRemover().
|
private |
Definition at line 73 of file TrackClusterRemover.cc.
Referenced by produce(), and TrackClusterRemover().
|
private |
Definition at line 77 of file TrackClusterRemover.cc.
Referenced by process(), and TrackClusterRemover().
|
private |
Definition at line 67 of file TrackClusterRemover.cc.
Referenced by produce(), and TrackClusterRemover().
|
private |
Definition at line 97 of file TrackClusterRemover.cc.
|
private |
Definition at line 81 of file TrackClusterRemover.cc.
|
private |
Definition at line 82 of file TrackClusterRemover.cc.
|
private |
Definition at line 74 of file TrackClusterRemover.cc.
Referenced by produce(), and TrackClusterRemover().
|
private |
Definition at line 74 of file TrackClusterRemover.cc.
Referenced by produce(), and TrackClusterRemover().
|
private |
Definition at line 68 of file TrackClusterRemover.cc.
Referenced by produce(), and TrackClusterRemover().
|
private |
Definition at line 97 of file TrackClusterRemover.cc.
Referenced by TrackClusterRemover().
|
private |
Definition at line 81 of file TrackClusterRemover.cc.
|
private |
Definition at line 82 of file TrackClusterRemover.cc.
|
private |
Definition at line 100 of file TrackClusterRemover.cc.
Referenced by produce(), and TrackClusterRemover().
|
private |
Definition at line 69 of file TrackClusterRemover.cc.
Referenced by produce(), and TrackClusterRemover().