Go to the documentation of this file. 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);
const TrackerGeomDet * idToDet(DetId) const override
PropagatorWithMaterial * thePropagatorOp
void AddHit(Trajectory &traj, const std::vector< const TrackingRecHit * > &Hits)
std::vector< TrajectorySeed > TrajectorySeedCollection
KFTrajectorySmoother * theSmoother
KFTrajectoryFitter * theFitter
virtual LocalPoint localPosition() const =0
bool operator()(const TrackingRecHit *rh1, const TrackingRecHit *rh2)
DetId geographicalId() const
edm::ESHandle< TrackerGeometry > tracker
CompareHitY_plus(const TrackerGeometry &tracker)
void updateTrajectory(Trajectory &traj, const TM &tm, const TransientTrackingRecHit &hit) const
edm::ESHandle< MagneticField > magfield
std::vector< ConstRecHitPointer > RecHitContainer
const TrackerGeometry & _tracker
TrajectoryStateOnSurface TSOS
std::vector< Trajectory > trajFit
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.
GlobalPoint toGlobal(const Local2DPoint &lp) const
Conversion to the global R.F. from the R.F. of the GeomDet.
void init(const edm::EventSetup &es, bool)
PropagatorWithMaterial * thePropagator
const TransientTrackingRecHitBuilder * RHBuilder
std::vector< const TrackingRecHit * > SortHits(const SiStripRecHit2DCollection &collstereo, const SiStripRecHit2DCollection &collrphi, const SiStripMatchedRecHit2DCollection &collmatched, const SiPixelRecHitCollection &collpixel, const TrajectorySeed &seed)
CosmicTrajectoryBuilder(const edm::ParameterSet &conf)
bool qualityFilter(const Trajectory &traj)
std::string theBuilderName
const TrackerGeometry & _tracker
~CosmicTrajectoryBuilder()
TransientTrackingRecHit::RecHitContainer hits
std::vector< TrajectoryMeasurement > seedMeasurements(const TrajectorySeed &seed) const
CompareHitY(const TrackerGeometry &tracker)
Trajectory createStartingTrajectory(const TrajectorySeed &seed) const
TSOS startingTSOS(const TrajectorySeed &seed) const
bool operator()(const TrackingRecHit *rh1, const TrackingRecHit *rh2)
const TransientTrackingRecHitBuilder * hitBuilder() const
Chi2MeasurementEstimator * theEstimator