#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 trackAssociatorByChi2_cfi::chi2cut, edm::ParameterSet::getParameter(), edm::ParameterSet::getUntrackedParameter(), and AlCaHLTBitMon_QueryRunRegistry::string.
CosmicTrajectoryBuilder::~CosmicTrajectoryBuilder | ( | ) |
Definition at line 34 of file CosmicTrajectoryBuilder.cc.
|
private |
Definition at line 232 of file CosmicTrajectoryBuilder.cc.
References funct::abs(), trackAssociatorByChi2_cfi::chi2cut, Trajectory::chiSquared(), Trajectory::firstMeasurement(), Trajectory::foundHits(), TrajectoryStateOnSurface::globalPosition(), hfClusterShapes_cfi::hits, TrajectoryStateOnSurface::isValid(), Trajectory::lastMeasurement(), TrajectoryStateOnSurface::localPosition(), LogDebug, eostools::move(), Trajectory::push(), Trajectory::seed(), mixOne_simraw_on_sim_cfi::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(), mps_fire::i, eostools::move(), and mps_fire::result.
|
inline |
Definition at line 99 of file CosmicTrajectoryBuilder.h.
References SurveyInfoScenario_cff::seed.
Referenced by cms::CosmicTrackFinder::produce().
void CosmicTrajectoryBuilder::init | ( | const edm::EventSetup & | es, |
bool | seedplus | ||
) |
Definition at line 38 of file CosmicTrajectoryBuilder.cc.
References alongMomentum, trackAssociatorByChi2_cfi::chi2cut, Chi2MeasurementEstimator_cfi::Chi2MeasurementEstimator, edm::EventSetup::get(), oppositeToMomentum, edm::ESHandle< T >::product(), and mixOne_simraw_on_sim_cfi::tracker.
|
private |
Definition at line 320 of file CosmicTrajectoryBuilder.cc.
References Trajectory::foundHits(), hfClusterShapes_cfi::hits, 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, hfClusterShapes_cfi::hits, StGenEvtProducer_cfi::init, and iseed.
Referenced by cms::CosmicTrackFinder::produce().
|
private |
Definition at line 141 of file CosmicTrajectoryBuilder.cc.
References rpcPointValidation_cfi::recHit, TrajectorySeed::recHits(), mps_fire::result, GeomDet::surface(), and TrackInfoProducer_cfi::updatedState.
|
private |
Definition at line 170 of file CosmicTrajectoryBuilder.cc.
References edmNew::DetSetVector< T >::data(), hfClusterShapes_cfi::hits, LogDebug, TrajectorySeed::recHits(), and mixOne_simraw_on_sim_cfi::tracker.
|
private |
Definition at line 222 of file CosmicTrajectoryBuilder.cc.
References 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.
Referenced by ntupleDataFormat._TrackingParticleMatchAdaptor::bestMatchingTrackingParticle().
|
private |
Definition at line 124 of file CosmicTrajectoryBuilder.h.
|
private |
Definition at line 131 of file CosmicTrajectoryBuilder.h.
|
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.