1 #ifndef CosmicTrajectoryBuilder_h 2 #define CosmicTrajectoryBuilder_h 41 #ifndef TrajectoryBuilder_CompareHitY 42 #define TrajectoryBuilder_CompareHitY 50 return gp1.
y() < gp2.
y();
64 return gp1.
y() > gp2.
y();
91 std::vector<Trajectory> &trajoutput);
110 void AddHit(
Trajectory &traj,
const std::vector<const TrackingRecHit *> &Hits);
void AddHit(Trajectory &traj, const std::vector< const TrackingRecHit *> &Hits)
KFTrajectoryFitter * theFitter
KFTrajectorySmoother * theSmoother
CosmicTrajectoryBuilder(const edm::ParameterSet &conf, edm::ConsumesCollector iC)
bool operator()(const TrackingRecHit *rh1, const TrackingRecHit *rh2)
CompareHitY_plus(const TrackerGeometry &tracker)
const MagneticField * magfield
Trajectory createStartingTrajectory(const TrajectorySeed &seed) const
const edm::ESGetToken< TrackerGeometry, TrackerDigiGeometryRecord > trackerToken_
TrajectoryStateOnSurface TSOS
const TransientTrackingRecHitBuilder * hitBuilder() const
PropagatorWithMaterial * thePropagatorOp
std::vector< ConstRecHitPointer > RecHitContainer
const TrackerGeometry & _tracker
const TrackerGeometry * tracker
std::vector< Trajectory > trajFit
void init(const edm::EventSetup &es, bool)
const TransientTrackingRecHitBuilder * RHBuilder
const edm::ESGetToken< TransientTrackingRecHitBuilder, TransientRecHitRecord > builderToken_
bool operator()(const TrackingRecHit *rh1, const TrackingRecHit *rh2)
std::vector< TrajectorySeed > TrajectorySeedCollection
CompareHitY(const TrackerGeometry &tracker)
std::vector< TrajectoryMeasurement > seedMeasurements(const TrajectorySeed &seed) const
void updateTrajectory(Trajectory &traj, const TM &tm, const TransientTrackingRecHit &hit) const
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.
TSOS startingTSOS(const TrajectorySeed &seed) const
DetId geographicalId() const
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.
PropagatorWithMaterial * thePropagator
std::vector< const TrackingRecHit * > SortHits(const SiStripRecHit2DCollection &collstereo, const SiStripRecHit2DCollection &collrphi, const SiStripMatchedRecHit2DCollection &collmatched, const SiPixelRecHitCollection &collpixel, const TrajectorySeed &seed)
Chi2MeasurementEstimator * theEstimator
bool qualityFilter(const Trajectory &traj)
const edm::ESGetToken< MagneticField, IdealMagneticFieldRecord > magfieldToken_
TransientTrackingRecHit::RecHitContainer hits
~CosmicTrajectoryBuilder()
virtual LocalPoint localPosition() const =0
const TrackerGeometry & _tracker