#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 makeMuonMisalignmentScenario::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(), makeMuonMisalignmentScenario::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 MillePedeFileConverter_cfg::e, hfClusterShapes_cfi::hits, removeNoDet, and toChi2x5().
Referenced by operator()().
|
inlineprivate |
Definition at line 84 of file Traj2TrackHits.h.
References MillePedeFileConverter_cfg::e, hfClusterShapes_cfi::hits, and removeNoDet.
|
inline |
Definition at line 38 of file Traj2TrackHits.h.
References alongMomentum, copy(), Trajectory::direction(), hfClusterShapes_cfi::hits, keepOrder, Trajectory::measurements(), split(), and crabTemplate::splitting.
|
inline |
Definition at line 57 of file Traj2TrackHits.h.
References alongMomentum, copy(), Trajectory::direction(), hfClusterShapes_cfi::hits, keepOrder, and Trajectory::measurements().
|
inlineprivate |
Definition at line 91 of file Traj2TrackHits.h.
References build(), clone(), MillePedeFileConverter_cfg::e, BaseTrackerRecHit::firstClusterRef(), hfClusterShapes_cfi::hits, trackerHitRTTI::isNotFromCluster(), trackerHitRTTI::isUndef(), keepOrder, and removeNoDet.
Referenced by operator()().
|
inlineprivate |
Definition at line 141 of file Traj2TrackHits.h.
References build(), TrackingRecHit::det(), hfClusterShapes_cfi::hits, SiStripMatchedRecHit2D::monoClusterRef(), GluedGeomDet::monoDet(), GeomDet::position(), 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 hltPixelTracks_cff::chi2, f, and SiStripPI::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().