#include <CosmicTrajectoryBuilder.h>
Public Member Functions | |
CosmicTrajectoryBuilder (const edm::ParameterSet &conf) | |
Trajectory | createStartingTrajectory (const TrajectorySeed &seed) const |
const TransientTrackingRecHitBuilder * | hitBuilder () const |
void | init (const edm::EventSetup &es, bool) |
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. More... | |
~CosmicTrajectoryBuilder () | |
Private Types | |
typedef TrajectoryMeasurement | TM |
typedef TrajectoryStateOnSurface | TSOS |
Private Member Functions | |
void | AddHit (Trajectory &traj, const std::vector< const TrackingRecHit * > &Hits) |
bool | qualityFilter (const Trajectory &traj) |
std::vector < TrajectoryMeasurement > | seedMeasurements (const TrajectorySeed &seed) const |
std::vector< const TrackingRecHit * > | SortHits (const SiStripRecHit2DCollection &collstereo, const SiStripRecHit2DCollection &collrphi, const SiStripMatchedRecHit2DCollection &collmatched, const SiPixelRecHitCollection &collpixel, const TrajectorySeed &seed) |
TSOS | startingTSOS (const TrajectorySeed &seed) const |
void | updateTrajectory (Trajectory &traj, const TM &tm, const TransientTrackingRecHit &hit) const |
Private Attributes | |
double | chi2cut |
edm::ParameterSet | conf_ |
std::string | geometry |
TkClonerImpl | hitCloner |
TransientTrackingRecHit::RecHitContainer | hits |
edm::ESHandle< MagneticField > | magfield |
const TransientTrackingRecHitBuilder * | RHBuilder |
bool | seed_plus |
Chi2MeasurementEstimator * | theEstimator |
KFTrajectoryFitter * | theFitter |
int | theMinHits |
PropagatorWithMaterial * | thePropagator |
PropagatorWithMaterial * | thePropagatorOp |
KFTrajectorySmoother * | theSmoother |
KFUpdator * | theUpdator |
edm::ESHandle< TrackerGeometry > | tracker |
std::vector< Trajectory > | trajFit |
Definition at line 74 of file CosmicTrajectoryBuilder.h.
|
private |
Definition at line 78 of file CosmicTrajectoryBuilder.h.
|
private |
Definition at line 77 of file CosmicTrajectoryBuilder.h.
CosmicTrajectoryBuilder::CosmicTrajectoryBuilder | ( | const edm::ParameterSet & | conf | ) |
Definition at line 21 of file CosmicTrajectoryBuilder.cc.
References chi2cut, conf_, geometry, edm::ParameterSet::getParameter(), edm::ParameterSet::getUntrackedParameter(), AlCaHLTBitMon_QueryRunRegistry::string, and theMinHits.
CosmicTrajectoryBuilder::~CosmicTrajectoryBuilder | ( | ) |
Definition at line 33 of file CosmicTrajectoryBuilder.cc.
|
private |
Definition at line 254 of file CosmicTrajectoryBuilder.cc.
References funct::abs(), TransientTrackingRecHitBuilder::build(), chi2cut, Trajectory::chiSquared(), Chi2MeasurementEstimator::estimate(), Trajectory::firstMeasurement(), Trajectory::foundHits(), TrajectoryStateOnSurface::globalPosition(), hits, TrajectoryStateOnSurface::isValid(), Trajectory::lastMeasurement(), TrajectoryStateOnSurface::localPosition(), LogDebug, Trajectory::push(), qualityFilter(), RHBuilder, Trajectory::seed(), theEstimator, theFitter, thePropagator, thePropagatorOp, theUpdator, tracker, trajFit, TrajectoryMeasurement::updatedState(), PV3DBase< T, PVType, FrameType >::x(), PV3DBase< T, PVType, FrameType >::y(), and PV3DBase< T, PVType, FrameType >::z().
Referenced by run().
Trajectory CosmicTrajectoryBuilder::createStartingTrajectory | ( | const TrajectorySeed & | seed | ) | const |
Definition at line 131 of file CosmicTrajectoryBuilder.cc.
References TrajectorySeed::direction(), i, query::result, and seedMeasurements().
Referenced by run().
|
inline |
Definition at line 99 of file CosmicTrajectoryBuilder.h.
References RHBuilder.
Referenced by cms::CosmicTrackFinder::produce().
void CosmicTrajectoryBuilder::init | ( | const edm::EventSetup & | es, |
bool | seedplus | ||
) |
Definition at line 37 of file CosmicTrajectoryBuilder.cc.
References alongMomentum, chi2cut, Chi2MeasurementEstimatorESProducer_cfi::Chi2MeasurementEstimator, conf_, edm::EventSetup::get(), edm::ParameterSet::getParameter(), hitCloner, KFTrajectoryFitterESProducer_cfi::KFTrajectoryFitter, KFTrajectorySmootherESProducer_cfi::KFTrajectorySmoother, magfield, oppositeToMomentum, edm::ESHandle< class >::product(), RHBuilder, seed_plus, AlCaHLTBitMon_QueryRunRegistry::string, theEstimator, theFitter, thePropagator, thePropagatorOp, theSmoother, theUpdator, and tracker.
Referenced by run().
|
private |
Definition at line 342 of file CosmicTrajectoryBuilder.cc.
References Trajectory::foundHits(), geometry, hits, and theMinHits.
Referenced by AddHit().
void CosmicTrajectoryBuilder::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.
Definition at line 82 of file CosmicTrajectoryBuilder.cc.
References AddHit(), alongMomentum, createStartingTrajectory(), hits, init(), iseed, SortHits(), theEstimator, theFitter, thePropagator, thePropagatorOp, theSmoother, theUpdator, and trajFit.
Referenced by cms::CosmicTrackFinder::produce().
|
private |
Definition at line 141 of file CosmicTrajectoryBuilder.cc.
References TransientTrackingRecHitBuilder::build(), TrajectorySeed::recHits(), query::result, RHBuilder, startingTSOS(), and GeomDet::surface().
Referenced by createStartingTrajectory().
|
private |
Definition at line 170 of file CosmicTrajectoryBuilder.cc.
References TransientTrackingRecHitBuilder::build(), edmNew::DetSetVector< T >::data(), hits, LogDebug, TrajectorySeed::recHits(), RHBuilder, seed_plus, and tracker.
Referenced by run().
|
private |
Definition at line 244 of file CosmicTrajectoryBuilder.cc.
References magfield, TrajectorySeed::startingState(), and trajectoryStateTransform::transientState().
Referenced by seedMeasurements().
|
private |
|
private |
Definition at line 140 of file CosmicTrajectoryBuilder.h.
Referenced by AddHit(), CosmicTrajectoryBuilder(), and init().
|
private |
Definition at line 126 of file CosmicTrajectoryBuilder.h.
Referenced by CosmicTrajectoryBuilder(), and init().
|
private |
Definition at line 145 of file CosmicTrajectoryBuilder.h.
Referenced by CosmicTrajectoryBuilder(), Vispa.Gui.ConnectableWidget.ConnectableWidget::leaveEvent(), and qualityFilter().
|
private |
Definition at line 133 of file CosmicTrajectoryBuilder.h.
Referenced by init().
|
private |
Definition at line 143 of file CosmicTrajectoryBuilder.h.
Referenced by AddHit(), qualityFilter(), run(), and SortHits().
|
private |
Definition at line 124 of file CosmicTrajectoryBuilder.h.
Referenced by init(), and startingTSOS().
|
private |
Definition at line 132 of file CosmicTrajectoryBuilder.h.
Referenced by AddHit(), hitBuilder(), init(), seedMeasurements(), and SortHits().
|
private |
Definition at line 144 of file CosmicTrajectoryBuilder.h.
Referenced by init(), and SortHits().
|
private |
Definition at line 131 of file CosmicTrajectoryBuilder.h.
|
private |
Definition at line 135 of file CosmicTrajectoryBuilder.h.
|
private |
Definition at line 139 of file CosmicTrajectoryBuilder.h.
Referenced by CosmicTrajectoryBuilder(), and qualityFilter().
|
private |
Definition at line 128 of file CosmicTrajectoryBuilder.h.
|
private |
Definition at line 129 of file CosmicTrajectoryBuilder.h.
|
private |
Definition at line 134 of file CosmicTrajectoryBuilder.h.
|
private |
Definition at line 130 of file CosmicTrajectoryBuilder.h.
|
private |
Definition at line 125 of file CosmicTrajectoryBuilder.h.
Referenced by AddHit(), init(), and SortHits().
|
private |
Definition at line 141 of file CosmicTrajectoryBuilder.h.