#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, const TrackerTopology *tTopo) |
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 | isOnRequestedDet (const std::vector< std::vector< TrajectorySeedProducer::LayerSpec > > &theLayersInSets) const |
request check with 1, 2 and 3 seeds More... | |
bool | isOnRequestedDet (const std::vector< std::vector< TrajectorySeedProducer::LayerSpec > > &theLayersInSets, const TrackerRecHit &theSeedHitSecond) const |
bool | isOnRequestedDet (const std::vector< std::vector< TrajectorySeedProducer::LayerSpec > > &theLayersInSets, const TrackerRecHit &theSeedHitSecond, const TrackerRecHit &theSeedHitThird) const |
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, const TrackerTopology *tTopo) | |
Constructor from a GSRecHit and the Geometry. More... | |
TrackerRecHit (const SiTrackerGSMatchedRecHit2D *theHit, const TrackerGeometry *theGeometry, const TrackerTopology *tTopo) | |
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, | ||
const TrackerTopology * | tTopo | ||
) |
Constructor from a GSRecHit and the Geometry.
Definition at line 20 of file TrackerRecHit.cc.
References init().
TrackerRecHit::TrackerRecHit | ( | const SiTrackerGSMatchedRecHit2D * | theHit, |
const TrackerGeometry * | theGeometry, | ||
const TrackerTopology * | tTopo | ||
) |
Definition at line 4 of file TrackerRecHit.cc.
References init().
|
inline |
The global layer number in the nested cylinder geometry.
Definition at line 90 of file TrackerRecHit.h.
References theCylinderNumber.
Referenced by FastPixelHitMatcher::isASeed().
|
inline |
The GeomDet.
Definition at line 96 of file TrackerRecHit.h.
References theGeomDet.
Referenced by operator!=().
|
inline |
The global position.
Definition at line 99 of file TrackerRecHit.h.
References hit(), localPosition(), GeomDet::surface(), theGeomDet, and Surface::toGlobal().
Referenced by FastPixelHitMatcher::isASeed(), and TrajectorySeedProducer::produce().
|
inline |
Definition at line 76 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, |
const TrackerTopology * | tTopo | ||
) |
Initialization at construction time.
Definition at line 37 of file TrackerRecHit.cc.
References forward, TrackingRecHit::geographicalId(), hit(), TrackerGeometry::idToDet(), PixelSubdetector::PixelBarrel, PixelSubdetector::PixelEndcap, TrackerInteractionGeometry::PXB, TrackerTopology::pxbLayer(), TrackerInteractionGeometry::PXD, TrackerTopology::pxfDisk(), DetId::subdetId(), StripSubdetector::TEC, TrackerInteractionGeometry::TEC, TrackerTopology::tecRing(), TrackerTopology::tecWheel(), theCylinderNumber, theGeomDet, theLayerNumber, theRingNumber, theSubDetId, StripSubdetector::TIB, TrackerInteractionGeometry::TIB, TrackerTopology::tibLayer(), StripSubdetector::TID, TrackerInteractionGeometry::TID, TrackerTopology::tidRing(), TrackerTopology::tidWheel(), StripSubdetector::TOB, TrackerInteractionGeometry::TOB, and TrackerTopology::tobLayer().
Referenced by TrackerRecHit().
|
inline |
Is it a forward hit ?
Definition at line 93 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 114 of file TrackerRecHit.cc.
References gather_cfg::cout, theLayerNumber, theRingNumber, and theSubDetId.
Referenced by TrajectorySeedProducer::produce().
bool TrackerRecHit::isOnRequestedDet | ( | const std::vector< std::vector< TrajectorySeedProducer::LayerSpec > > & | theLayersInSets | ) | const |
request check with 1, 2 and 3 seeds
Definition at line 79 of file TrackerRecHit.cc.
References i, theLayerNumber, and theSubDetId.
bool TrackerRecHit::isOnRequestedDet | ( | const std::vector< std::vector< TrajectorySeedProducer::LayerSpec > > & | theLayersInSets, |
const TrackerRecHit & | theSeedHitSecond | ||
) | const |
Definition at line 89 of file TrackerRecHit.cc.
References i, layerNumber(), subDetId(), theLayerNumber, and theSubDetId.
bool TrackerRecHit::isOnRequestedDet | ( | const std::vector< std::vector< TrajectorySeedProducer::LayerSpec > > & | theLayersInSets, |
const TrackerRecHit & | theSeedHitSecond, | ||
const TrackerRecHit & | theSeedHitThird | ||
) | const |
Definition at line 100 of file TrackerRecHit.cc.
References i, layerNumber(), subDetId(), theLayerNumber, and theSubDetId.
|
inline |
Check if two hits are on the same layer of the same subdetector.
Definition at line 122 of file TrackerRecHit.h.
References layerNumber(), subDetId(), theLayerNumber, and theSubDetId.
Referenced by FastPixelHitMatcher::isASeed(), TrajectorySeedProducer::produce(), and TrackCandidateProducer::produce().
|
inline |
Definition at line 146 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 84 of file TrackerRecHit.h.
References theLayerNumber.
Referenced by isOnRequestedDet(), isOnTheSameLayer(), makesAPairWith(), makesAPairWith3rd(), makesATripletWith(), TrajectorySeedProducer::produce(), TrackCandidateProducer::produce(), and FastElectronSeedGenerator::run().
|
inline |
Definition at line 130 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 104 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 183 of file TrackerRecHit.cc.
References layerNumber(), subDetId(), theLayerNumber, and theSubDetId.
bool TrackerRecHit::makesAPairWith3rd | ( | const TrackerRecHit & | anotherHit | ) | const |
Definition at line 267 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 293 of file TrackerRecHit.cc.
References layerNumber(), subDetId(), theLayerNumber, and theSubDetId.
|
inline |
The Hit itself.
Definition at line 73 of file TrackerRecHit.h.
References theMatchedHit.
Referenced by TrackCandidateProducer::addSplitHits(), and TrackCandidateProducer::produce().
|
inline |
Definition at line 161 of file TrackerRecHit.h.
References geomDet(), hit(), and GSSiTrackerRecHit2DLocalPos::localPosition().
|
inline |
The Ring Number.
Definition at line 87 of file TrackerRecHit.h.
References theRingNumber.
Referenced by FastElectronSeedGenerator::run().
|
inline |
|
inline |
The subdet Id.
Definition at line 81 of file TrackerRecHit.h.
References theSubDetId.
Referenced by FastPixelHitMatcher::isASeed(), isOnRequestedDet(), isOnTheSameLayer(), makesAPairWith(), makesAPairWith3rd(), makesATripletWith(), TrajectorySeedProducer::produce(), TrackCandidateProducer::produce(), and FastElectronSeedGenerator::run().
|
private |
Definition at line 180 of file TrackerRecHit.h.
Referenced by init(), and isForward().
|
private |
Definition at line 177 of file TrackerRecHit.h.
Referenced by cylinderNumber(), and init().
|
private |
Definition at line 173 of file TrackerRecHit.h.
Referenced by geomDet(), globalPosition(), and init().
|
private |
Definition at line 179 of file TrackerRecHit.h.
Referenced by largerError().
|
private |
Definition at line 175 of file TrackerRecHit.h.
Referenced by init(), isOnRequestedDet(), isOnTheSameLayer(), layerNumber(), makesAPairWith(), makesAPairWith3rd(), and makesATripletWith().
|
private |
Definition at line 178 of file TrackerRecHit.h.
Referenced by localError().
|
private |
Definition at line 172 of file TrackerRecHit.h.
Referenced by hit(), and matchedHit().
|
private |
Definition at line 176 of file TrackerRecHit.h.
Referenced by init(), isOnRequestedDet(), and ringNumber().
|
private |
Definition at line 171 of file TrackerRecHit.h.
Referenced by hit(), and splitHit().
|
private |
Definition at line 174 of file TrackerRecHit.h.
Referenced by init(), isOnRequestedDet(), isOnTheSameLayer(), makesAPairWith(), makesAPairWith3rd(), makesATripletWith(), and subDetId().