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 SiStripRecHit2D *hit2D, uint32_t subdet) |
void | process (const SiStripRecHit1D *hit1D, 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 | doPixel_ |
bool | doStrip_ |
bool | mergeOld_ |
edm::InputTag | oldRemovalInfo_ |
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 |
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) |
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 33 of file TrackClusterRemover.cc.
TrackClusterRemover::TrackClusterRemover | ( | const edm::ParameterSet & | iConfig | ) |
Definition at line 104 of file TrackClusterRemover.cc.
References doPixel_, doStrip_, edm::hlt::Exception, i, NumberOfParamBlocks, pblocks_, and readPSet().
TrackClusterRemover::~TrackClusterRemover | ( | ) |
Definition at line 144 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 159 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 221 of file TrackClusterRemover.cc.
References SiPixelRecHit::cluster(), 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::monoHit(), NumberOfParamBlocks, ProjectedSiStripRecHit2D::originalHit(), pblocks_, PixelSubdetector::PixelBarrel, PixelSubdetector::PixelEndcap, pixels, pixelSourceProdID, DetId::rawId(), SiStripMatchedRecHit2D::stereoHit(), and DetId::subdetId().
Referenced by produce().
|
inlineprivate |
Definition at line 191 of file TrackClusterRemover.cc.
References SiStripRecHit2D::cluster(), edm::Ref< C, T, F >::id(), edm::Ref< C, T, F >::key(), TrackClusterRemover::ParamBlock::maxSize_, pblocks_, strips, and stripSourceProdID.
|
inlineprivate |
Definition at line 205 of file TrackClusterRemover.cc.
References SiStripRecHit1D::cluster(), edm::Ref< C, T, F >::id(), edm::Ref< C, T, F >::key(), TrackClusterRemover::ParamBlock::maxSize_, pblocks_, strips, and stripSourceProdID.
|
virtual |
Implements edm::EDProducer.
Definition at line 284 of file TrackClusterRemover.cc.
References cleanup(), doPixel_, doStrip_, edm::InputTag::encode(), edm::hlt::Exception, edm::Event::getByLabel(), edm::HandleBase::id(), TrackingRecHit::isValid(), Trajectory::measurements(), mergeOld_, oldRemovalInfo_, pixelClusters_, pixels, pixelSourceProdID, process(), edm::Event::put(), edm::ProductID::reset(), stripClusters_, strips, stripSourceProdID, and trajectories_.
|
private |
Definition at line 86 of file TrackClusterRemover.cc.
References edm::ParameterSet::exists(), and edm::ParameterSet::getParameter().
Referenced by TrackClusterRemover().
|
private |
Definition at line 55 of file TrackClusterRemover.cc.
Referenced by process(), produce(), and TrackClusterRemover().
|
private |
Definition at line 55 of file TrackClusterRemover.cc.
Referenced by process(), produce(), and TrackClusterRemover().
|
private |
Definition at line 57 of file TrackClusterRemover.cc.
Referenced by produce().
|
staticprivate |
Definition at line 52 of file TrackClusterRemover.cc.
Referenced by process(), and TrackClusterRemover().
|
private |
Definition at line 58 of file TrackClusterRemover.cc.
Referenced by produce().
|
private |
Definition at line 60 of file TrackClusterRemover.cc.
Referenced by process(), and TrackClusterRemover().
|
private |
Definition at line 56 of file TrackClusterRemover.cc.
Referenced by produce().
|
private |
Definition at line 64 of file TrackClusterRemover.cc.
|
private |
Definition at line 65 of file TrackClusterRemover.cc.
|
private |
Definition at line 56 of file TrackClusterRemover.cc.
Referenced by produce().
|
private |
Definition at line 64 of file TrackClusterRemover.cc.
|
private |
Definition at line 65 of file TrackClusterRemover.cc.
|
private |
Definition at line 54 of file TrackClusterRemover.cc.
Referenced by produce().