#include <TrackerRecHit.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... | |
GlobalPoint | globalPosition () const |
The global position. More... | |
const GSSiTrackerRecHit2DLocalPos * | hit () const |
void | init (const TrackerGeometry *theGeometry) |
Initialization at construction time. More... | |
bool | isForward () const |
Is it a forward hit ? More... | |
bool | isOnRequestedDet (const std::vector< unsigned int > &whichDet, const std::string &seedingAlgo) const |
Check if the hit is on one of the requested detector. More... | |
bool | isOnTheSameLayer (const TrackerRecHit &other) const |
Check if two hits are on the same layer of the same subdetector. More... | |
double | largerError () |
unsigned int | layerNumber () const |
The Layer Number. More... | |
double | localError () |
LocalPoint | localPosition () const |
The local position. More... | |
bool | makesAPairWith (const TrackerRecHit &anotherHit) const |
Check if a pair is on the proper combination of detectors. More... | |
bool | makesAPairWith3rd (const TrackerRecHit &anotherHit) const |
bool | makesATripletWith (const TrackerRecHit &anotherHit, const TrackerRecHit &yetAnotherHit) const |
Check if a triplet is on the proper combination of detectors. More... | |
const SiTrackerGSMatchedRecHit2D * | matchedHit () const |
The Hit itself. More... | |
bool | operator!= (const TrackerRecHit &aHit) const |
unsigned int | ringNumber () const |
The Ring Number. More... | |
const SiTrackerGSRecHit2D * | splitHit () const |
unsigned int | subDetId () const |
The subdet Id. More... | |
TrackerRecHit () | |
Default Constructor. More... | |
TrackerRecHit (const SiTrackerGSRecHit2D *theSplitHit, const TrackerRecHit &other) | |
Soft Copy Constructor from private members. More... | |
TrackerRecHit (const SiTrackerGSRecHit2D *theHit, const TrackerGeometry *theGeometry) | |
Constructor from a GSRecHit and the Geometry. More... | |
TrackerRecHit (const SiTrackerGSMatchedRecHit2D *theHit, const TrackerGeometry *theGeometry) | |
Private Attributes | |
bool | forward |
unsigned int | theCylinderNumber |
const GeomDet * | theGeomDet |
double | theLargerError |
unsigned int | theLayerNumber |
double | theLocalError |
const SiTrackerGSMatchedRecHit2D * | theMatchedHit |
unsigned int | theRingNumber |
const SiTrackerGSRecHit2D * | theSplitHit |
unsigned int | theSubDetId |
A class that gives some properties of the Tracker Layers in FAMOS
Definition at line 25 of file TrackerRecHit.h.
|
inline |
Default Constructor.
Definition at line 29 of file TrackerRecHit.h.
|
inline |
Soft Copy Constructor from private members.
Definition at line 42 of file TrackerRecHit.h.
TrackerRecHit::TrackerRecHit | ( | const SiTrackerGSRecHit2D * | theHit, |
const TrackerGeometry * | theGeometry | ||
) |
Constructor from a GSRecHit and the Geometry.
Definition at line 19 of file TrackerRecHit.cc.
References init().
TrackerRecHit::TrackerRecHit | ( | const SiTrackerGSMatchedRecHit2D * | theHit, |
const TrackerGeometry * | theGeometry | ||
) |
Definition at line 4 of file TrackerRecHit.cc.
References init().
|
inline |
The global layer number in the nested cylinder geometry.
Definition at line 87 of file TrackerRecHit.h.
References theCylinderNumber.
Referenced by FastPixelHitMatcher::isASeed().
|
inline |
The GeomDet.
Definition at line 93 of file TrackerRecHit.h.
References theGeomDet.
Referenced by operator!=().
|
inline |
The global position.
Definition at line 96 of file TrackerRecHit.h.
References hit(), localPosition(), GeomDet::surface(), theGeomDet, and Surface::toGlobal().
Referenced by FastPixelHitMatcher::isASeed(), and TrajectorySeedProducer::produce().
|
inline |
Definition at line 73 of file TrackerRecHit.h.
References theMatchedHit, and theSplitHit.
Referenced by globalPosition(), init(), largerError(), localError(), localPosition(), operator!=(), and FastTSGFromPropagation::trackerSeeds().
void TrackerRecHit::init | ( | const TrackerGeometry * | theGeometry | ) |
Initialization at construction time.
Definition at line 35 of file TrackerRecHit.cc.
References forward, TrackingRecHit::geographicalId(), hit(), TrackerGeometry::idToDet(), PixelSubdetector::PixelBarrel, PixelSubdetector::PixelEndcap, TrackerInteractionGeometry::PXB, TrackerInteractionGeometry::PXD, DetId::rawId(), DetId::subdetId(), StripSubdetector::TEC, TrackerInteractionGeometry::TEC, theCylinderNumber, theGeomDet, theLayerNumber, theRingNumber, theSubDetId, StripSubdetector::TIB, TrackerInteractionGeometry::TIB, StripSubdetector::TID, TrackerInteractionGeometry::TID, StripSubdetector::TOB, and TrackerInteractionGeometry::TOB.
Referenced by TrackerRecHit().
|
inline |
Is it a forward hit ?
Definition at line 90 of file TrackerRecHit.h.
References forward.
Referenced by TrajectorySeedProducer::produce().
bool TrackerRecHit::isOnRequestedDet | ( | const std::vector< unsigned int > & | whichDet, |
const std::string & | seedingAlgo | ||
) | const |
Check if the hit is on one of the requested detector.
Definition at line 78 of file TrackerRecHit.cc.
References gather_cfg::cout, theLayerNumber, theRingNumber, and theSubDetId.
Referenced by TrajectorySeedProducer::produce().
|
inline |
Check if two hits are on the same layer of the same subdetector.
Definition at line 116 of file TrackerRecHit.h.
References layerNumber(), subDetId(), theLayerNumber, and theSubDetId.
Referenced by FastPixelHitMatcher::isASeed(), TrajectorySeedProducer::produce(), and TrackCandidateProducer::produce().
|
inline |
Definition at line 140 of file TrackerRecHit.h.
References delta, hit(), GSSiTrackerRecHit2DLocalPos::localPositionError(), mathSSE::sqrt(), theLargerError, LocalError::xx(), LocalError::xy(), create_public_lumi_plots::xy, and LocalError::yy().
Referenced by TrajectorySeedProducer::produce().
|
inline |
The Layer Number.
Definition at line 81 of file TrackerRecHit.h.
References theLayerNumber.
Referenced by isOnTheSameLayer(), makesAPairWith(), makesAPairWith3rd(), makesATripletWith(), TrajectorySeedProducer::produce(), TrackCandidateProducer::produce(), and FastElectronSeedGenerator::run().
|
inline |
Definition at line 124 of file TrackerRecHit.h.
References delta, hit(), GSSiTrackerRecHit2DLocalPos::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 101 of file TrackerRecHit.h.
References hit(), and GSSiTrackerRecHit2DLocalPos::localPosition().
Referenced by globalPosition().
bool TrackerRecHit::makesAPairWith | ( | const TrackerRecHit & | anotherHit | ) | const |
Check if a pair is on the proper combination of detectors.
Definition at line 147 of file TrackerRecHit.cc.
References layerNumber(), subDetId(), theLayerNumber, and theSubDetId.
bool TrackerRecHit::makesAPairWith3rd | ( | const TrackerRecHit & | anotherHit | ) | const |
Definition at line 231 of file TrackerRecHit.cc.
References layerNumber(), subDetId(), theLayerNumber, and theSubDetId.
bool TrackerRecHit::makesATripletWith | ( | const TrackerRecHit & | anotherHit, |
const TrackerRecHit & | yetAnotherHit | ||
) | const |
Check if a triplet is on the proper combination of detectors.
Definition at line 257 of file TrackerRecHit.cc.
References layerNumber(), subDetId(), theLayerNumber, and theSubDetId.
|
inline |
The Hit itself.
Definition at line 70 of file TrackerRecHit.h.
References theMatchedHit.
Referenced by TrackCandidateProducer::addSplitHits(), and TrackCandidateProducer::produce().
|
inline |
Definition at line 155 of file TrackerRecHit.h.
References geomDet(), hit(), GSSiTrackerRecHit2DLocalPos::localPosition(), PV3DBase< T, PVType, FrameType >::x(), PV3DBase< T, PVType, FrameType >::y(), and PV3DBase< T, PVType, FrameType >::z().
|
inline |
The Ring Number.
Definition at line 84 of file TrackerRecHit.h.
References theRingNumber.
Referenced by FastElectronSeedGenerator::run().
|
inline |
|
inline |
The subdet Id.
Definition at line 78 of file TrackerRecHit.h.
References theSubDetId.
Referenced by FastPixelHitMatcher::isASeed(), isOnTheSameLayer(), makesAPairWith(), makesAPairWith3rd(), makesATripletWith(), TrajectorySeedProducer::produce(), TrackCandidateProducer::produce(), and FastElectronSeedGenerator::run().
|
private |
Definition at line 174 of file TrackerRecHit.h.
Referenced by init(), and isForward().
|
private |
Definition at line 171 of file TrackerRecHit.h.
Referenced by cylinderNumber(), and init().
|
private |
Definition at line 167 of file TrackerRecHit.h.
Referenced by geomDet(), globalPosition(), and init().
|
private |
Definition at line 173 of file TrackerRecHit.h.
Referenced by largerError().
|
private |
Definition at line 169 of file TrackerRecHit.h.
Referenced by init(), isOnRequestedDet(), isOnTheSameLayer(), layerNumber(), makesAPairWith(), makesAPairWith3rd(), and makesATripletWith().
|
private |
Definition at line 172 of file TrackerRecHit.h.
Referenced by localError().
|
private |
Definition at line 166 of file TrackerRecHit.h.
Referenced by hit(), and matchedHit().
|
private |
Definition at line 170 of file TrackerRecHit.h.
Referenced by init(), isOnRequestedDet(), and ringNumber().
|
private |
Definition at line 165 of file TrackerRecHit.h.
Referenced by hit(), and splitHit().
|
private |
Definition at line 168 of file TrackerRecHit.h.
Referenced by init(), isOnRequestedDet(), isOnTheSameLayer(), makesAPairWith(), makesAPairWith3rd(), makesATripletWith(), and subDetId().