#include <SiStripRecHitConverterAlgorithm.h>
Classes | |
struct | products |
Public Member Functions | |
void | initialize (const edm::EventSetup &) |
void | run (edm::Handle< edmNew::DetSetVector< SiStripCluster > > input, products &output) |
void | run (edm::Handle< edmNew::DetSetVector< SiStripCluster > > input, products &output, LocalVector trackdirection) |
SiStripRecHitConverterAlgorithm (const edm::ParameterSet &) | |
Private Types | |
typedef SiStripRecHit2DCollection::FastFiller | Collector |
Private Member Functions | |
void | fillBad128StripBlocks (const uint32_t detid, bool bad128StripBlocks[6]) const |
bool | isMasked (const SiStripCluster &cluster, bool bad128StripBlocks[6]) const |
void | match (products &output, LocalVector trackdirection) const |
bool | useModule (const uint32_t id) const |
Private Attributes | |
uint32_t | cpe_cache_id |
edm::ESInputTag | cpeTag |
bool | maskBad128StripBlocks |
edm::ESHandle< SiStripRecHitMatcher > | matcher |
edm::ESInputTag | matcherTag |
edm::ESHandle< StripClusterParameterEstimator > | parameterestimator |
edm::ESHandle< SiStripQuality > | quality |
uint32_t | quality_cache_id |
edm::ESInputTag | qualityTag |
edm::ESHandle< TrackerGeometry > | tracker |
uint32_t | tracker_cache_id |
bool | useQuality |
Definition at line 20 of file SiStripRecHitConverterAlgorithm.h.
Definition at line 62 of file SiStripRecHitConverterAlgorithm.h.
SiStripRecHitConverterAlgorithm::SiStripRecHitConverterAlgorithm | ( | const edm::ParameterSet & | conf | ) |
Definition at line 17 of file SiStripRecHitConverterAlgorithm.cc.
References initialize().
|
private |
Definition at line 290 of file SiStripRecHitConverterAlgorithm.cc.
References SiStripQuality::getBadApvs(), SiStripQuality::getBadFibers(), isMasked(), maskBad128StripBlocks, and quality.
Referenced by match(), and run().
void SiStripRecHitConverterAlgorithm::initialize | ( | const edm::EventSetup & | es | ) |
Definition at line 29 of file SiStripRecHitConverterAlgorithm.cc.
References cpe_cache_id, cpeTag, edm::EventSetup::get(), matcher, matcherTag, parameterestimator, quality, quality_cache_id, qualityTag, run(), tracker, tracker_cache_id, and useQuality.
Referenced by SiStripRecHitConverter::produce(), and SiStripRecHitConverterAlgorithm().
|
inlineprivate |
Definition at line 309 of file SiStripRecHitConverterAlgorithm.cc.
References SiStripCluster::amplitudes(), SiStripCluster::barycenter(), SiStripCluster::firstStrip(), maskBad128StripBlocks, and useModule().
Referenced by fillBad128StripBlocks(), and run().
|
private |
Definition at line 155 of file SiStripRecHitConverterAlgorithm.cc.
References edmNew::DetSet< T >::begin(), edm::OwnVector< T, P >::begin(), edm::OwnVector< T, P >::clear(), popcon2dropbox::copy(), edmNew::DetSet< T >::detId(), SiStripRecHitMatcher::doubleMatch(), edmNew::DetSet< T >::empty(), edmNew::DetSet< T >::end(), edm::OwnVector< T, P >::end(), fillBad128StripBlocks(), objects.autophobj::filler, TrackerGeometry::idToDet(), SiStripRecHitMatcher::match(), SiStripRecHitConverterAlgorithm::products::matched, matcher, StripSubdetector::partnerDetId(), edmNew::DetSetVector< T >::FastFiller::push_back(), SiStripRecHitConverterAlgorithm::products::rphi, SiStripRecHitConverterAlgorithm::products::rphiUnmatched, edmNew::DetSet< T >::size(), edm::OwnVector< T, P >::size(), SiStripRecHitConverterAlgorithm::products::stereo, SiStripRecHitConverterAlgorithm::products::stereoUnmatched, and tracker.
Referenced by run().
void SiStripRecHitConverterAlgorithm::run | ( | edm::Handle< edmNew::DetSetVector< SiStripCluster > > | input, |
products & | output | ||
) |
Definition at line 51 of file SiStripRecHitConverterAlgorithm.cc.
References input.
Referenced by initialize(), and SiStripRecHitConverter::produce().
void SiStripRecHitConverterAlgorithm::run | ( | edm::Handle< edmNew::DetSetVector< SiStripCluster > > | input, |
products & | output, | ||
LocalVector | trackdirection | ||
) |
Definition at line 57 of file SiStripRecHitConverterAlgorithm.cc.
References edmNew::DetSetVector< T >::FastFiller::abort(), edmNew::DetSetVector< T >::FastFiller::empty(), fillBad128StripBlocks(), h, TrackerGeometry::idToDetUnit(), isMasked(), StripClusterParameterEstimator::localParameters(), match(), parameterestimator, metProducer_cfi::parameters, edmNew::DetSetVector< T >::FastFiller::push_back(), SiStripRecHitConverterAlgorithm::products::rphi, edmNew::DetSetVector< T >::FastFiller::size(), SiStripRecHitConverterAlgorithm::products::stereo, StripSubdetector::stereo(), tracker, and useModule().
|
inlineprivate |
Definition at line 329 of file SiStripRecHitConverterAlgorithm.cc.
References TrackerGeometry::idToDetUnit(), SiStripQuality::IsModuleUsable(), quality, tracker, and useQuality.
Referenced by isMasked(), and run().
|
private |
Definition at line 55 of file SiStripRecHitConverterAlgorithm.h.
Referenced by initialize().
|
private |
Definition at line 56 of file SiStripRecHitConverterAlgorithm.h.
Referenced by initialize().
|
private |
Definition at line 54 of file SiStripRecHitConverterAlgorithm.h.
Referenced by fillBad128StripBlocks(), and isMasked().
|
private |
Definition at line 59 of file SiStripRecHitConverterAlgorithm.h.
Referenced by initialize(), and match().
|
private |
Definition at line 56 of file SiStripRecHitConverterAlgorithm.h.
Referenced by initialize().
|
private |
Definition at line 58 of file SiStripRecHitConverterAlgorithm.h.
Referenced by initialize(), and run().
|
private |
Definition at line 60 of file SiStripRecHitConverterAlgorithm.h.
Referenced by fillBad128StripBlocks(), initialize(), and useModule().
|
private |
Definition at line 55 of file SiStripRecHitConverterAlgorithm.h.
Referenced by initialize().
|
private |
Definition at line 56 of file SiStripRecHitConverterAlgorithm.h.
Referenced by initialize().
|
private |
Definition at line 57 of file SiStripRecHitConverterAlgorithm.h.
Referenced by initialize(), match(), run(), and useModule().
|
private |
Definition at line 55 of file SiStripRecHitConverterAlgorithm.h.
Referenced by initialize().
|
private |
Definition at line 54 of file SiStripRecHitConverterAlgorithm.h.
Referenced by initialize(), and useModule().