#include <TrajectorySeedHitCandidate.h>
Public Member Functions | |
unsigned int | cylinderNumber () const |
The global layer number in the nested cylinder geometry. More... | |
const GeomDet * | geomDet () const |
The GeomDet. More... | |
const TrackingLayer & | getTrackingLayer () const |
GlobalPoint | globalPosition () const |
The global position. More... | |
const GSSiTrackerRecHit2DLocalPos * | hit () const |
void | init (const TrackerGeometry *theGeometry, const TrackerTopology *tTopo) |
Initialization at construction time. More... | |
bool | isForward () const |
Is it a forward hit ? More... | |
bool | isOnRequestedDet (const std::vector< std::vector< TrackingLayer > > &theLayersInSets) const |
Check if the hit is on one of the requested detector. More... | |
bool | isOnRequestedDet (const std::vector< std::vector< TrackingLayer > > &theLayersInSets, const TrajectorySeedHitCandidate &theSeedHitSecond) const |
bool | isOnRequestedDet (const std::vector< std::vector< TrackingLayer > > &theLayersInSets, const TrajectorySeedHitCandidate &theSeedHitSecond, const TrajectorySeedHitCandidate &theSeedHitThird) const |
bool | isOnTheSameLayer (const TrajectorySeedHitCandidate &other) const |
Check if two hits are on the same layer of the same subdetector. More... | |
double | largerError () const |
unsigned int | layerNumber () const |
The Layer Number. More... | |
double | localError () const |
LocalPoint | localPosition () const |
The local position. More... | |
const SiTrackerGSMatchedRecHit2D * | matchedHit () const |
The Hit itself. More... | |
bool | operator!= (const TrajectorySeedHitCandidate &aHit) const |
unsigned int | ringNumber () const |
The Ring Number. More... | |
const SiTrackerGSRecHit2D * | splitHit () const |
unsigned int | subDetId () const |
The subdet Id. More... | |
TrajectorySeedHitCandidate () | |
Default Constructor. More... | |
TrajectorySeedHitCandidate (const SiTrackerGSRecHit2D *theSplitHit, const TrajectorySeedHitCandidate &other) | |
Soft Copy Constructor from private members. More... | |
TrajectorySeedHitCandidate (const SiTrackerGSRecHit2D *theHit, const TrackerGeometry *theGeometry, const TrackerTopology *tTopo) | |
Constructor from a GSRecHit and the Geometry. More... | |
TrajectorySeedHitCandidate (const SiTrackerGSMatchedRecHit2D *theHit, const TrackerGeometry *theGeometry, const TrackerTopology *tTopo) | |
Private Attributes | |
bool | forward |
TrackingLayer | seedingLayer |
unsigned int | theCylinderNumber |
const GeomDet * | theGeomDet |
double | theLargerError |
double | theLocalError |
const SiTrackerGSMatchedRecHit2D * | theMatchedHit |
unsigned int | theRingNumber |
const SiTrackerGSRecHit2D * | theSplitHit |
Definition at line 22 of file TrajectorySeedHitCandidate.h.
|
inline |
Default Constructor.
Definition at line 26 of file TrajectorySeedHitCandidate.h.
|
inline |
Soft Copy Constructor from private members.
Definition at line 43 of file TrajectorySeedHitCandidate.h.
TrajectorySeedHitCandidate::TrajectorySeedHitCandidate | ( | const SiTrackerGSRecHit2D * | theHit, |
const TrackerGeometry * | theGeometry, | ||
const TrackerTopology * | tTopo | ||
) |
Constructor from a GSRecHit and the Geometry.
Definition at line 21 of file TrajectorySeedHitCandiate.cc.
References init().
TrajectorySeedHitCandidate::TrajectorySeedHitCandidate | ( | const SiTrackerGSMatchedRecHit2D * | theHit, |
const TrackerGeometry * | theGeometry, | ||
const TrackerTopology * | tTopo | ||
) |
Definition at line 7 of file TrajectorySeedHitCandiate.cc.
References init().
|
inline |
The global layer number in the nested cylinder geometry.
Definition at line 99 of file TrajectorySeedHitCandidate.h.
References theCylinderNumber.
Referenced by FastPixelHitMatcher::isASeed().
|
inline |
The GeomDet.
Definition at line 105 of file TrajectorySeedHitCandidate.h.
References theGeomDet.
Referenced by operator!=().
|
inline |
Definition at line 84 of file TrajectorySeedHitCandidate.h.
References seedingLayer.
Referenced by TrajectorySeedProducer::isHitOnLayer(), isOnRequestedDet(), and TrajectorySeedProducer::produce().
|
inline |
The global position.
Definition at line 108 of file TrajectorySeedHitCandidate.h.
References hit(), localPosition(), GeomDet::surface(), theGeomDet, and Surface::toGlobal().
Referenced by FastPixelHitMatcher::isASeed(), and TrajectorySeedProducer::pass2HitsCuts().
|
inline |
Definition at line 80 of file TrajectorySeedHitCandidate.h.
References theMatchedHit, and theSplitHit.
Referenced by globalPosition(), init(), largerError(), localError(), localPosition(), operator!=(), and FastTSGFromPropagation::trackerSeeds().
void TrajectorySeedHitCandidate::init | ( | const TrackerGeometry * | theGeometry, |
const TrackerTopology * | tTopo | ||
) |
Initialization at construction time.
Definition at line 36 of file TrajectorySeedHitCandiate.cc.
References TrackingLayer::createFromDetId(), forward, TrackingRecHit::geographicalId(), TrackingLayer::getLayerNumber(), hit(), TrackerGeometry::idToDet(), PixelSubdetector::PixelBarrel, PixelSubdetector::PixelEndcap, TrackerInteractionGeometry::PXB, TrackerInteractionGeometry::PXD, seedingLayer, DetId::subdetId(), subDetId(), StripSubdetector::TEC, TrackerInteractionGeometry::TEC, TrackerTopology::tecRing(), theCylinderNumber, theGeomDet, theRingNumber, StripSubdetector::TIB, TrackerInteractionGeometry::TIB, StripSubdetector::TID, TrackerInteractionGeometry::TID, TrackerTopology::tidRing(), StripSubdetector::TOB, and TrackerInteractionGeometry::TOB.
Referenced by TrajectorySeedHitCandidate().
|
inline |
Is it a forward hit ?
Definition at line 102 of file TrajectorySeedHitCandidate.h.
References forward.
Referenced by TrajectorySeedProducer::pass2HitsCuts().
bool TrajectorySeedHitCandidate::isOnRequestedDet | ( | const std::vector< std::vector< TrackingLayer > > & | theLayersInSets | ) | const |
Check if the hit is on one of the requested detector.
request check with 1, 2 and 3 seeds
Definition at line 72 of file TrajectorySeedHitCandiate.cc.
References i, and seedingLayer.
bool TrajectorySeedHitCandidate::isOnRequestedDet | ( | const std::vector< std::vector< TrackingLayer > > & | theLayersInSets, |
const TrajectorySeedHitCandidate & | theSeedHitSecond | ||
) | const |
Definition at line 82 of file TrajectorySeedHitCandiate.cc.
References getTrackingLayer(), i, and seedingLayer.
bool TrajectorySeedHitCandidate::isOnRequestedDet | ( | const std::vector< std::vector< TrackingLayer > > & | theLayersInSets, |
const TrajectorySeedHitCandidate & | theSeedHitSecond, | ||
const TrajectorySeedHitCandidate & | theSeedHitThird | ||
) | const |
Definition at line 94 of file TrajectorySeedHitCandiate.cc.
References getTrackingLayer(), i, and seedingLayer.
|
inline |
Check if two hits are on the same layer of the same subdetector.
Definition at line 124 of file TrajectorySeedHitCandidate.h.
References seedingLayer.
Referenced by FastPixelHitMatcher::isASeed(), TrackCandidateProducer::produce(), and TrajectorySeedProducer::produce().
|
inline |
Definition at line 147 of file TrajectorySeedHitCandidate.h.
References delta, hit(), BaseTrackerRecHit::localPositionError(), mathSSE::sqrt(), theLargerError, LocalError::xx(), LocalError::xy(), create_public_lumi_plots::xy, and LocalError::yy().
Referenced by TrajectorySeedProducer::pass2HitsCuts().
|
inline |
The Layer Number.
Definition at line 93 of file TrajectorySeedHitCandidate.h.
References TrackingLayer::getLayerNumber(), and seedingLayer.
Referenced by TrackCandidateProducer::produce(), and FastElectronSeedGenerator::run().
|
inline |
Definition at line 130 of file TrajectorySeedHitCandidate.h.
References delta, hit(), BaseTrackerRecHit::localPositionError(), mathSSE::sqrt(), theLocalError, LocalError::xx(), LocalError::xy(), create_public_lumi_plots::xy, and LocalError::yy().
Referenced by TrackCandidateProducer::produce().
|
inline |
The local position.
Definition at line 113 of file TrajectorySeedHitCandidate.h.
References hit(), and BaseTrackerRecHit::localPosition().
Referenced by globalPosition().
|
inline |
The Hit itself.
Definition at line 77 of file TrajectorySeedHitCandidate.h.
References theMatchedHit.
Referenced by TrackCandidateProducer::addSplitHits(), and TrackCandidateProducer::produce().
|
inline |
Definition at line 163 of file TrajectorySeedHitCandidate.h.
References geomDet(), hit(), BaseTrackerRecHit::localPosition(), PV3DBase< T, PVType, FrameType >::x(), PV3DBase< T, PVType, FrameType >::y(), and PV3DBase< T, PVType, FrameType >::z().
|
inline |
The Ring Number.
Definition at line 96 of file TrajectorySeedHitCandidate.h.
References theRingNumber.
Referenced by FastElectronSeedGenerator::run().
|
inline |
Definition at line 78 of file TrajectorySeedHitCandidate.h.
References theSplitHit.
|
inline |
The subdet Id.
Definition at line 90 of file TrajectorySeedHitCandidate.h.
References TrackingLayer::getSubDetNumber(), and seedingLayer.
Referenced by init(), FastPixelHitMatcher::isASeed(), TrackCandidateProducer::produce(), and FastElectronSeedGenerator::run().
|
private |
Definition at line 181 of file TrajectorySeedHitCandidate.h.
Referenced by init(), and isForward().
|
private |
Definition at line 176 of file TrajectorySeedHitCandidate.h.
Referenced by getTrackingLayer(), init(), isOnRequestedDet(), isOnTheSameLayer(), layerNumber(), and subDetId().
|
private |
Definition at line 178 of file TrajectorySeedHitCandidate.h.
Referenced by cylinderNumber(), and init().
|
private |
Definition at line 175 of file TrajectorySeedHitCandidate.h.
Referenced by geomDet(), globalPosition(), and init().
|
mutableprivate |
Definition at line 180 of file TrajectorySeedHitCandidate.h.
Referenced by largerError().
|
mutableprivate |
Definition at line 179 of file TrajectorySeedHitCandidate.h.
Referenced by localError().
|
private |
Definition at line 174 of file TrajectorySeedHitCandidate.h.
Referenced by hit(), and matchedHit().
|
private |
Definition at line 177 of file TrajectorySeedHitCandidate.h.
Referenced by init(), and ringNumber().
|
private |
Definition at line 173 of file TrajectorySeedHitCandidate.h.
Referenced by hit(), and splitHit().