#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 21 of file TrajectorySeedHitCandidate.h.
|
inline |
Default Constructor.
Definition at line 25 of file TrajectorySeedHitCandidate.h.
|
inline |
Soft Copy Constructor from private members.
Definition at line 42 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 98 of file TrajectorySeedHitCandidate.h.
References theCylinderNumber.
Referenced by FastPixelHitMatcher::isASeed().
|
inline |
The GeomDet.
Definition at line 104 of file TrajectorySeedHitCandidate.h.
References theGeomDet.
Referenced by operator!=().
|
inline |
Definition at line 83 of file TrajectorySeedHitCandidate.h.
References seedingLayer.
Referenced by TrajectorySeedProducer::isHitOnLayer(), isOnRequestedDet(), and TrajectorySeedProducer::produce().
|
inline |
The global position.
Definition at line 107 of file TrajectorySeedHitCandidate.h.
References hit(), localPosition(), GeomDet::surface(), theGeomDet, and Surface::toGlobal().
Referenced by FastPixelHitMatcher::isASeed(), and TrajectorySeedProducer::pass2HitsCuts().
|
inline |
Definition at line 79 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 101 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 123 of file TrajectorySeedHitCandidate.h.
References seedingLayer.
Referenced by FastPixelHitMatcher::isASeed(), TrackCandidateProducer::produce(), and TrajectorySeedProducer::produce().
|
inline |
Definition at line 146 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 92 of file TrajectorySeedHitCandidate.h.
References TrackingLayer::getLayerNumber(), and seedingLayer.
Referenced by TrackCandidateProducer::produce(), and FastElectronSeedGenerator::run().
|
inline |
Definition at line 129 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 112 of file TrajectorySeedHitCandidate.h.
References hit(), and BaseTrackerRecHit::localPosition().
Referenced by globalPosition().
|
inline |
The Hit itself.
Definition at line 76 of file TrajectorySeedHitCandidate.h.
References theMatchedHit.
|
inline |
Definition at line 162 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 95 of file TrajectorySeedHitCandidate.h.
References theRingNumber.
Referenced by FastElectronSeedGenerator::run().
|
inline |
Definition at line 77 of file TrajectorySeedHitCandidate.h.
References theSplitHit.
|
inline |
The subdet Id.
Definition at line 89 of file TrajectorySeedHitCandidate.h.
References TrackingLayer::getSubDetNumber(), and seedingLayer.
Referenced by init(), FastPixelHitMatcher::isASeed(), TrackCandidateProducer::produce(), and FastElectronSeedGenerator::run().
|
private |
Definition at line 180 of file TrajectorySeedHitCandidate.h.
Referenced by init(), and isForward().
|
private |
Definition at line 175 of file TrajectorySeedHitCandidate.h.
Referenced by getTrackingLayer(), init(), isOnRequestedDet(), isOnTheSameLayer(), layerNumber(), and subDetId().
|
private |
Definition at line 177 of file TrajectorySeedHitCandidate.h.
Referenced by cylinderNumber(), and init().
|
private |
Definition at line 174 of file TrajectorySeedHitCandidate.h.
Referenced by geomDet(), globalPosition(), and init().
|
mutableprivate |
Definition at line 179 of file TrajectorySeedHitCandidate.h.
Referenced by largerError().
|
mutableprivate |
Definition at line 178 of file TrajectorySeedHitCandidate.h.
Referenced by localError().
|
private |
Definition at line 173 of file TrajectorySeedHitCandidate.h.
Referenced by hit(), and matchedHit().
|
private |
Definition at line 176 of file TrajectorySeedHitCandidate.h.
Referenced by init(), and ringNumber().
|
private |
Definition at line 172 of file TrajectorySeedHitCandidate.h.
Referenced by hit(), and splitHit().