#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 |
std::string | geometry |
TkClonerImpl | hitCloner |
TransientTrackingRecHit::RecHitContainer | hits |
edm::ESHandle< MagneticField > | magfield |
const TransientTrackingRecHitBuilder * | RHBuilder |
bool | seed_plus |
std::string | theBuilderName |
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 geometry, edm::ParameterSet::getParameter(), edm::ParameterSet::getUntrackedParameter(), and AlCaHLTBitMon_QueryRunRegistry::string.
CosmicTrajectoryBuilder::~CosmicTrajectoryBuilder | ( | ) |
Definition at line 34 of file CosmicTrajectoryBuilder.cc.
|
private |
Definition at line 254 of file CosmicTrajectoryBuilder.cc.
References funct::abs(), Trajectory::chiSquared(), Trajectory::firstMeasurement(), Trajectory::foundHits(), TrajectoryStateOnSurface::globalPosition(), TrajectoryStateOnSurface::isValid(), Trajectory::lastMeasurement(), TrajectoryStateOnSurface::localPosition(), LogDebug, eostools::move(), Trajectory::push(), Trajectory::seed(), patCandidatesForDimuonsSequences_cff::tracker, TrajectoryStateOnSurface::update(), TrajectoryMeasurement::updatedState(), PV3DBase< T, PVType, FrameType >::x(), PV3DBase< T, PVType, FrameType >::y(), and PV3DBase< T, PVType, FrameType >::z().
Trajectory CosmicTrajectoryBuilder::createStartingTrajectory | ( | const TrajectorySeed & | seed | ) | const |
Definition at line 131 of file CosmicTrajectoryBuilder.cc.
References TrajectorySeed::direction(), i, eostools::move(), and mps_fire::result.
|
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 38 of file CosmicTrajectoryBuilder.cc.
References alongMomentum, HLT_FULL_cff::cloner, edm::EventSetup::get(), HLT_ES_cff::magfield, oppositeToMomentum, edm::ESHandle< class >::product(), and patCandidatesForDimuonsSequences_cff::tracker.
|
private |
Definition at line 342 of file CosmicTrajectoryBuilder.cc.
References Trajectory::foundHits(), geometry, and Trajectory::recHits().
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 alongMomentum, init, and iseed.
Referenced by cms::CosmicTrackFinder::produce().
|
private |
Definition at line 141 of file CosmicTrajectoryBuilder.cc.
References TrajectorySeed::recHits(), mps_fire::result, and GeomDet::surface().
|
private |
Definition at line 170 of file CosmicTrajectoryBuilder.cc.
References edmNew::DetSetVector< T >::data(), LogDebug, TrajectorySeed::recHits(), and patCandidatesForDimuonsSequences_cff::tracker.
|
private |
Definition at line 244 of file CosmicTrajectoryBuilder.cc.
References HLT_ES_cff::magfield, TrajectorySeed::startingState(), and trajectoryStateTransform::transientState().
|
private |
|
private |
Definition at line 139 of file CosmicTrajectoryBuilder.h.
|
private |
Definition at line 144 of file CosmicTrajectoryBuilder.h.
Referenced by Vispa.Gui.ConnectableWidget.ConnectableWidget::leaveEvent().
|
private |
Definition at line 132 of file CosmicTrajectoryBuilder.h.
|
private |
Definition at line 142 of file CosmicTrajectoryBuilder.h.
|
private |
Definition at line 124 of file CosmicTrajectoryBuilder.h.
|
private |
Definition at line 131 of file CosmicTrajectoryBuilder.h.
Referenced by hitBuilder().
|
private |
Definition at line 143 of file CosmicTrajectoryBuilder.h.
|
private |
Definition at line 145 of file CosmicTrajectoryBuilder.h.
|
private |
Definition at line 130 of file CosmicTrajectoryBuilder.h.
|
private |
Definition at line 134 of file CosmicTrajectoryBuilder.h.
|
private |
Definition at line 138 of file CosmicTrajectoryBuilder.h.
|
private |
Definition at line 127 of file CosmicTrajectoryBuilder.h.
|
private |
Definition at line 128 of file CosmicTrajectoryBuilder.h.
|
private |
Definition at line 133 of file CosmicTrajectoryBuilder.h.
|
private |
Definition at line 129 of file CosmicTrajectoryBuilder.h.
|
private |
Definition at line 125 of file CosmicTrajectoryBuilder.h.
|
private |
Definition at line 140 of file CosmicTrajectoryBuilder.h.