1 #ifndef CRackTrajectoryBuilder_h 2 #define CRackTrajectoryBuilder_h 51 if (gp1.
y() > gp2.
y())
53 if (gp1.
y() < gp2.
y())
75 if (gp1.
y() < gp2.
y())
77 if (gp1.
y() > gp2.
y())
89 #ifndef TrajectoryBuilder_CompareHitY 90 #define TrajectoryBuilder_CompareHitY 98 return gp1.
y() < gp2.
y();
112 return gp1.
y() > gp2.
y();
143 bool operator()(
const std::pair<TrackingRecHitRangeIterator, TSOS> rh1,
144 const std::pair<TrackingRecHitRangeIterator, TSOS> rh2) {
187 std::vector<Trajectory>& trajoutput);
202 const bool bAddSeedHits);
std::vector< TrackingRecHitRange >::iterator TrackingRecHitRangeIterator
bool operator()(const TrackingRecHit *rh1, const TrackingRecHit *rh2)
CompareHitY_plus(const TrackerGeometry &tracker)
Chi2MeasurementEstimator * theEstimator
const TrackerGeometry & _tracker
std::vector< ConstRecHitPointer > RecHitContainer
const TrackerGeometry & _tracker
const TransientTrackingRecHitBuilder * RHBuilder
std::pair< TrajectoryStateOnSurface, const GeomDet * > innerState(const Trajectory &traj) const
const edm::ESGetToken< MagneticField, IdealMagneticFieldRecord > magfieldToken_
TransientTrackingRecHit::RecHitContainer hits
~CRackTrajectoryBuilder()
CompareDetByTraj(const TSOS &tSos)
void updateTrajectory(Trajectory &traj, const TM &tm, const TransientTrackingRecHit &hit) const
std::vector< const TrackingRecHit * >::iterator TrackingRecHitIterator
CompareDetY_minus(const TrackerGeometry &tracker)
const KFTrajectorySmoother * theSmoother
std::vector< Trajectory > trajFit
std::pair< TrackingRecHitRangeIterator, TSOS > PairTrackingRecHitTsos
bool qualityFilter(const Trajectory &traj)
const edm::ESGetToken< TransientTrackingRecHitBuilder, TransientRecHitRecord > builderToken_
GlobalPoint globalPosition() const
bool operator()(const TrackingRecHit *rh1, const TrackingRecHit *rh2)
std::vector< TrajectorySeed > TrajectorySeedCollection
void run(const TrajectorySeedCollection &collseed, const SiStripRecHit2DCollection &collstereo, const SiStripRecHit2DCollection &collrphi, const SiStripMatchedRecHit2DCollection &collmatched, const SiPixelRecHitCollection &collpixel, const edm::EventSetup &es, edm::Event &e, std::vector< Trajectory > &trajoutput)
Runs the algorithm.
CompareDetY_plus(const TrackerGeometry &tracker)
void AddHit(Trajectory &traj, const std::vector< const TrackingRecHit *> &Hits, Propagator *currPropagator)
const TrackerGeometry * tracker
CompareHitY(const TrackerGeometry &tracker)
TSOS startingTSOS(const TrajectorySeed &seed) const
PropagatorWithMaterial * thePropagatorOp
const edm::ESGetToken< TrackerGeometry, TrackerDigiGeometryRecord > trackerToken_
const TrackerGeomDet * idToDet(DetId) const override
GlobalPoint toGlobal(const Local2DPoint &lp) const
Conversion to the global R.F. from the R.F. of the GeomDet.
const TrajectoryStateOnSurface & _tSos
bool operator()(const TrackingRecHit *rh1, const TrackingRecHit *rh2)
std::vector< TrajectoryMeasurement > seedMeasurements(const TrajectorySeed &seed) const
const MagneticField * magfield
bool operator()(const std::pair< TrackingRecHitRangeIterator, TSOS > rh1, const std::pair< TrackingRecHitRangeIterator, TSOS > rh2)
DetId geographicalId() const
bool isDifferentStripReHit2D(const SiStripRecHit2D &hitA, const SiStripRecHit2D &hitB)
std::pair< TrackingRecHitIterator, TrackingRecHitIterator > TrackingRecHitRange
GlobalVector globalDirection() const
Trajectory createStartingTrajectory(const TrajectorySeed &seed) const
CRackTrajectoryBuilder(const edm::ParameterSet &conf, edm::ConsumesCollector iC)
void init(const edm::EventSetup &es, bool)
TrajectoryStateOnSurface TSOS
PropagatorWithMaterial * thePropagator
const Surface::PositionType & position() const
The position (origin of the R.F.)
const KFTrajectoryFitter * theFitter
std::vector< const TrackingRecHit * > SortHits(const SiStripRecHit2DCollection &collstereo, const SiStripRecHit2DCollection &collrphi, const SiStripMatchedRecHit2DCollection &collmatched, const SiPixelRecHitCollection &collpixel, const TrajectorySeed &seed, const bool bAddSeedHits)
virtual LocalPoint localPosition() const =0
const TrackerGeometry & _tracker
const TrackerGeometry & _tracker
bool operator()(const TrackingRecHit *rh1, const TrackingRecHit *rh2)
const TransientTrackingRecHitBuilder * hitBuilder() const