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) |
TrackClusterRemover (const edm::ParameterSet &iConfig) | |
~TrackClusterRemover () | |
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_ |
int | minNumberOfLayersWithMeasBeforeFiltering_ |
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 35 of file TrackClusterRemover.cc.
TrackClusterRemover::TrackClusterRemover | ( | const edm::ParameterSet & | iConfig | ) |
Definition at line 114 of file TrackClusterRemover.cc.
References clusterWasteSolution_, doPixel_, doStrip_, edm::hlt::Exception, edm::ParameterSet::exists(), edm::ParameterSet::existsAs(), lumiContext::fill, filterTracks_, edm::ParameterSet::getParameter(), i, minNumberOfLayersWithMeasBeforeFiltering_, NumberOfParamBlocks, overrideTrkQuals_, pblocks_, reco::TrackBase::qualityByName(), readPSet(), trackQuality_, and reco::TrackBase::undefQuality.
TrackClusterRemover::~TrackClusterRemover | ( | ) |
Definition at line 173 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 188 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 245 of file TrackClusterRemover.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(), TrackClusterRemover::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 TrackClusterRemover.cc.
References OmniClusterRef::cluster_strip(), clusterWasteSolution_, collectedStrips_, edm::Ref< C, T, F >::id(), edm::Ref< C, T, F >::key(), TrackClusterRemover::ParamBlock::maxSize_, pblocks_, strips, and stripSourceProdID.
Referenced by ConfigBuilder.ConfigBuilder.PrintAllModules::leave().
|
virtual |
Implements edm::EDProducer.
Definition at line 314 of file TrackClusterRemover.cc.
References cleanup(), clusterWasteSolution_, collectedPixels_, collectedStrips_, prof2calltree::count, doPixel_, doStrip_, edm::InputTag::encode(), edm::hlt::Exception, lumiContext::fill, filterTracks_, edm::Event::getByLabel(), reco::TrackBase::hitPattern(), edm::HandleBase::id(), TrackingRecHit::isValid(), edm::helpers::KeyVal< K, V >::key, LogDebug, Trajectory::measurements(), mergeOld_, minNumberOfLayersWithMeasBeforeFiltering_, oldRemovalInfo_, overrideTrkQuals_, clustersummaryproducer_cfg::pixelClusters, pixelClusters_, pixels, pixelSourceProdID, process(), edm::Event::put(), reco::TrackBase::quality(), edm::ProductID::reset(), clustersummaryproducer_cfg::stripClusters, stripClusters_, strips, stripSourceProdID, reco::HitPattern::trackerLayersWithMeasurement(), trackQuality_, trajectories_, and edm::helpers::KeyVal< K, V >::val.
|
private |
Definition at line 96 of file TrackClusterRemover.cc.
References edm::ParameterSet::exists(), lumiContext::fill, and edm::ParameterSet::getParameter().
Referenced by TrackClusterRemover().
|
private |
Definition at line 82 of file TrackClusterRemover.cc.
Referenced by process(), produce(), and TrackClusterRemover().
|
private |
Definition at line 87 of file TrackClusterRemover.cc.
|
private |
Definition at line 86 of file TrackClusterRemover.cc.
|
private |
Definition at line 58 of file TrackClusterRemover.cc.
Referenced by process(), produce(), and TrackClusterRemover().
|
private |
Definition at line 58 of file TrackClusterRemover.cc.
Referenced by process(), produce(), and TrackClusterRemover().
|
private |
Definition at line 83 of file TrackClusterRemover.cc.
Referenced by produce(), and TrackClusterRemover().
|
private |
Definition at line 60 of file TrackClusterRemover.cc.
Referenced by produce().
|
private |
Definition at line 84 of file TrackClusterRemover.cc.
Referenced by produce(), and TrackClusterRemover().
|
staticprivate |
Definition at line 54 of file TrackClusterRemover.cc.
Referenced by process(), and TrackClusterRemover().
|
private |
Definition at line 61 of file TrackClusterRemover.cc.
Referenced by produce().
|
private |
Definition at line 57 of file TrackClusterRemover.cc.
Referenced by produce(), and TrackClusterRemover().
|
private |
Definition at line 63 of file TrackClusterRemover.cc.
Referenced by process(), and TrackClusterRemover().
|
private |
Definition at line 59 of file TrackClusterRemover.cc.
Referenced by produce().
|
private |
Definition at line 67 of file TrackClusterRemover.cc.
|
private |
Definition at line 68 of file TrackClusterRemover.cc.
|
private |
Definition at line 59 of file TrackClusterRemover.cc.
Referenced by produce().
|
private |
Definition at line 67 of file TrackClusterRemover.cc.
|
private |
Definition at line 68 of file TrackClusterRemover.cc.
|
private |
Definition at line 85 of file TrackClusterRemover.cc.
Referenced by produce(), and TrackClusterRemover().
|
private |
Definition at line 56 of file TrackClusterRemover.cc.
Referenced by produce().