#include <SiTrackerMultiRecHitUpdator.h>
Public Types | |
typedef std::pair< LocalPoint, LocalError > | LocalParameters |
Public Member Functions | |
const std::vector< double > & | annealingProgram () const |
virtual TransientTrackingRecHit::RecHitPointer | buildMultiRecHit (const std::vector< const TrackingRecHit * > &rhv, const TrajectoryStateOnSurface &tsos, MeasurementDetWithData &measDet, float annealing=1.) const |
double | ComputeWeight (const TrajectoryStateOnSurface &tsos, const TransientTrackingRecHit &aRecHit, bool CutWeight, double annealing=1.) const |
template<unsigned int N> | |
double | ComputeWeight (const TrajectoryStateOnSurface &tsos, const TransientTrackingRecHit &aRecHit, bool CutWeight, double annealing=1.) const |
const std::vector< double > & | getAnnealingProgram () const |
const TransientTrackingRecHitBuilder * | getBuilder () const |
SiTrackerMultiRecHitUpdator (const TransientTrackingRecHitBuilder *builder, const TrackingRecHitPropagator *hitpropagator, const float Chi2Cut1D, const float Chi2Cut2D, const std::vector< double > &anAnnealingProgram, bool debug) | |
TransientTrackingRecHit::RecHitPointer | update (TransientTrackingRecHit::ConstRecHitContainer &tcomponents, const TrajectoryStateOnSurface &tsos, MeasurementDetWithData &measDet, double annealing=1.) const |
virtual TransientTrackingRecHit::RecHitPointer | update (TransientTrackingRecHit::ConstRecHitPointer original, const TrajectoryStateOnSurface &tsos, MeasurementDetWithData &measDet, double annealing=1.) const |
virtual | ~SiTrackerMultiRecHitUpdator () |
Private Member Functions | |
LocalParameters | calcParameters (const TrajectoryStateOnSurface &tsos, std::vector< std::pair< const TrackingRecHit *, float > > &aHitMap) const |
template<unsigned int N> | |
LocalParameters | calcParameters (const TrajectoryStateOnSurface &tsos, std::vector< std::pair< const TrackingRecHit *, float > > &aHitMap) const |
bool | TIDorTEChit (const TrackingRecHit *const &hit) const |
Private Attributes | |
bool | debug_ |
const std::vector< double > | theAnnealingProgram |
const TransientTrackingRecHitBuilder * | theBuilder |
double | theChi2Cut1D |
double | theChi2Cut2D |
TkClonerImpl | theHitCloner |
const TrackingRecHitPropagator * | theHitPropagator |
Builds a SiTrackerMultiRecHit out of a vector of TrackingRecHit or updates an existing SiTrackerMultiRecHit given a tsos.
Definition at line 27 of file SiTrackerMultiRecHitUpdator.h.
typedef std::pair<LocalPoint, LocalError> SiTrackerMultiRecHitUpdator::LocalParameters |
Definition at line 29 of file SiTrackerMultiRecHitUpdator.h.
SiTrackerMultiRecHitUpdator::SiTrackerMultiRecHitUpdator | ( | const TransientTrackingRecHitBuilder * | builder, |
const TrackingRecHitPropagator * | hitpropagator, | ||
const float | Chi2Cut1D, | ||
const float | Chi2Cut2D, | ||
const std::vector< double > & | anAnnealingProgram, | ||
bool | debug | ||
) |
|
inlinevirtual |
Definition at line 36 of file SiTrackerMultiRecHitUpdator.h.
|
inline |
|
virtual |
Definition at line 32 of file SiTrackerMultiRecHitUpdator.cc.
References TransientTrackingRecHitBuilder::build(), LogTrace, theBuilder, and update().
|
private |
Definition at line 298 of file SiTrackerMultiRecHitUpdator.cc.
References Exception, dqmdumpme::first, LogTrace, and Skims_PA_cff::name.
Referenced by update().
|
private |
Definition at line 316 of file SiTrackerMultiRecHitUpdator.cc.
References gen::C, relativeConstraints::error, f, invertPosDefMatrix(), TrajectoryStateOnSurface::localError(), TrajectoryStateOnSurface::localParameters(), LogTrace, LocalTrajectoryError::matrix(), SiStripPI::max, N, packedPFCandidateRefMixer_cfi::pf, position, alignCSCRings::r, alignCSCRings::s, TIDorTEChit(), cms::cuda::V, LocalTrajectoryParameters::vector(), and x.
double SiTrackerMultiRecHitUpdator::ComputeWeight | ( | const TrajectoryStateOnSurface & | tsos, |
const TransientTrackingRecHit & | aRecHit, | ||
bool | CutWeight, | ||
double | annealing = 1. |
||
) | const |
Definition at line 193 of file SiTrackerMultiRecHitUpdator.cc.
References TrackingRecHit::dimension(), Exception, and Skims_PA_cff::name.
Referenced by update().
double SiTrackerMultiRecHitUpdator::ComputeWeight | ( | const TrajectoryStateOnSurface & | tsos, |
const TransientTrackingRecHit & | aRecHit, | ||
bool | CutWeight, | ||
double | annealing = 1. |
||
) | const |
Definition at line 215 of file SiTrackerMultiRecHitUpdator.cc.
References gen::C, RecoSummaryTask_cfi::Chi2, change_name::diff, JetChargeProducer_cfi::exp, TrackingRecHit::getKfComponents(), invertPosDefMatrix(), TrajectoryStateOnSurface::localError(), TrajectoryStateOnSurface::localParameters(), LogTrace, LocalTrajectoryError::matrix(), N, packedPFCandidateRefMixer_cfi::pf, dttmaxenums::R, alignCSCRings::r, theChi2Cut1D, theChi2Cut2D, LocalTrajectoryParameters::vector(), and x.
|
inline |
|
inline |
Definition at line 71 of file SiTrackerMultiRecHitUpdator.h.
References theBuilder.
Referenced by SimpleDAFHitCollector::SimpleDAFHitCollector().
|
private |
Definition at line 387 of file SiTrackerMultiRecHitUpdator.cc.
References DetId::det(), DetId::subdetId(), StripSubdetector::TEC, StripSubdetector::TID, and DetId::Tracker.
Referenced by calcParameters().
TransientTrackingRecHit::RecHitPointer SiTrackerMultiRecHitUpdator::update | ( | TransientTrackingRecHit::ConstRecHitContainer & | tcomponents, |
const TrajectoryStateOnSurface & | tsos, | ||
MeasurementDetWithData & | measDet, | ||
double | annealing = 1. |
||
) | const |
Definition at line 76 of file SiTrackerMultiRecHitUpdator.cc.
References calcParameters(), cropTnPTrees::cloned, ComputeWeight(), counter, MillePedeFileConverter_cfg::e, Exception, dqmdumpme::first, MeasurementDet::geomDet(), invalid, TrajectoryStateOnSurface::isValid(), LogTrace, TkClonerImpl::makeShared(), MeasurementDetWithData::mdet(), TrackingRecHit::missing, Skims_PA_cff::name, AlCaHLTBitMon_ParallelJobs::p, GloballyPositioned< T >::position(), TrackingRecHitPropagator::project(), edm::second(), TrajectoryStateOnSurface::surface(), theBuilder, theHitCloner, theHitPropagator, and createJobs::tmp.
Referenced by progressbar.ProgressBar::__next__(), MatrixUtil.Matrix::__setitem__(), MatrixUtil.Steps::__setitem__(), progressbar.ProgressBar::finish(), and MatrixUtil.Steps::overwrite().
|
virtual |
Definition at line 49 of file SiTrackerMultiRecHitUpdator.cc.
References Exception, TrajectoryStateOnSurface::isValid(), LogTrace, TkClonerImpl::makeShared(), definitions::original, and theHitCloner.
Referenced by progressbar.ProgressBar::__next__(), MatrixUtil.Matrix::__setitem__(), MatrixUtil.Steps::__setitem__(), buildMultiRecHit(), progressbar.ProgressBar::finish(), and MatrixUtil.Steps::overwrite().
|
private |
Definition at line 88 of file SiTrackerMultiRecHitUpdator.h.
|
private |
Definition at line 86 of file SiTrackerMultiRecHitUpdator.h.
Referenced by annealingProgram(), and getAnnealingProgram().
|
private |
Definition at line 82 of file SiTrackerMultiRecHitUpdator.h.
Referenced by buildMultiRecHit(), getBuilder(), and update().
|
private |
Definition at line 84 of file SiTrackerMultiRecHitUpdator.h.
Referenced by ComputeWeight().
|
private |
Definition at line 85 of file SiTrackerMultiRecHitUpdator.h.
Referenced by ComputeWeight().
|
private |
Definition at line 87 of file SiTrackerMultiRecHitUpdator.h.
Referenced by SiTrackerMultiRecHitUpdator(), and update().
|
private |
Definition at line 83 of file SiTrackerMultiRecHitUpdator.h.
Referenced by update().