#include <HitExtractorSTRP.h>
Public Types | |
typedef SiStripRecHit2D::ClusterRef | SiStripClusterRef |
Public Types inherited from ctfseeding::HitExtractor | |
using | HitPointer = mayown_ptr< BaseTrackerRecHit > |
using | Hits = std::vector< HitPointer > |
using | TkHit = BaseTrackerRecHit |
using | TkHitRef = BaseTrackerRecHit const & |
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 | filterCluster =false |
bool | maskCluster =false |
float | minGoodCharge =0 |
bool | skipClusters =false |
Definition at line 22 of file HitExtractorSTRP.h.
Definition at line 25 of file HitExtractorSTRP.h.
|
private |
Definition at line 55 of file HitExtractorSTRP.h.
HitExtractorSTRP::HitExtractorSTRP | ( | GeomDetEnumerators::SubDetector | subdet, |
SeedingLayer::Side & | side, | ||
int | idLayer, | ||
float | iminGoodCharge | ||
) |
Definition at line 29 of file HitExtractorSTRP.cc.
References ctfseeding::HitExtractor::minGoodCharge, and ctfseeding::HitExtractor::skipClusters.
|
inlinevirtual |
void HitExtractorSTRP::cleanedOfClusters | ( | const TkTransientTrackingRecHitBuilder & | ttrhBuilder, |
const edm::Event & | ev, | ||
HitExtractor::Hits & | hits, | ||
bool | matched, | ||
unsigned int | cleanFrom = 0 |
||
) | const |
Definition at line 100 of file HitExtractorSTRP.cc.
References relativeConstraints::empty, edm::Event::getByToken(), plotBeamSpotDB::last, LogDebug, ctfseeding::HitExtractor::maskCluster, AlCaHLTBitMon_ParallelJobs::p, python.rootplot.root2matplotlib::replace(), runEdmFileComparison::skipped, skipThis(), and theSkipClusters.
Referenced by hits().
|
inlineoverridevirtual |
Implements ctfseeding::HitExtractor.
Definition at line 31 of file HitExtractorSTRP.h.
|
inline |
Definition at line 51 of file HitExtractorSTRP.h.
References relativeConstraints::ring.
Referenced by SeedingLayerSetsBuilder::LayerSpec::print().
|
overridevirtual |
Implements ctfseeding::HitExtractor.
Definition at line 138 of file HitExtractorSTRP.cc.
References cleanedOfClusters(), end, edmNew::DetSetVector< T >::equal_range(), edm::EventSetup::get(), edm::Event::getByToken(), hasMatchedHits, hasRPhiHits, hasSimpleRphiHitsCleaner, hasStereoHits, LogDebug, minAbsZ, edm::ESHandle< T >::product(), ctfseeding::range2SeedingHits(), mps_fire::result, relativeConstraints::ring, ringRange(), ctfseeding::HitExtractor::skipClusters, GeomDetEnumerators::TEC, TrackerTopology::tecDetIdWheelComparator(), TrackerTopology::tecRing(), theIdLayer, theLayerSubDet, theMatchedHits, theRPhiHits, theSide, theStereoHits, GeomDetEnumerators::TIB, TrackerTopology::tibDetIdLayerComparator(), GeomDetEnumerators::TID, TrackerTopology::tidDetIdWheelComparator(), TrackerTopology::tidRing(), GeomDetEnumerators::TOB, TrackerTopology::tobDetIdLayerComparator(), and hit::z.
Referenced by ntupleDataFormat._TrackingParticleMatchAdaptor::bestMatchingTrackingParticle().
|
private |
Definition at line 47 of file HitExtractorSTRP.cc.
References hasRingSelector, theMaxRing, and theMinRing.
Referenced by hits().
|
inline |
Definition at line 48 of file HitExtractorSTRP.h.
|
inline |
Definition at line 47 of file HitExtractorSTRP.h.
std::pair< bool, ProjectedSiStripRecHit2D * > HitExtractorSTRP::skipThis | ( | const TkTransientTrackingRecHitBuilder & | ttrhBuilder, |
TkHitRef | matched, | ||
edm::Handle< edm::ContainerMask< edmNew::DetSetVector< SiStripCluster > > > & | stripClusterMask | ||
) | const |
Definition at line 65 of file HitExtractorSTRP.cc.
References TkTransientTrackingRecHitBuilder::cloner(), failProjection, TrackingRecHit::geographicalId(), OmniClusterRef::key(), LogDebug, SiStripMatchedRecHit2D::monoClusterRef(), DetId::rawId(), and SiStripMatchedRecHit2D::stereoClusterRef().
Referenced by cleanedOfClusters().
bool HitExtractorSTRP::skipThis | ( | DetId | id, |
OmniClusterRef const & | clus, | ||
edm::Handle< edm::ContainerMask< edmNew::DetSetVector< SiStripCluster > > > & | stripClusterMask | ||
) | const |
Definition at line 53 of file HitExtractorSTRP.cc.
References siStripClusterTools::chargePerCM(), OmniClusterRef::cluster_strip(), OmniClusterRef::key(), ctfseeding::HitExtractor::maskCluster, ctfseeding::HitExtractor::minGoodCharge, and unlikely.
|
inline |
Definition at line 33 of file HitExtractorSTRP.h.
References edm::ConsumesCollector::consumes(), and funct::m.
void HitExtractorSTRP::useRingSelector | ( | int | minRing, |
int | maxRing | ||
) |
Definition at line 40 of file HitExtractorSTRP.cc.
References hasRingSelector, hiMixedTripletStep_cff::maxRing, hiMixedTripletStep_cff::minRing, theMaxRing, and theMinRing.
Referenced by SeedingLayerSetsBuilder::LayerSpec::print().
|
inline |
Definition at line 50 of file HitExtractorSTRP.h.
|
inline |
Definition at line 34 of file HitExtractorSTRP.h.
References edm::ConsumesCollector::consumes(), and funct::m.
|
inline |
Definition at line 37 of file HitExtractorSTRP.h.
References ev, electronMatch_cfi::matched, and edmScanValgrind::skipThis.
|
overrideprivatevirtual |
Implements ctfseeding::HitExtractor.
Definition at line 36 of file HitExtractorSTRP.cc.
References edm::ConsumesCollector::consumes(), funct::m, and theSkipClusters.
|
inline |
Definition at line 35 of file HitExtractorSTRP.h.
References edm::ConsumesCollector::consumes(), funct::m, hiMixedTripletStep_cff::maxRing, and hiMixedTripletStep_cff::minRing.
|
mutableprivate |
Definition at line 73 of file HitExtractorSTRP.h.
Referenced by skipThis().
|
private |
Definition at line 68 of file HitExtractorSTRP.h.
Referenced by hits().
|
private |
Definition at line 71 of file HitExtractorSTRP.h.
Referenced by ringRange(), and useRingSelector().
|
private |
Definition at line 69 of file HitExtractorSTRP.h.
Referenced by hits().
|
private |
Definition at line 72 of file HitExtractorSTRP.h.
Referenced by hits().
|
private |
Definition at line 70 of file HitExtractorSTRP.h.
Referenced by hits().
|
private |
Definition at line 62 of file HitExtractorSTRP.h.
Referenced by hits().
|
private |
Definition at line 61 of file HitExtractorSTRP.h.
Referenced by hits().
|
private |
Definition at line 58 of file HitExtractorSTRP.h.
Referenced by hits().
|
private |
Definition at line 65 of file HitExtractorSTRP.h.
Referenced by hits().
|
private |
Definition at line 63 of file HitExtractorSTRP.h.
Referenced by ringRange(), and useRingSelector().
|
private |
Definition at line 63 of file HitExtractorSTRP.h.
Referenced by ringRange(), and useRingSelector().
|
private |
Definition at line 66 of file HitExtractorSTRP.h.
Referenced by hits().
|
private |
Definition at line 59 of file HitExtractorSTRP.h.
Referenced by hits().
|
private |
Definition at line 64 of file HitExtractorSTRP.h.
Referenced by cleanedOfClusters(), and useSkipClusters_().
|
mutableprivate |
Definition at line 60 of file HitExtractorSTRP.h.
|
private |
Definition at line 67 of file HitExtractorSTRP.h.
Referenced by hits().