#include <Traj2TrackHits.h>
Public Types | |
using | Chi2sFive = std::vector< unsigned char > |
using | TrajParams = std::vector< LocalTrajectoryParameters > |
Public Member Functions | |
void | operator() (Trajectory const &traj, TrackingRecHitCollection &hits, bool splitting) const |
void | operator() (Trajectory const &traj, TrackingRecHitCollection &hits, TrajParams &trajParams, Chi2sFive &chi2s) const |
Traj2TrackHits () | |
Traj2TrackHits (const TransientTrackingRecHitBuilder *builder, bool ikeepOrder, bool noNoDet=true) | |
Static Public Member Functions | |
static unsigned char | toChi2x5 (float chi2) |
Private Member Functions | |
BaseTrackerRecHit * | build (GeomDetUnit const &idet, OmniClusterRef const &clus) const |
TrackingRecHit * | clone (BaseTrackerRecHit const &hit2D) const |
template<typename HI > | |
void | copy (HI itm, HI e, TrackingRecHitCollection &hits, TrajParams &trajParams, Chi2sFive &chi2s) const |
template<typename HI > | |
void | copy (HI itm, HI e, TrackingRecHitCollection &hits) const |
template<typename HI > | |
void | split (HI itm, HI e, TrackingRecHitCollection &hits, bool along) const |
void | split (TrajectoryMeasurement const &itm, SiStripMatchedRecHit2D const &mhit, TrackingRecHitCollection &hits, float zdir) const |
Private Attributes | |
bool | keepOrder = false |
bool | removeNoDet = true |
const StripClusterParameterEstimator * | theCPE = nullptr |
Definition at line 16 of file Traj2TrackHits.h.
using Traj2TrackHits::Chi2sFive = std::vector<unsigned char> |
Definition at line 23 of file Traj2TrackHits.h.
using Traj2TrackHits::TrajParams = std::vector<LocalTrajectoryParameters> |
Definition at line 22 of file Traj2TrackHits.h.
|
inline |
Definition at line 31 of file Traj2TrackHits.h.
|
inline |
Definition at line 33 of file Traj2TrackHits.h.
|
inlineprivate |
Definition at line 131 of file Traj2TrackHits.h.
References Reference_intrackfit_cff::endcap, GeomDetType::isEndcap(), StripClusterParameterEstimator::localParameters(), SiStripPI::max, OmniClusterRef::stripCluster(), theCPE, and GeomDet::type().
Referenced by split().
|
inlineprivate |
Definition at line 119 of file Traj2TrackHits.h.
References TrackingRecHit::clone(), TrackingRecHit::det(), TrackingRecHit::detUnit(), Reference_intrackfit_cff::endcap, BaseTrackerRecHit::firstClusterRef(), BaseTrackerRecHit::localPosition(), BaseTrackerRecHit::localPositionError(), SiStripPI::max, and LocalError::xx().
Referenced by split().
|
inlineprivate |
Definition at line 74 of file Traj2TrackHits.h.
References alignCSCRings::e, edm::OwnVector< T, P >::push_back(), removeNoDet, and toChi2x5().
Referenced by operator()().
|
inlineprivate |
Definition at line 84 of file Traj2TrackHits.h.
References alignCSCRings::e, edm::OwnVector< T, P >::push_back(), and removeNoDet.
|
inline |
Definition at line 38 of file Traj2TrackHits.h.
References alongMomentum, copy(), Trajectory::direction(), keepOrder, Trajectory::measurements(), edm::OwnVector< T, P >::reserve(), edm::OwnVector< T, P >::shrink_to_fit(), and split().
|
inline |
Definition at line 57 of file Traj2TrackHits.h.
References alongMomentum, copy(), Trajectory::direction(), keepOrder, and Trajectory::measurements().
|
inlineprivate |
Definition at line 91 of file Traj2TrackHits.h.
References build(), clone(), alignCSCRings::e, BaseTrackerRecHit::firstClusterRef(), trackerHitRTTI::isNotFromCluster(), trackerHitRTTI::isUndef(), keepOrder, edm::OwnVector< T, P >::push_back(), and removeNoDet.
Referenced by operator()().
|
inlineprivate |
Definition at line 141 of file Traj2TrackHits.h.
References build(), TrackingRecHit::det(), SiStripMatchedRecHit2D::monoClusterRef(), GluedGeomDet::monoDet(), GeomDet::position(), edm::OwnVector< T, P >::push_back(), hitfit::scalar(), SiStripMatchedRecHit2D::stereoClusterRef(), GluedGeomDet::stereoDet(), TrajectoryStateOnSurface::surface(), GloballyPositioned< T >::toLocal(), TrajectoryMeasurement::updatedState(), and PV3DBase< T, PVType, FrameType >::z().
|
inlinestatic |
Definition at line 25 of file Traj2TrackHits.h.
References validate-o2o-wbm::f, and min().
Referenced by copy(), and HITrackClusterRemover::process().
|
private |
Definition at line 19 of file Traj2TrackHits.h.
Referenced by operator()(), and split().
|
private |
Definition at line 20 of file Traj2TrackHits.h.
|
private |
Definition at line 18 of file Traj2TrackHits.h.
Referenced by build().