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) |
void | produce (edm::Event &iEvent, const edm::EventSetup &iSetup) |
SeedClusterRemover (const edm::ParameterSet &iConfig) | |
~SeedClusterRemover () | |
Public Member Functions inherited from edm::EDProducer | |
EDProducer () | |
virtual | ~EDProducer () |
Public Member Functions inherited from edm::ProducerBase | |
ProducerBase () | |
void | registerProducts (ProducerBase *, ProductRegistry *, ModuleDescription const &) |
boost::function< void(const BranchDescription &)> | registrationCallback () const |
used by the fwk to register list of products More... | |
virtual | ~ProducerBase () |
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::InputTag | oldRemovalInfo_ |
std::vector< edm::InputTag > | overrideTrkQuals_ |
ParamBlock | pblocks_ [NumberOfParamBlocks] |
edm::InputTag | pixelClusters_ |
std::vector< uint8_t > | pixels |
edm::ProductID | pixelSourceProdID |
edm::InputTag | stripClusters_ |
std::vector< uint8_t > | strips |
edm::ProductID | stripSourceProdID |
reco::TrackBase::TrackQuality | trackQuality_ |
edm::InputTag | trajectories_ |
Static Private Attributes | |
static const unsigned int | NumberOfParamBlocks = 6 |
Additional Inherited Members | |
Public Types inherited from edm::EDProducer | |
typedef EDProducer | ModuleType |
typedef WorkerT< EDProducer > | WorkerType |
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::EDProducer | |
CurrentProcessingContext const * | currentContext () const |
Protected Member Functions inherited from edm::ProducerBase | |
template<class TProducer , class TMethod > | |
void | callWhenNewProductsRegistered (TProducer *iProd, TMethod iMethod) |
Definition at line 38 of file SeedClusterRemover.cc.
SeedClusterRemover::SeedClusterRemover | ( | const edm::ParameterSet & | iConfig | ) |
Definition at line 116 of file SeedClusterRemover.cc.
References clusterWasteSolution_, doPixel_, doStrip_, edm::hlt::Exception, edm::ParameterSet::exists(), lumiContext::fill, filterTracks_, edm::ParameterSet::getParameter(), i, NumberOfParamBlocks, overrideTrkQuals_, pblocks_, reco::TrackBase::qualityByName(), readPSet(), trackQuality_, and reco::TrackBase::undefQuality.
SeedClusterRemover::~SeedClusterRemover | ( | ) |
Definition at line 173 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 188 of file SeedClusterRemover.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 245 of file SeedClusterRemover.cc.
References SiPixelRecHit::cluster(), clusterWasteSolution_, collectedPixels_, cond::rpcobgas::detid, doPixel_, doStrip_, edm::hlt::Exception, TrackingRecHit::geographicalId(), edm::Ref< C, T, F >::id(), edm::Ref< C, T, F >::key(), SeedClusterRemover::ParamBlock::maxSize_, SiStripMatchedRecHit2D::monoClusterRef(), NumberOfParamBlocks, TrackerSingleRecHit::omniClusterRef(), ProjectedSiStripRecHit2D::originalHit(), pblocks_, PixelSubdetector::PixelBarrel, PixelSubdetector::PixelEndcap, pixels, pixelSourceProdID, DetId::rawId(), SiStripMatchedRecHit2D::stereoClusterRef(), and DetId::subdetId().
Referenced by ConfigBuilder.ConfigBuilder.PrintAllModules::leave(), and produce().
|
inlineprivate |
Definition at line 228 of file SeedClusterRemover.cc.
References OmniClusterRef::cluster_strip(), clusterWasteSolution_, collectedStrips_, edm::Ref< C, T, F >::id(), edm::Ref< C, T, F >::key(), SeedClusterRemover::ParamBlock::maxSize_, pblocks_, strips, and stripSourceProdID.
Referenced by ConfigBuilder.ConfigBuilder.PrintAllModules::leave().
|
virtual |
Implements edm::EDProducer.
Definition at line 314 of file SeedClusterRemover.cc.
References cleanup(), clusterWasteSolution_, collectedPixels_, collectedStrips_, prof2calltree::count, doPixel_, doStrip_, edm::InputTag::encode(), edm::hlt::Exception, lumiContext::fill, edm::Event::getByLabel(), edm::HandleBase::id(), LogDebug, mergeOld_, oldRemovalInfo_, clustersummaryproducer_cfg::pixelClusters, pixelClusters_, pixels, pixelSourceProdID, process(), edm::Event::put(), edm::ProductID::reset(), clustersummaryproducer_cfg::stripClusters, stripClusters_, strips, stripSourceProdID, and trajectories_.
|
private |
Definition at line 98 of file SeedClusterRemover.cc.
References edm::ParameterSet::exists(), lumiContext::fill, and edm::ParameterSet::getParameter().
Referenced by SeedClusterRemover().
|
private |
Definition at line 85 of file SeedClusterRemover.cc.
Referenced by process(), produce(), and SeedClusterRemover().
|
private |
Definition at line 89 of file SeedClusterRemover.cc.
|
private |
Definition at line 88 of file SeedClusterRemover.cc.
|
private |
Definition at line 61 of file SeedClusterRemover.cc.
Referenced by process(), produce(), and SeedClusterRemover().
|
private |
Definition at line 61 of file SeedClusterRemover.cc.
Referenced by process(), produce(), and SeedClusterRemover().
|
private |
Definition at line 86 of file SeedClusterRemover.cc.
Referenced by SeedClusterRemover().
|
private |
Definition at line 63 of file SeedClusterRemover.cc.
Referenced by produce().
|
staticprivate |
Definition at line 57 of file SeedClusterRemover.cc.
Referenced by process(), and SeedClusterRemover().
|
private |
Definition at line 64 of file SeedClusterRemover.cc.
Referenced by produce().
|
private |
Definition at line 60 of file SeedClusterRemover.cc.
Referenced by SeedClusterRemover().
|
private |
Definition at line 66 of file SeedClusterRemover.cc.
Referenced by process(), and SeedClusterRemover().
|
private |
Definition at line 62 of file SeedClusterRemover.cc.
Referenced by produce().
|
private |
Definition at line 70 of file SeedClusterRemover.cc.
|
private |
Definition at line 71 of file SeedClusterRemover.cc.
|
private |
Definition at line 62 of file SeedClusterRemover.cc.
Referenced by produce().
|
private |
Definition at line 70 of file SeedClusterRemover.cc.
|
private |
Definition at line 71 of file SeedClusterRemover.cc.
|
private |
Definition at line 87 of file SeedClusterRemover.cc.
Referenced by SeedClusterRemover().
|
private |
Definition at line 59 of file SeedClusterRemover.cc.
Referenced by produce().