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) |
HLTTrackClusterRemover (const edm::ParameterSet &iConfig) | |
void | produce (edm::Event &iEvent, const edm::EventSetup &iSetup) |
~HLTTrackClusterRemover () | |
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 | |
std::map< uint32_t, std::set < SiPixelRecHit::ClusterRef > > | collectedPixel |
std::map< uint32_t, std::set < SiStripRecHit1D::ClusterRegionalRef > > | collectedRegStrip |
bool | doPixel_ |
bool | doStrip_ |
bool | makeProducts_ |
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 HLTTrackClusterRemover.cc.
HLTTrackClusterRemover::HLTTrackClusterRemover | ( | const edm::ParameterSet & | iConfig | ) |
Definition at line 108 of file HLTTrackClusterRemover.cc.
References doPixel_, doStrip_, edm::hlt::Exception, edm::ParameterSet::exists(), edm::ParameterSet::getParameter(), i, mergeOld_, NumberOfParamBlocks, oldRemovalInfo_, pblocks_, and readPSet().
HLTTrackClusterRemover::~HLTTrackClusterRemover | ( | ) |
Definition at line 156 of file HLTTrackClusterRemover.cc.
|
private |
auto_ptr<edmNew::DetSetVector<T> > HLTTrackClusterRemover::cleanup | ( | const edmNew::DetSetVector< T > & | oldClusters, |
const std::vector< uint8_t > & | isGood, | ||
reco::ClusterRemovalInfo::Indices & | refs, | ||
const reco::ClusterRemovalInfo::Indices * | oldRefs | ||
) |
Definition at line 171 of file HLTTrackClusterRemover.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 230 of file HLTTrackClusterRemover.cc.
References SiPixelRecHit::cluster(), collectedPixel, cond::rpcobgas::detid, doPixel_, doStrip_, edm::hlt::Exception, TrackingRecHit::geographicalId(), edm::Ref< C, T, F >::id(), HLTTrackClusterRemover::ParamBlock::maxSize_, SiStripMatchedRecHit2D::monoHit(), NumberOfParamBlocks, ProjectedSiStripRecHit2D::originalHit(), pblocks_, PixelSubdetector::PixelBarrel, PixelSubdetector::PixelEndcap, pixelSourceProdID, DetId::rawId(), SiStripMatchedRecHit2D::stereoHit(), and DetId::subdetId().
Referenced by produce().
|
inlineprivate |
Definition at line 212 of file HLTTrackClusterRemover.cc.
References SiStripRecHit2D::cluster_regional(), collectedRegStrip, TrackingRecHit::geographicalId(), edm::Ref< C, T, F >::id(), and stripSourceProdID.
|
inlineprivate |
Definition at line 220 of file HLTTrackClusterRemover.cc.
References SiStripRecHit1D::cluster_regional(), collectedRegStrip, TrackingRecHit::geographicalId(), edm::Ref< C, T, F >::id(), and stripSourceProdID.
|
virtual |
Implements edm::EDProducer.
Definition at line 296 of file HLTTrackClusterRemover.cc.
References edmNew::DetSetVector< T >::FastFiller::abort(), collectedPixel, collectedRegStrip, doPixel_, doStrip_, edmNew::DetSetVector< T >::FastFiller::empty(), edm::Event::getByLabel(), edm::HandleBase::id(), TrackingRecHit::isValid(), LogDebug, python.multivaluedict::map(), Trajectory::measurements(), mergeOld_, oldRemovalInfo_, pixelClusters_, pixelSourceProdID, process(), edmNew::DetSetVector< T >::FastFiller::push_back(), edm::Event::put(), stripClusters_, stripSourceProdID, and trajectories_.
|
private |
Definition at line 90 of file HLTTrackClusterRemover.cc.
References edm::ParameterSet::exists(), and edm::ParameterSet::getParameter().
Referenced by HLTTrackClusterRemover().
|
private |
Definition at line 81 of file HLTTrackClusterRemover.cc.
|
private |
Definition at line 80 of file HLTTrackClusterRemover.cc.
|
private |
Definition at line 55 of file HLTTrackClusterRemover.cc.
Referenced by HLTTrackClusterRemover(), process(), and produce().
|
private |
Definition at line 55 of file HLTTrackClusterRemover.cc.
Referenced by HLTTrackClusterRemover(), process(), and produce().
|
private |
Definition at line 79 of file HLTTrackClusterRemover.cc.
|
private |
Definition at line 57 of file HLTTrackClusterRemover.cc.
Referenced by HLTTrackClusterRemover(), and produce().
|
staticprivate |
Definition at line 52 of file HLTTrackClusterRemover.cc.
Referenced by HLTTrackClusterRemover(), and process().
|
private |
Definition at line 58 of file HLTTrackClusterRemover.cc.
Referenced by HLTTrackClusterRemover(), and produce().
|
private |
Definition at line 60 of file HLTTrackClusterRemover.cc.
Referenced by HLTTrackClusterRemover(), and process().
|
private |
Definition at line 56 of file HLTTrackClusterRemover.cc.
Referenced by produce().
|
private |
Definition at line 64 of file HLTTrackClusterRemover.cc.
|
private |
Definition at line 65 of file HLTTrackClusterRemover.cc.
|
private |
Definition at line 56 of file HLTTrackClusterRemover.cc.
Referenced by produce().
|
private |
Definition at line 64 of file HLTTrackClusterRemover.cc.
|
private |
Definition at line 65 of file HLTTrackClusterRemover.cc.
|
private |
Definition at line 54 of file HLTTrackClusterRemover.cc.
Referenced by produce().