#include <TrajectorySeedHitCandidate.h>
Public Member Functions | |
unsigned int | cylinderNumber () const |
The global layer number in the nested cylinder geometry. More... | |
const TrackingLayer & | getTrackingLayer () const |
const FastTrackerRecHit * | hit () const |
The Hit itself. More... | |
void | init (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... | |
unsigned int | layerNumber () const |
The Layer Number. More... | |
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 TrackerTopology *tTopo) | |
Constructor from a FastTrackerRecHit and topology. More... | |
Private Attributes | |
bool | forward |
TrackingLayer | seedingLayer |
unsigned int | theCylinderNumber |
const FastTrackerRecHit * | theHit |
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 41 of file TrajectorySeedHitCandidate.h.
TrajectorySeedHitCandidate::TrajectorySeedHitCandidate | ( | const FastTrackerRecHit * | hit, |
const TrackerTopology * | tTopo | ||
) |
Constructor from a FastTrackerRecHit and topology.
Definition at line 7 of file TrajectorySeedHitCandidate.cc.
References init().
|
inline |
The global layer number in the nested cylinder geometry.
Definition at line 78 of file TrajectorySeedHitCandidate.h.
References theCylinderNumber.
|
inline |
Definition at line 63 of file TrajectorySeedHitCandidate.h.
References seedingLayer.
Referenced by SeedFinder::insertHit(), TrajectorySeedProducer::isHitOnLayer(), and isOnRequestedDet().
|
inline |
The Hit itself.
Definition at line 61 of file TrajectorySeedHitCandidate.h.
References theHit.
Referenced by init(), SeedFinder::insertHit(), localPosition(), operator!=(), and FastTSGFromPropagation::trackerSeeds().
void TrajectorySeedHitCandidate::init | ( | const TrackerTopology * | tTopo | ) |
Initialization at construction time.
Definition at line 17 of file TrajectorySeedHitCandidate.cc.
References TrackingLayer::createFromDetId(), forward, TrackingRecHit::geographicalId(), TrackingLayer::getLayerNumber(), hit(), PixelSubdetector::PixelBarrel, PixelSubdetector::PixelEndcap, TrackerInteractionGeometry::PXB, TrackerInteractionGeometry::PXD, seedingLayer, DetId::subdetId(), subDetId(), StripSubdetector::TEC, TrackerInteractionGeometry::TEC, TrackerTopology::tecRing(), theCylinderNumber, 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 81 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 52 of file TrajectorySeedHitCandidate.cc.
References i, and seedingLayer.
bool TrajectorySeedHitCandidate::isOnRequestedDet | ( | const std::vector< std::vector< TrackingLayer > > & | theLayersInSets, |
const TrajectorySeedHitCandidate & | theSeedHitSecond | ||
) | const |
Definition at line 62 of file TrajectorySeedHitCandidate.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 74 of file TrajectorySeedHitCandidate.cc.
References getTrackingLayer(), i, and seedingLayer.
|
inline |
Check if two hits are on the same layer of the same subdetector.
Definition at line 95 of file TrajectorySeedHitCandidate.h.
References seedingLayer.
|
inline |
The Layer Number.
Definition at line 72 of file TrajectorySeedHitCandidate.h.
References TrackingLayer::getLayerNumber(), and seedingLayer.
|
inline |
The local position.
Definition at line 84 of file TrajectorySeedHitCandidate.h.
References hit(), and BaseTrackerRecHit::localPosition().
|
inline |
Definition at line 100 of file TrajectorySeedHitCandidate.h.
References 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 75 of file TrajectorySeedHitCandidate.h.
References theRingNumber.
|
inline |
The subdet Id.
Definition at line 69 of file TrajectorySeedHitCandidate.h.
References TrackingLayer::getSubDetNumber(), and seedingLayer.
Referenced by init().
|
private |
Definition at line 115 of file TrajectorySeedHitCandidate.h.
Referenced by init(), and isForward().
|
private |
Definition at line 112 of file TrajectorySeedHitCandidate.h.
Referenced by getTrackingLayer(), init(), isOnRequestedDet(), isOnTheSameLayer(), layerNumber(), and subDetId().
|
private |
Definition at line 114 of file TrajectorySeedHitCandidate.h.
Referenced by cylinderNumber(), and init().
|
private |
Definition at line 111 of file TrajectorySeedHitCandidate.h.
Referenced by hit().
|
private |
Definition at line 113 of file TrajectorySeedHitCandidate.h.
Referenced by init(), and ringNumber().