#include <HitExtractorSTRP.h>
Public Types | |
typedef SiStripRecHit2D::ClusterRef | SiStripClusterRef |
Public Types inherited from ctfseeding::HitExtractor | |
typedef std::vector < TransientTrackingRecHit::ConstRecHitPointer > | Hits |
Private Member Functions | |
bool | ringRange (int ring) const |
Private Attributes | |
bool | failProjection |
bool | hasMatchedHits |
bool | hasRingSelector |
bool | hasRPhiHits |
bool | hasSimpleRphiHitsCleaner |
bool | hasStereoHits |
int | theIdLayer |
const DetLayer * | theLayer |
edm::InputTag | theMatchedHits |
int | theMaxRing |
int | theMinRing |
edm::InputTag | theRPhiHits |
SeedingLayer::Side | theSide |
const SeedingLayer * | theSLayer |
edm::InputTag | theStereoHits |
Additional Inherited Members | |
Public Attributes inherited from ctfseeding::HitExtractor | |
bool | skipClusters |
edm::InputTag | theSkipClusters |
Definition at line 19 of file HitExtractorSTRP.h.
Definition at line 22 of file HitExtractorSTRP.h.
HitExtractorSTRP::HitExtractorSTRP | ( | const DetLayer * | detLayer, |
SeedingLayer::Side & | side, | ||
int | idLayer | ||
) |
Definition at line 27 of file HitExtractorSTRP.cc.
Referenced by clone().
|
inlinevirtual |
Definition at line 25 of file HitExtractorSTRP.h.
void HitExtractorSTRP::cleanedOfClusters | ( | const edm::Event & | ev, |
HitExtractor::Hits & | hits, | ||
bool | matched, | ||
unsigned int | cleanFrom = 0 |
||
) | const |
Definition at line 96 of file HitExtractorSTRP.cc.
References edm::Event::getByLabel(), LogDebug, skipThis(), and ctfseeding::HitExtractor::theSkipClusters.
Referenced by hits().
|
inlinevirtual |
Definition at line 28 of file HitExtractorSTRP.h.
References HitExtractorSTRP().
Referenced by SeedingLayerSetsBuilder::layers().
|
virtual |
Implements ctfseeding::HitExtractor.
Definition at line 127 of file HitExtractorSTRP.cc.
References TransientTrackingRecHitBuilder::build(), cleanedOfClusters(), end, edm::Event::getByLabel(), hasMatchedHits, hasRPhiHits, hasSimpleRphiHitsCleaner, hasStereoHits, ctfseeding::SeedingLayer::hitBuilder(), LogDebug, ctfseeding::range2SeedingHits(), query::result, relativeConstraints::ring, ringRange(), ctfseeding::HitExtractor::skipClusters, TrackerLayerIdAccessor::stripTECDisk(), TrackerLayerIdAccessor::stripTIBLayer(), TrackerLayerIdAccessor::stripTIDDisk(), TrackerLayerIdAccessor::stripTOBLayer(), DetLayer::subDetector(), GeomDetEnumerators::TEC, theIdLayer, theLayer, theMatchedHits, theRPhiHits, theSide, theSLayer, theStereoHits, GeomDetEnumerators::TIB, GeomDetEnumerators::TID, and GeomDetEnumerators::TOB.
void HitExtractorSTRP::project | ( | TransientTrackingRecHit::ConstRecHitPointer & | ptr, |
const SiStripRecHit2D * | hit, | ||
TransientTrackingRecHit::ConstRecHitPointer & | replaceMe | ||
) | const |
Definition at line 56 of file HitExtractorSTRP.cc.
References TransientTrackingRecHitBuilder::build(), failProjection, ctfseeding::SeedingLayer::hitBuilder(), LogDebug, trackerHitRTTI::proj, TrackingRecHitProjector< ResultingHit >::project(), and theSLayer.
Referenced by skipThis().
|
private |
Definition at line 41 of file HitExtractorSTRP.cc.
References hasRingSelector, theMaxRing, and theMinRing.
Referenced by hits().
|
inline |
Definition at line 46 of file HitExtractorSTRP.h.
References failProjection.
Referenced by SeedingLayerSetsBuilder::layers().
bool HitExtractorSTRP::skipThis | ( | TransientTrackingRecHit::ConstRecHitPointer & | ptr, |
edm::Handle< edm::ContainerMask< edmNew::DetSetVector< SiStripCluster > > > & | stripClusterMask, | ||
TransientTrackingRecHit::ConstRecHitPointer & | replaceMe | ||
) | const |
Definition at line 67 of file HitExtractorSTRP.cc.
References OmniClusterRef::key(), LogDebug, m, SiStripMatchedRecHit2D::monoClusterRef(), SiStripMatchedRecHit2D::monoHit(), project(), alignCSCRings::s, SiStripMatchedRecHit2D::stereoClusterRef(), and SiStripMatchedRecHit2D::stereoHit().
Referenced by cleanedOfClusters().
bool HitExtractorSTRP::skipThis | ( | OmniClusterRef const & | clus, |
edm::Handle< edm::ContainerMask< edmNew::DetSetVector< SiStripCluster > > > & | stripClusterMask | ||
) | const |
Definition at line 48 of file HitExtractorSTRP.cc.
References OmniClusterRef::key().
|
inline |
Definition at line 30 of file HitExtractorSTRP.h.
References hasMatchedHits, m, and theMatchedHits.
Referenced by SeedingLayerSetsBuilder::layers().
void HitExtractorSTRP::useRingSelector | ( | int | minRing, |
int | maxRing | ||
) |
Definition at line 34 of file HitExtractorSTRP.cc.
References hasRingSelector, theMaxRing, and theMinRing.
Referenced by SeedingLayerSetsBuilder::layers().
|
inline |
Definition at line 31 of file HitExtractorSTRP.h.
References hasRPhiHits, m, and theRPhiHits.
Referenced by SeedingLayerSetsBuilder::layers().
|
inline |
Definition at line 34 of file HitExtractorSTRP.h.
References hasSimpleRphiHitsCleaner.
Referenced by SeedingLayerSetsBuilder::layers().
|
inline |
Definition at line 32 of file HitExtractorSTRP.h.
References hasStereoHits, m, and theStereoHits.
Referenced by SeedingLayerSetsBuilder::layers().
|
mutableprivate |
Definition at line 59 of file HitExtractorSTRP.h.
Referenced by project(), and setNoProjection().
|
private |
Definition at line 54 of file HitExtractorSTRP.h.
Referenced by hits(), and useMatchedHits().
|
private |
Definition at line 57 of file HitExtractorSTRP.h.
Referenced by ringRange(), and useRingSelector().
|
private |
Definition at line 55 of file HitExtractorSTRP.h.
Referenced by hits(), and useRPhiHits().
|
private |
Definition at line 58 of file HitExtractorSTRP.h.
Referenced by hits(), and useSimpleRphiHitsCleaner().
|
private |
Definition at line 56 of file HitExtractorSTRP.h.
Referenced by hits(), and useStereoHits().
|
private |
Definition at line 53 of file HitExtractorSTRP.h.
Referenced by hits().
|
private |
Definition at line 50 of file HitExtractorSTRP.h.
Referenced by hits().
|
private |
Definition at line 54 of file HitExtractorSTRP.h.
Referenced by hits(), and useMatchedHits().
|
private |
Definition at line 57 of file HitExtractorSTRP.h.
Referenced by ringRange(), and useRingSelector().
|
private |
Definition at line 57 of file HitExtractorSTRP.h.
Referenced by ringRange(), and useRingSelector().
|
private |
Definition at line 55 of file HitExtractorSTRP.h.
Referenced by hits(), and useRPhiHits().
|
private |
Definition at line 51 of file HitExtractorSTRP.h.
Referenced by hits().
|
mutableprivate |
Definition at line 52 of file HitExtractorSTRP.h.
|
private |
Definition at line 56 of file HitExtractorSTRP.h.
Referenced by hits(), and useStereoHits().