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) |
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 |
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::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 38 of file SeedClusterRemover.cc.
|
private |
Definition at line 61 of file SeedClusterRemover.cc.
|
private |
Definition at line 62 of file SeedClusterRemover.cc.
SeedClusterRemover::SeedClusterRemover | ( | const edm::ParameterSet & | iConfig | ) |
Definition at line 122 of file SeedClusterRemover.cc.
References clusterWasteSolution_, doPixel_, doStrip_, edm::hlt::Exception, edm::ParameterSet::exists(), lumiContext::fill, filterTracks_, edm::ParameterSet::getParameter(), 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 183 of file SeedClusterRemover.cc.
|
private |
Referenced by produce().
auto_ptr<edmNew::DetSetVector<T> > SeedClusterRemover::cleanup | ( | const edmNew::DetSetVector< T > & | oldClusters, |
const std::vector< uint8_t > & | isGood, | ||
reco::ClusterRemovalInfo::Indices & | refs, | ||
const reco::ClusterRemovalInfo::Indices * | oldRefs | ||
) |
Definition at line 198 of file SeedClusterRemover.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 255 of file SeedClusterRemover.cc.
References clusterWasteSolution_, collectedPixels_, cond::rpcobgas::detid, doPixel_, doStrip_, edm::hlt::Exception, TrackingRecHit::geographicalId(), SeedClusterRemover::ParamBlock::maxSize_, NumberOfParamBlocks, 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 238 of file SeedClusterRemover.cc.
References OmniClusterRef::cluster_strip(), clusterWasteSolution_, collectedStrips_, SeedClusterRemover::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::stream::EDProducerBase.
Definition at line 324 of file SeedClusterRemover.cc.
References cleanup(), clusterWasteSolution_, collectedPixels_, collectedStrips_, prof2calltree::count, doPixel_, doStrip_, edm::hlt::Exception, lumiContext::fill, edm::Event::getByToken(), edm::HandleBase::id(), tablePrinter::labels, edm::EDConsumerBase::labelsForToken(), LogDebug, mergeOld_, oldPxlMaskToken_, oldRemovalInfo_, oldStrMaskToken_, clustersummaryproducer_cfg::pixelClusters, pixelClusters_, pixels, pixelSourceProdID, process(), edm::EDConsumerBase::Labels::productInstance, edm::Event::put(), edm::ProductID::reset(), fileCollector::seed, clustersummaryproducer_cfg::stripClusters, stripClusters_, strips, stripSourceProdID, and trajectories_.
|
private |
Definition at line 104 of file SeedClusterRemover.cc.
References edm::ParameterSet::exists(), lumiContext::fill, and edm::ParameterSet::getParameter().
Referenced by SeedClusterRemover().
|
private |
Definition at line 91 of file SeedClusterRemover.cc.
Referenced by process(), produce(), and SeedClusterRemover().
|
private |
Definition at line 95 of file SeedClusterRemover.cc.
|
private |
Definition at line 94 of file SeedClusterRemover.cc.
|
private |
Definition at line 59 of file SeedClusterRemover.cc.
Referenced by process(), produce(), and SeedClusterRemover().
|
private |
Definition at line 59 of file SeedClusterRemover.cc.
Referenced by process(), produce(), and SeedClusterRemover().
|
private |
Definition at line 92 of file SeedClusterRemover.cc.
Referenced by SeedClusterRemover().
|
private |
Definition at line 60 of file SeedClusterRemover.cc.
Referenced by produce(), and SeedClusterRemover().
|
staticprivate |
Definition at line 57 of file SeedClusterRemover.cc.
Referenced by process(), and SeedClusterRemover().
|
private |
Definition at line 66 of file SeedClusterRemover.cc.
Referenced by produce(), and SeedClusterRemover().
|
private |
Definition at line 65 of file SeedClusterRemover.cc.
Referenced by produce(), and SeedClusterRemover().
|
private |
Definition at line 67 of file SeedClusterRemover.cc.
Referenced by produce(), and SeedClusterRemover().
|
private |
Definition at line 72 of file SeedClusterRemover.cc.
Referenced by process(), and SeedClusterRemover().
|
private |
Definition at line 63 of file SeedClusterRemover.cc.
Referenced by produce(), and SeedClusterRemover().
|
private |
Definition at line 76 of file SeedClusterRemover.cc.
|
private |
Definition at line 77 of file SeedClusterRemover.cc.
|
private |
Definition at line 64 of file SeedClusterRemover.cc.
Referenced by produce(), and SeedClusterRemover().
|
private |
Definition at line 76 of file SeedClusterRemover.cc.
|
private |
Definition at line 77 of file SeedClusterRemover.cc.
|
private |
Definition at line 93 of file SeedClusterRemover.cc.
Referenced by SeedClusterRemover().
|
private |
Definition at line 68 of file SeedClusterRemover.cc.
Referenced by produce(), and SeedClusterRemover().