#include <HitExtractorSTRP.h>
Public Types | |
typedef SiStripRecHit2D::ClusterRef | SiStripClusterRef |
Public Types inherited from ctfseeding::HitExtractor | |
typedef std::vector < TransientTrackingRecHit::ConstRecHitPointer > | Hits |
Private Types | |
typedef edm::ContainerMask < edmNew::DetSetVector < SiStripCluster > > | SkipClustersCollection |
Private Member Functions | |
bool | ringRange (int ring) const |
void | useSkipClusters_ (const edm::InputTag &m, edm::ConsumesCollector &iC) override |
Private Attributes | |
bool | failProjection |
bool | hasMatchedHits |
bool | hasRingSelector |
bool | hasRPhiHits |
bool | hasSimpleRphiHitsCleaner |
bool | hasStereoHits |
double | minAbsZ |
int | theIdLayer |
const GeomDetEnumerators::SubDetector | theLayerSubDet |
edm::EDGetTokenT < SiStripMatchedRecHit2DCollection > | theMatchedHits |
int | theMaxRing |
int | theMinRing |
edm::EDGetTokenT < SiStripRecHit2DCollection > | theRPhiHits |
SeedingLayer::Side | theSide |
edm::EDGetTokenT < SkipClustersCollection > | theSkipClusters |
const SeedingLayer * | theSLayer |
edm::EDGetTokenT < SiStripRecHit2DCollection > | theStereoHits |
Additional Inherited Members | |
Public Attributes inherited from ctfseeding::HitExtractor | |
bool | skipClusters |
Definition at line 22 of file HitExtractorSTRP.h.
typedef SiStripRecHit2D::ClusterRef ctfseeding::HitExtractorSTRP::SiStripClusterRef |
Definition at line 25 of file HitExtractorSTRP.h.
|
private |
Definition at line 58 of file HitExtractorSTRP.h.
HitExtractorSTRP::HitExtractorSTRP | ( | GeomDetEnumerators::SubDetector | subdet, |
SeedingLayer::Side & | side, | ||
int | idLayer | ||
) |
Definition at line 25 of file HitExtractorSTRP.cc.
Referenced by clone().
|
inlinevirtual |
Definition at line 28 of file HitExtractorSTRP.h.
void HitExtractorSTRP::cleanedOfClusters | ( | const TransientTrackingRecHitBuilder & | ttrhBuilder, |
const edm::Event & | ev, | ||
HitExtractor::Hits & | hits, | ||
bool | matched, | ||
unsigned int | cleanFrom = 0 |
||
) | const |
Definition at line 100 of file HitExtractorSTRP.cc.
References edm::Event::getByToken(), LogDebug, skipThis(), and theSkipClusters.
Referenced by hits().
|
inlinevirtual |
Implements ctfseeding::HitExtractor.
Definition at line 31 of file HitExtractorSTRP.h.
References HitExtractorSTRP().
|
inline |
Definition at line 54 of file HitExtractorSTRP.h.
References theMaxRing, and theMinRing.
Referenced by SeedingLayerSetsBuilder::LayerSpec::print().
|
virtual |
Implements ctfseeding::HitExtractor.
Definition at line 136 of file HitExtractorSTRP.cc.
References TransientTrackingRecHitBuilder::build(), cleanedOfClusters(), end, edm::Event::getByToken(), hasMatchedHits, hasRPhiHits, hasSimpleRphiHitsCleaner, hasStereoHits, LogDebug, minAbsZ, ctfseeding::range2SeedingHits(), query::result, relativeConstraints::ring, ringRange(), ctfseeding::HitExtractor::skipClusters, TrackerLayerIdAccessor::stripTECDisk(), TrackerLayerIdAccessor::stripTIBLayer(), TrackerLayerIdAccessor::stripTIDDisk(), TrackerLayerIdAccessor::stripTOBLayer(), GeomDetEnumerators::TEC, theIdLayer, theLayerSubDet, theMatchedHits, theRPhiHits, theSide, theStereoHits, GeomDetEnumerators::TIB, GeomDetEnumerators::TID, and GeomDetEnumerators::TOB.
void HitExtractorSTRP::project | ( | const TransientTrackingRecHitBuilder & | ttrhBuilder, |
TransientTrackingRecHit::ConstRecHitPointer & | ptr, | ||
const SiStripRecHit2D * | hit, | ||
TransientTrackingRecHit::ConstRecHitPointer & | replaceMe | ||
) | const |
Definition at line 58 of file HitExtractorSTRP.cc.
References TransientTrackingRecHitBuilder::build(), failProjection, LogDebug, trackerHitRTTI::proj, and TrackingRecHitProjector< ResultingHit >::project().
Referenced by skipThis().
|
private |
Definition at line 43 of file HitExtractorSTRP.cc.
References hasRingSelector, theMaxRing, and theMinRing.
Referenced by hits().
|
inline |
|
inline |
bool HitExtractorSTRP::skipThis | ( | const TransientTrackingRecHitBuilder & | ttrhBuilder, |
TransientTrackingRecHit::ConstRecHitPointer & | ptr, | ||
edm::Handle< edm::ContainerMask< edmNew::DetSetVector< SiStripCluster > > > & | stripClusterMask, | ||
TransientTrackingRecHit::ConstRecHitPointer & | replaceMe | ||
) | const |
Definition at line 70 of file HitExtractorSTRP.cc.
References LogDebug, m, project(), and alignCSCRings::s.
Referenced by cleanedOfClusters().
bool HitExtractorSTRP::skipThis | ( | OmniClusterRef const & | clus, |
edm::Handle< edm::ContainerMask< edmNew::DetSetVector< SiStripCluster > > > & | stripClusterMask | ||
) | const |
|
inline |
Definition at line 33 of file HitExtractorSTRP.h.
References edm::ConsumesCollector::consumes(), hasMatchedHits, m, and theMatchedHits.
void HitExtractorSTRP::useRingSelector | ( | int | minRing, |
int | maxRing | ||
) |
Definition at line 36 of file HitExtractorSTRP.cc.
References hasRingSelector, theMaxRing, and theMinRing.
Referenced by SeedingLayerSetsBuilder::LayerSpec::print().
|
inline |
|
inline |
Definition at line 34 of file HitExtractorSTRP.h.
References edm::ConsumesCollector::consumes(), hasRPhiHits, m, and theRPhiHits.
|
inline |
Definition at line 37 of file HitExtractorSTRP.h.
References hasSimpleRphiHitsCleaner.
|
overrideprivatevirtual |
Implements ctfseeding::HitExtractor.
Definition at line 32 of file HitExtractorSTRP.cc.
References edm::ConsumesCollector::consumes(), m, and theSkipClusters.
|
inline |
Definition at line 35 of file HitExtractorSTRP.h.
References edm::ConsumesCollector::consumes(), hasStereoHits, m, and theStereoHits.
|
mutableprivate |
Definition at line 76 of file HitExtractorSTRP.h.
Referenced by project(), and setNoProjection().
|
private |
Definition at line 71 of file HitExtractorSTRP.h.
Referenced by hits(), and useMatchedHits().
|
private |
Definition at line 74 of file HitExtractorSTRP.h.
Referenced by ringRange(), and useRingSelector().
|
private |
Definition at line 72 of file HitExtractorSTRP.h.
Referenced by hits(), and useRPhiHits().
|
private |
Definition at line 75 of file HitExtractorSTRP.h.
Referenced by hits(), and useSimpleRphiHitsCleaner().
|
private |
Definition at line 73 of file HitExtractorSTRP.h.
Referenced by hits(), and useStereoHits().
|
private |
Definition at line 65 of file HitExtractorSTRP.h.
Referenced by hits(), and setMinAbsZ().
|
private |
Definition at line 64 of file HitExtractorSTRP.h.
Referenced by hits().
|
private |
Definition at line 61 of file HitExtractorSTRP.h.
Referenced by hits().
|
private |
Definition at line 68 of file HitExtractorSTRP.h.
Referenced by hits(), and useMatchedHits().
|
private |
Definition at line 66 of file HitExtractorSTRP.h.
Referenced by getMinMaxRing(), ringRange(), and useRingSelector().
|
private |
Definition at line 66 of file HitExtractorSTRP.h.
Referenced by getMinMaxRing(), ringRange(), and useRingSelector().
|
private |
Definition at line 69 of file HitExtractorSTRP.h.
Referenced by hits(), and useRPhiHits().
|
private |
Definition at line 62 of file HitExtractorSTRP.h.
Referenced by hits().
|
private |
Definition at line 67 of file HitExtractorSTRP.h.
Referenced by cleanedOfClusters(), and useSkipClusters_().
|
mutableprivate |
Definition at line 63 of file HitExtractorSTRP.h.
|
private |
Definition at line 70 of file HitExtractorSTRP.h.
Referenced by hits(), and useStereoHits().