#include <RecoTracker/SingleTrackPattern/interface/CosmicTrajectoryBuilder.h>
Public Member Functions | |
CompareHitY_plus (const TrackerGeometry &tracker) | |
CompareHitY_plus (const TrackerGeometry &tracker) | |
bool | operator() (const TrackingRecHit *rh1, const TrackingRecHit *rh2) |
bool | operator() (const TrackingRecHit *rh1, const TrackingRecHit *rh2) |
Private Attributes | |
const TrackerGeometry & | _tracker |
const TrackerGeometry & | _tracker |
Definition at line 57 of file CosmicTrajectoryBuilder.h.
CompareHitY_plus::CompareHitY_plus | ( | const TrackerGeometry & | tracker | ) | [inline] |
CompareHitY_plus::CompareHitY_plus | ( | const TrackerGeometry & | tracker | ) | [inline] |
bool CompareHitY_plus::operator() | ( | const TrackingRecHit * | rh1, | |
const TrackingRecHit * | rh2 | |||
) | [inline] |
Definition at line 115 of file CRackTrajectoryBuilder.h.
References _tracker, TrackingRecHit::geographicalId(), TrackerGeometry::idToDet(), TrackingRecHit::localPosition(), and GeomDet::toGlobal().
00117 { 00118 GlobalPoint gp1=_tracker.idToDet(rh1->geographicalId())->surface().toGlobal(rh1->localPosition()); 00119 GlobalPoint gp2=_tracker.idToDet(rh2->geographicalId())->surface().toGlobal(rh2->localPosition()); 00120 return gp1.y()>gp2.y();};
bool CompareHitY_plus::operator() | ( | const TrackingRecHit * | rh1, | |
const TrackingRecHit * | rh2 | |||
) | [inline] |
Definition at line 60 of file CosmicTrajectoryBuilder.h.
References _tracker, TrackingRecHit::geographicalId(), TrackerGeometry::idToDet(), TrackingRecHit::localPosition(), and GeomDet::toGlobal().
00062 { 00063 GlobalPoint gp1=_tracker.idToDet(rh1->geographicalId())->surface().toGlobal(rh1->localPosition()); 00064 GlobalPoint gp2=_tracker.idToDet(rh2->geographicalId())->surface().toGlobal(rh2->localPosition()); 00065 return gp1.y()>gp2.y();};
const TrackerGeometry& CompareHitY_plus::_tracker [private] |
Definition at line 120 of file CRackTrajectoryBuilder.h.
const TrackerGeometry& CompareHitY_plus::_tracker [private] |