#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 FastTrackerRecHit * | hit () const |
The Hit itself. More... | |
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... | |
bool | operator!= (const TrajectorySeedHitCandidate &aHit) const |
unsigned int | ringNumber () const |
The Ring Number. More... | |
unsigned int | subDetId () const |
The subdet Id. More... | |
TrajectorySeedHitCandidate () | |
Default Constructor. More... | |
TrajectorySeedHitCandidate (const FastTrackerRecHit *hit, const TrajectorySeedHitCandidate &other) | |
TrajectorySeedHitCandidate (const FastTrackerRecHit *hit, const TrackerGeometry *theGeometry, const TrackerTopology *tTopo) | |
Constructor from a GSRecHit and the Geometry. More... | |
Private Attributes | |
bool | forward |
TrackingLayer | seedingLayer |
unsigned int | theCylinderNumber |
const GeomDet * | theGeomDet |
const FastTrackerRecHit * | theHit |
double | theLargerError |
double | theLocalError |
unsigned int | theRingNumber |
Definition at line 24 of file TrajectorySeedHitCandidate.h.
|
inline |
Default Constructor.
Definition at line 28 of file TrajectorySeedHitCandidate.h.
|
inline |
Soft Copy Constructor from private members lv: do we need this one?
Definition at line 44 of file TrajectorySeedHitCandidate.h.
TrajectorySeedHitCandidate::TrajectorySeedHitCandidate | ( | const FastTrackerRecHit * | hit, |
const TrackerGeometry * | theGeometry, | ||
const TrackerTopology * | tTopo | ||
) |
Constructor from a GSRecHit and the Geometry.
Definition at line 7 of file TrajectorySeedHitCandiate.cc.
References init().
|
inline |
The global layer number in the nested cylinder geometry.
Definition at line 86 of file TrajectorySeedHitCandidate.h.
References theCylinderNumber.
Referenced by FastPixelHitMatcher::isASeed().
|
inline |
The GeomDet.
Definition at line 92 of file TrajectorySeedHitCandidate.h.
References theGeomDet.
Referenced by operator!=().
|
inline |
Definition at line 71 of file TrajectorySeedHitCandidate.h.
References seedingLayer.
Referenced by TrajectorySeedProducer::isHitOnLayer(), isOnRequestedDet(), and TrajectorySeedProducer::produce().
|
inline |
The global position.
Definition at line 95 of file TrajectorySeedHitCandidate.h.
References hit(), localPosition(), GeomDet::surface(), theGeomDet, and Surface::toGlobal().
Referenced by FastPixelHitMatcher::isASeed().
|
inline |
The Hit itself.
Definition at line 69 of file TrajectorySeedHitCandidate.h.
References theHit.
Referenced by globalPosition(), init(), largerError(), localError(), localPosition(), operator!=(), TrajectorySeedProducer::pass2HitsCuts(), and FastTSGFromPropagation::trackerSeeds().
void TrajectorySeedHitCandidate::init | ( | const TrackerGeometry * | theGeometry, |
const TrackerTopology * | tTopo | ||
) |
Initialization at construction time.
Definition at line 21 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 89 of file TrajectorySeedHitCandidate.h.
References forward.
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 57 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 67 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 79 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 111 of file TrajectorySeedHitCandidate.h.
References seedingLayer.
Referenced by FastPixelHitMatcher::isASeed(), TrackCandidateProducer::produce(), and TrajectorySeedProducer::produce().
|
inline |
Definition at line 134 of file TrajectorySeedHitCandidate.h.
References delta, hit(), BaseTrackerRecHit::localPositionError(), mathSSE::sqrt(), theLargerError, LocalError::xx(), LocalError::xy(), create_public_lumi_plots::xy, and LocalError::yy().
|
inline |
The Layer Number.
Definition at line 80 of file TrajectorySeedHitCandidate.h.
References TrackingLayer::getLayerNumber(), and seedingLayer.
Referenced by TrackCandidateProducer::produce().
|
inline |
Definition at line 117 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 100 of file TrajectorySeedHitCandidate.h.
References hit(), and BaseTrackerRecHit::localPosition().
Referenced by globalPosition().
|
inline |
Definition at line 150 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 83 of file TrajectorySeedHitCandidate.h.
References theRingNumber.
|
inline |
The subdet Id.
Definition at line 77 of file TrajectorySeedHitCandidate.h.
References TrackingLayer::getSubDetNumber(), and seedingLayer.
Referenced by init(), FastPixelHitMatcher::isASeed(), and TrackCandidateProducer::produce().
|
private |
Definition at line 169 of file TrajectorySeedHitCandidate.h.
Referenced by init(), and isForward().
|
private |
Definition at line 164 of file TrajectorySeedHitCandidate.h.
Referenced by getTrackingLayer(), init(), isOnRequestedDet(), isOnTheSameLayer(), layerNumber(), and subDetId().
|
private |
Definition at line 166 of file TrajectorySeedHitCandidate.h.
Referenced by cylinderNumber(), and init().
|
private |
Definition at line 163 of file TrajectorySeedHitCandidate.h.
Referenced by geomDet(), globalPosition(), and init().
|
private |
Definition at line 162 of file TrajectorySeedHitCandidate.h.
Referenced by hit().
|
mutableprivate |
Definition at line 168 of file TrajectorySeedHitCandidate.h.
Referenced by largerError().
|
mutableprivate |
Definition at line 167 of file TrajectorySeedHitCandidate.h.
Referenced by localError().
|
private |
Definition at line 165 of file TrajectorySeedHitCandidate.h.
Referenced by init(), and ringNumber().