Public Member Functions | |
bool | compatible (const SeedingHitSet &hits) const override |
bool | compatible (const TrajectoryStateOnSurface &, SeedingHitSet::ConstRecHitPointer hit) const override |
bool | compatible (const SeedingHitSet &hits, const GlobalTrajectoryParameters &helixStateAtVertex, const FastHelix &helix) const override |
void | init (const edm::Event &ev, const edm::EventSetup &es) override |
PixelClusterShapeSeedComparitor (const edm::ParameterSet &cfg, edm::ConsumesCollector &iC) | |
~PixelClusterShapeSeedComparitor () override | |
Public Member Functions inherited from SeedComparitor | |
virtual | ~SeedComparitor () |
Private Member Functions | |
bool | compatibleHit (const TrackingRecHit &hit, const GlobalVector &direction) const |
Private Attributes | |
const ClusterShapeHitFilter * | clusterShapeHitFilter_ |
const edm::ESGetToken < ClusterShapeHitFilter, CkfComponentsRecord > | clusterShapeHitFilterESToken_ |
const bool | filterAtHelixStage_ |
std::string | filterName_ |
const bool | filterPixelHits_ |
const bool | filterStripHits_ |
const SiPixelClusterShapeCache * | pixelClusterShapeCache_ |
edm::EDGetTokenT < SiPixelClusterShapeCache > | pixelClusterShapeCacheToken_ |
Definition at line 26 of file ClusterShapeSeedComparitor.cc.
PixelClusterShapeSeedComparitor::PixelClusterShapeSeedComparitor | ( | const edm::ParameterSet & | cfg, |
edm::ConsumesCollector & | iC | ||
) |
Definition at line 49 of file ClusterShapeSeedComparitor.cc.
References edm::ConsumesCollector::consumes(), filterPixelHits_, edm::ParameterSet::getParameter(), and pixelClusterShapeCacheToken_.
|
override |
Definition at line 63 of file ClusterShapeSeedComparitor.cc.
|
inlineoverridevirtual |
Implements SeedComparitor.
Definition at line 31 of file ClusterShapeSeedComparitor.cc.
|
overridevirtual |
Implements SeedComparitor.
Definition at line 74 of file ClusterShapeSeedComparitor.cc.
References cms::cuda::assert(), compatibleHit(), filterAtHelixStage_, TrajectoryStateOnSurface::globalDirection(), and TrajectoryStateOnSurface::isValid().
|
overridevirtual |
Implements SeedComparitor.
Definition at line 82 of file ClusterShapeSeedComparitor.cc.
References FastHelix::circle(), compatibleHit(), filterAtHelixStage_, mps_fire::i, FastCircle::isLine(), FastHelix::isValid(), GlobalTrajectoryParameters::momentum(), dqmiodumpmetadata::n, perp2(), GlobalTrajectoryParameters::position(), mathSSE::sqrt(), PV3DBase< T, PVType, FrameType >::x(), FastCircle::x0(), PV3DBase< T, PVType, FrameType >::y(), FastCircle::y0(), and PV3DBase< T, PVType, FrameType >::z().
|
private |
Definition at line 123 of file ClusterShapeSeedComparitor.cc.
References cms::cuda::assert(), clusterShapeHitFilter_, Exception, filterPixelHits_, filterStripHits_, TrackingRecHit::geographicalId(), ClusterShapeHitFilter::isCompatible(), SiStripMatchedRecHit2D::monoCluster(), SiStripMatchedRecHit2D::monoId(), ProjectedSiStripRecHit2D::originalHit(), pixelClusterShapeCache_, SiStripMatchedRecHit2D::stereoCluster(), SiStripMatchedRecHit2D::stereoId(), and DetId::subdetId().
Referenced by compatible().
|
overridevirtual |
Implements SeedComparitor.
Definition at line 65 of file ClusterShapeSeedComparitor.cc.
References clusterShapeHitFilter_, clusterShapeHitFilterESToken_, filterPixelHits_, edm::Event::getByToken(), edm::EventSetup::getData(), pixelClusterShapeCache_, pixelClusterShapeCacheToken_, and edm::Handle< T >::product().
|
private |
Definition at line 42 of file ClusterShapeSeedComparitor.cc.
Referenced by compatibleHit(), and init().
|
private |
Definition at line 41 of file ClusterShapeSeedComparitor.cc.
Referenced by init().
|
private |
Definition at line 45 of file ClusterShapeSeedComparitor.cc.
Referenced by compatible().
|
private |
Definition at line 40 of file ClusterShapeSeedComparitor.cc.
|
private |
Definition at line 46 of file ClusterShapeSeedComparitor.cc.
Referenced by compatibleHit(), init(), and PixelClusterShapeSeedComparitor().
|
private |
Definition at line 46 of file ClusterShapeSeedComparitor.cc.
Referenced by compatibleHit().
|
private |
Definition at line 44 of file ClusterShapeSeedComparitor.cc.
Referenced by compatibleHit(), and init().
|
private |
Definition at line 43 of file ClusterShapeSeedComparitor.cc.
Referenced by init(), and PixelClusterShapeSeedComparitor().