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