#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 |
typedef edm::ContainerMask< Phase2TrackerCluster1DCollectionNew > | SkipPhase2ClustersCollection |
Private Member Functions | |
bool | ringRange (int ring) const |
void | useSkipClusters_ (const edm::InputTag &m, edm::ConsumesCollector &iC) override |
Additional Inherited Members | |
Public Attributes inherited from ctfseeding::HitExtractor | |
bool | filterCluster = false |
bool | maskCluster = false |
float | minGoodCharge = 0 |
bool | skipClusters = false |
Definition at line 26 of file HitExtractorSTRP.h.
Definition at line 28 of file HitExtractorSTRP.h.
|
private |
Definition at line 86 of file HitExtractorSTRP.h.
|
private |
Definition at line 87 of file HitExtractorSTRP.h.
HitExtractorSTRP::HitExtractorSTRP | ( | GeomDetEnumerators::SubDetector | subdet, |
TrackerDetSide | side, | ||
int | idLayer, | ||
float | iminGoodCharge, | ||
edm::ConsumesCollector & | iC | ||
) |
Definition at line 23 of file HitExtractorSTRP.cc.
References ctfseeding::HitExtractor::minGoodCharge, and ctfseeding::HitExtractor::skipClusters.
Referenced by clone().
|
inlineoverride |
Definition at line 35 of file HitExtractorSTRP.h.
void HitExtractorSTRP::cleanedOfClusters | ( | const TkTransientTrackingRecHitBuilder & | ttrhBuilder, |
const edm::Event & | ev, | ||
HitExtractor::Hits & | hits, | ||
bool | matched, | ||
unsigned int | cleanFrom = 0 |
||
) | const |
Definition at line 112 of file HitExtractorSTRP.cc.
References cms::cuda::assert(), runTheMatrix::const, relativeConstraints::empty, makeMEIFBenchmarkPlots::ev, hasMatchedHits, hasRPhiHits, hasStereoHits, hasVectorHits, hits(), sistrip::SpyUtilities::isValid(), OmniClusterRef::key(), dqmdumpme::last, LogTrace, VectorHit::lowerClusterRef(), edm::ContainerMask< T >::mask(), ctfseeding::HitExtractor::maskCluster, muonTagProbeFilters_cff::matched, AlCaHLTBitMon_ParallelJobs::p, python.rootplot.root2matplotlib::replace(), runEdmFileComparison::skipped, skipThis(), theSkipClusters, theSkipPhase2Clusters, and VectorHit::upperClusterRef().
Referenced by hits().
|
inlineoverridevirtual |
Implements ctfseeding::HitExtractor.
Definition at line 40 of file HitExtractorSTRP.h.
References HitExtractorSTRP().
|
inline |
|
overridevirtual |
Implements ctfseeding::HitExtractor.
Definition at line 181 of file HitExtractorSTRP.cc.
References cleanedOfClusters(), edmNew::DetSetVector< T >::equal_range(), makeMEIFBenchmarkPlots::ev, edm::EventSetup::getData(), hasMatchedHits, hasRPhiHits, hasSimpleRphiHitsCleaner, hasStereoHits, hasVectorHits, ALPAKA_ACCELERATOR_NAMESPACE::vertexFinder::it, LogDebug, LogTrace, minAbsZ, ctfseeding::HitExtractor::minGoodCharge, FastTimerService_cff::range, ctfseeding::range2SeedingHits(), mps_fire::result, relativeConstraints::ring, ringRange(), ctfseeding::HitExtractor::skipClusters, GeomDetEnumerators::TEC, TrackerTopology::tecDetIdWheelComparator(), TrackerTopology::tecRing(), theIdLayer, theLayerSubDet, theMatchedHits, theRPhiHits, theSide, theStereoHits, theTtopo, theVectorHits, GeomDetEnumerators::TIB, TrackerTopology::tibDetIdLayerComparator(), GeomDetEnumerators::TID, TrackerTopology::tidDetIdWheelComparator(), TrackerTopology::tidRing(), GeomDetEnumerators::TOB, TrackerTopology::tobDetIdLayerComparator(), HLT_2024v13_cff::vectorHits, and hit::z.
Referenced by cleanedOfClusters().
|
private |
Definition at line 57 of file HitExtractorSTRP.cc.
References hasRingSelector, relativeConstraints::ring, theMaxRing, and theMinRing.
Referenced by hits().
|
inline |
|
inline |
std::pair< bool, ProjectedSiStripRecHit2D * > HitExtractorSTRP::skipThis | ( | const TkTransientTrackingRecHitBuilder & | ttrhBuilder, |
TkHitRef | matched, | ||
edm::Handle< edm::ContainerMask< edmNew::DetSetVector< SiStripCluster > > > & | stripClusterMask | ||
) | const |
Definition at line 75 of file HitExtractorSTRP.cc.
References cms::cuda::assert(), TkTransientTrackingRecHitBuilder::cloner(), failProjection, TrackingRecHit::geographicalId(), LogDebug, muonTagProbeFilters_cff::matched, and DetId::rawId().
Referenced by cleanedOfClusters().
bool HitExtractorSTRP::skipThis | ( | DetId | id, |
OmniClusterRef const & | clus, | ||
edm::Handle< edm::ContainerMask< edmNew::DetSetVector< SiStripCluster > > > & | stripClusterMask | ||
) | const |
Definition at line 63 of file HitExtractorSTRP.cc.
References siStripClusterTools::chargePerCM(), OmniClusterRef::cluster_strip(), OmniClusterRef::key(), ctfseeding::HitExtractor::maskCluster, ctfseeding::HitExtractor::minGoodCharge, and UNLIKELY.
|
inline |
Definition at line 42 of file HitExtractorSTRP.h.
References edm::ConsumesCollector::consumes(), hasMatchedHits, visualization-live-secondInstance_cfg::m, and theMatchedHits.
void HitExtractorSTRP::useRingSelector | ( | int | minRing, |
int | maxRing | ||
) |
Definition at line 51 of file HitExtractorSTRP.cc.
References hasRingSelector, HLT_2024v13_cff::maxRing, HLT_2024v13_cff::minRing, theMaxRing, and theMinRing.
|
inline |
|
inline |
Definition at line 46 of file HitExtractorSTRP.h.
References edm::ConsumesCollector::consumes(), hasRPhiHits, visualization-live-secondInstance_cfg::m, and theRPhiHits.
|
inline |
Definition at line 60 of file HitExtractorSTRP.h.
References hasSimpleRphiHitsCleaner.
|
overrideprivatevirtual |
Implements ctfseeding::HitExtractor.
Definition at line 46 of file HitExtractorSTRP.cc.
References edm::ConsumesCollector::consumes(), visualization-live-secondInstance_cfg::m, theSkipClusters, and theSkipPhase2Clusters.
|
inline |
Definition at line 50 of file HitExtractorSTRP.h.
References edm::ConsumesCollector::consumes(), hasStereoHits, visualization-live-secondInstance_cfg::m, and theStereoHits.
|
inline |
Definition at line 55 of file HitExtractorSTRP.h.
References edm::ConsumesCollector::consumes(), hasVectorHits, visualization-live-secondInstance_cfg::m, and theVectorHits.
|
private |
Definition at line 109 of file HitExtractorSTRP.h.
Referenced by setNoProjection(), and skipThis().
|
private |
Definition at line 103 of file HitExtractorSTRP.h.
Referenced by cleanedOfClusters(), hits(), and useMatchedHits().
|
private |
Definition at line 107 of file HitExtractorSTRP.h.
Referenced by ringRange(), and useRingSelector().
|
private |
Definition at line 104 of file HitExtractorSTRP.h.
Referenced by cleanedOfClusters(), hits(), and useRPhiHits().
|
private |
Definition at line 108 of file HitExtractorSTRP.h.
Referenced by hits(), and useSimpleRphiHitsCleaner().
|
private |
Definition at line 105 of file HitExtractorSTRP.h.
Referenced by cleanedOfClusters(), hits(), and useStereoHits().
|
private |
Definition at line 106 of file HitExtractorSTRP.h.
Referenced by cleanedOfClusters(), hits(), and useVectorHits().
|
private |
Definition at line 94 of file HitExtractorSTRP.h.
Referenced by hits(), and setMinAbsZ().
|
private |
Definition at line 93 of file HitExtractorSTRP.h.
Referenced by hits().
|
private |
Definition at line 91 of file HitExtractorSTRP.h.
Referenced by hits().
|
private |
Definition at line 98 of file HitExtractorSTRP.h.
Referenced by hits(), and useMatchedHits().
|
private |
Definition at line 95 of file HitExtractorSTRP.h.
Referenced by getMinMaxRing(), ringRange(), and useRingSelector().
|
private |
Definition at line 95 of file HitExtractorSTRP.h.
Referenced by getMinMaxRing(), ringRange(), and useRingSelector().
|
private |
Definition at line 99 of file HitExtractorSTRP.h.
Referenced by hits(), and useRPhiHits().
|
private |
Definition at line 92 of file HitExtractorSTRP.h.
Referenced by hits().
|
private |
Definition at line 96 of file HitExtractorSTRP.h.
Referenced by cleanedOfClusters(), and useSkipClusters_().
|
private |
Definition at line 97 of file HitExtractorSTRP.h.
Referenced by cleanedOfClusters(), and useSkipClusters_().
|
private |
Definition at line 100 of file HitExtractorSTRP.h.
Referenced by hits(), and useStereoHits().
|
private |
Definition at line 102 of file HitExtractorSTRP.h.
Referenced by hits().
|
private |
Definition at line 101 of file HitExtractorSTRP.h.
Referenced by hits(), and useVectorHits().