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
Trajectory createStartingTrajectory(const TrajectorySeed &seed) const
bool operator()(const TrackingRecHit *rh1, const TrackingRecHit *rh2)
CompareHitY_plus(const TrackerGeometry &tracker)
Chi2MeasurementEstimator * theEstimator
GlobalPoint toGlobal(const Local2DPoint &lp) const
Conversion to the global R.F. from the R.F. of the GeomDet.
const TrackerGeometry & _tracker
std::vector< ConstRecHitPointer > RecHitContainer
GlobalPoint globalPosition() const
const TrackerGeometry & _tracker
const TransientTrackingRecHitBuilder * RHBuilder
const edm::ESGetToken< MagneticField, IdealMagneticFieldRecord > magfieldToken_
TransientTrackingRecHit::RecHitContainer hits
~CRackTrajectoryBuilder()
CompareDetByTraj(const TSOS &tSos)
std::vector< const TrackingRecHit * >::iterator TrackingRecHitIterator
CompareDetY_minus(const TrackerGeometry &tracker)
const KFTrajectorySmoother * theSmoother
std::pair< TrajectoryStateOnSurface, const GeomDet * > innerState(const Trajectory &traj) const
std::vector< Trajectory > trajFit
std::pair< TrackingRecHitRangeIterator, TSOS > PairTrackingRecHitTsos
bool qualityFilter(const Trajectory &traj)
const edm::ESGetToken< TransientTrackingRecHitBuilder, TransientRecHitRecord > builderToken_
const Surface::PositionType & position() const
The position (origin of the R.F.)
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)
const TrackerGeometry * tracker
CompareHitY(const TrackerGeometry &tracker)
PropagatorWithMaterial * thePropagatorOp
std::vector< TrajectoryMeasurement > seedMeasurements(const TrajectorySeed &seed) const
const edm::ESGetToken< TrackerGeometry, TrackerDigiGeometryRecord > trackerToken_
const TransientTrackingRecHitBuilder * hitBuilder() const
const TrackerGeomDet * idToDet(DetId) const override
TSOS startingTSOS(const TrajectorySeed &seed) const
const TrajectoryStateOnSurface & _tSos
bool operator()(const TrackingRecHit *rh1, const TrackingRecHit *rh2)
const MagneticField * magfield
bool operator()(const std::pair< TrackingRecHitRangeIterator, TSOS > rh1, const std::pair< TrackingRecHitRangeIterator, TSOS > rh2)
bool isDifferentStripReHit2D(const SiStripRecHit2D &hitA, const SiStripRecHit2D &hitB)
std::pair< TrackingRecHitIterator, TrackingRecHitIterator > TrackingRecHitRange
CRackTrajectoryBuilder(const edm::ParameterSet &conf, edm::ConsumesCollector iC)
void init(const edm::EventSetup &es, bool)
TrajectoryStateOnSurface TSOS
PropagatorWithMaterial * thePropagator
const KFTrajectoryFitter * theFitter
void updateTrajectory(Trajectory &traj, const TM &tm, const TransientTrackingRecHit &hit) const
std::vector< const TrackingRecHit * > SortHits(const SiStripRecHit2DCollection &collstereo, const SiStripRecHit2DCollection &collrphi, const SiStripMatchedRecHit2DCollection &collmatched, const SiPixelRecHitCollection &collpixel, const TrajectorySeed &seed, const bool bAddSeedHits)
DetId geographicalId() const
virtual LocalPoint localPosition() const =0
void AddHit(Trajectory &traj, const std::vector< const TrackingRecHit * > &Hits, Propagator *currPropagator)
const TrackerGeometry & _tracker
const TrackerGeometry & _tracker
bool operator()(const TrackingRecHit *rh1, const TrackingRecHit *rh2)
GlobalVector globalDirection() const