#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 &, edm::ConsumesCollector) | |
Static Public Member Functions | |
static void | fillPSetDescription (edm::ParameterSetDescription &desc) |
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 | |
edm::ESGetToken< StripClusterParameterEstimator, TkStripCPERecord > | cpeToken |
bool | doMatching |
bool | maskBad128StripBlocks |
const SiStripRecHitMatcher * | matcher = nullptr |
edm::ESGetToken< SiStripRecHitMatcher, TkStripCPERecord > | matcherToken |
const StripClusterParameterEstimator * | parameterestimator = nullptr |
const SiStripQuality * | quality = nullptr |
edm::ESGetToken< SiStripQuality, SiStripQualityRcd > | qualityToken |
const TrackerGeometry * | tracker = nullptr |
edm::ESGetToken< TrackerGeometry, TrackerDigiGeometryRecord > | trackerToken |
bool | useQuality |
Definition at line 25 of file SiStripRecHitConverterAlgorithm.h.
Definition at line 69 of file SiStripRecHitConverterAlgorithm.h.
SiStripRecHitConverterAlgorithm::SiStripRecHitConverterAlgorithm | ( | const edm::ParameterSet & | conf, |
edm::ConsumesCollector | iC | ||
) |
Definition at line 16 of file SiStripRecHitConverterAlgorithm.cc.
References doMatching, edm::ConsumesCollector::esConsumes(), edm::ParameterSet::getParameter(), matcherToken, qualityToken, AlCaHarvesting_cff::SiStripQuality, and useQuality.
|
private |
Definition at line 279 of file SiStripRecHitConverterAlgorithm.cc.
References SiStripQuality::getBadApvs(), SiStripQuality::getBadFibers(), dqmiolumiharvest::j, maskBad128StripBlocks, and quality.
Referenced by run().
|
static |
Definition at line 33 of file SiStripRecHitConverterAlgorithm.cc.
References submitPVResolutionJobs::desc.
Referenced by SiStripRecHitConverter::fillDescriptions().
void SiStripRecHitConverterAlgorithm::initialize | ( | const edm::EventSetup & | es | ) |
Definition at line 42 of file SiStripRecHitConverterAlgorithm.cc.
References cpeToken, doMatching, edm::EventSetup::getData(), matcher, matcherToken, parameterestimator, quality, qualityToken, tracker, trackerToken, and useQuality.
Referenced by SiStripRecHitConverter::produce().
|
inlineprivate |
Definition at line 295 of file SiStripRecHitConverterAlgorithm.cc.
References SiStripCluster::amplitudes(), SiStripCluster::barycenter(), SiStripCluster::firstStrip(), maskBad128StripBlocks, and SiStripCluster::size().
Referenced by run().
|
private |
Definition at line 147 of file SiStripRecHitConverterAlgorithm.cc.
References edmNew::DetSet< T >::begin(), edm::OwnVector< T, P >::begin(), edm::OwnVector< T, P >::clear(), filterCSVwithJSON::copy, edmNew::DetSet< T >::detId(), SiStripRecHitMatcher::doubleMatch(), edmNew::DetSet< T >::empty(), edmNew::DetSet< T >::end(), edm::OwnVector< T, P >::end(), trigObjTnPSource_cfi::filler, TrackerGeometry::idToDet(), SiStripRecHitMatcher::match(), matcher, convertSQLitetoXML_cfg::output, StripSubdetector::partnerDetId(), edmNew::DetSetVector< T >::FastFiller::push_back(), edmNew::DetSet< T >::size(), edm::OwnVector< T, P >::size(), and tracker.
Referenced by run().
void SiStripRecHitConverterAlgorithm::run | ( | edm::Handle< edmNew::DetSetVector< SiStripCluster > > | input, |
products & | output | ||
) |
Definition at line 53 of file SiStripRecHitConverterAlgorithm.cc.
References input, and convertSQLitetoXML_cfg::output.
Referenced by 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(), doMatching, edmNew::DetSetVector< T >::FastFiller::empty(), fillBad128StripBlocks(), TrackerGeometry::idToDetUnit(), isMasked(), StripClusterParameterEstimator::localParameters(), match(), convertSQLitetoXML_cfg::output, parameterestimator, edmNew::DetSetVector< T >::FastFiller::push_back(), StripSubdetector::stereo(), tracker, and useModule().
|
inlineprivate |
Definition at line 312 of file SiStripRecHitConverterAlgorithm.cc.
References TrackerGeometry::idToDetUnit(), SiStripQuality::IsModuleUsable(), quality, tracker, and useQuality.
Referenced by run().
|
private |
Definition at line 61 of file SiStripRecHitConverterAlgorithm.h.
Referenced by initialize().
|
private |
Definition at line 59 of file SiStripRecHitConverterAlgorithm.h.
Referenced by initialize(), run(), and SiStripRecHitConverterAlgorithm().
|
private |
Definition at line 59 of file SiStripRecHitConverterAlgorithm.h.
Referenced by fillBad128StripBlocks(), and isMasked().
|
private |
Definition at line 66 of file SiStripRecHitConverterAlgorithm.h.
Referenced by initialize(), and match().
|
private |
Definition at line 62 of file SiStripRecHitConverterAlgorithm.h.
Referenced by initialize(), and SiStripRecHitConverterAlgorithm().
|
private |
Definition at line 65 of file SiStripRecHitConverterAlgorithm.h.
Referenced by initialize(), and run().
|
private |
Definition at line 67 of file SiStripRecHitConverterAlgorithm.h.
Referenced by fillBad128StripBlocks(), initialize(), and useModule().
|
private |
Definition at line 63 of file SiStripRecHitConverterAlgorithm.h.
Referenced by initialize(), and SiStripRecHitConverterAlgorithm().
|
private |
Definition at line 64 of file SiStripRecHitConverterAlgorithm.h.
Referenced by initialize(), match(), run(), and useModule().
|
private |
Definition at line 60 of file SiStripRecHitConverterAlgorithm.h.
Referenced by initialize().
|
private |
Definition at line 59 of file SiStripRecHitConverterAlgorithm.h.
Referenced by initialize(), SiStripRecHitConverterAlgorithm(), and useModule().