|
|
◆ CalibrationTrackSelectorFromDetIdList()
CalibrationTrackSelectorFromDetIdList::CalibrationTrackSelectorFromDetIdList |
( |
const edm::ParameterSet & |
iConfig | ) |
|
|
explicit |
◆ ~CalibrationTrackSelectorFromDetIdList()
CalibrationTrackSelectorFromDetIdList::~CalibrationTrackSelectorFromDetIdList |
( |
| ) |
|
|
override |
◆ beginRun()
◆ makeCandidate()
Definition at line 124 of file CalibrationTrackSelectorFromDetIdList.cc.
131 throw cms::Exception(
"UnimplementedFeature") <<
"Cannot work with tracks that have 'anyDirecton' \n";
146 ownHits.
reserve(hitsEnd - hitsBegin);
147 for (; hitsBegin != hitsEnd; ++hitsBegin) {
148 ownHits.
push_back((*hitsBegin)->clone());
References alongMomentum, anyDirection, Exception, reco::Track::innerDetId(), reco::Track::innerPosition(), trajectoryStateTransform::innerStateOnSurface(), reco::TrackBase::momentum(), reco::Track::outerDetId(), reco::Track::outerPosition(), trajectoryStateTransform::outerStateOnSurface(), trajectoryStateTransform::persistentState(), edm::OwnVector< T, P >::push_back(), edm::OwnVector< T, P >::reserve(), SurveyInfoScenario_cff::seed, reco::Track::seedDirection(), reco::Track::seedRef(), theGeometry, and theMagField.
Referenced by produce().
◆ produce()
◆ detidsels_
std::vector<DetIdSelector> CalibrationTrackSelectorFromDetIdList::detidsels_ |
|
private |
◆ m_label
◆ m_verbose
bool CalibrationTrackSelectorFromDetIdList::m_verbose |
|
private |
◆ theGeometry
◆ theMagField
const math::XYZPoint & outerPosition() const
position of the outermost hit
T const * product() const
edm::ESHandle< MagneticField > theMagField
unsigned int outerDetId() const
DetId of the detector on which surface the outermost state is located.
T getUntrackedParameter(std::string const &, T const &) const
edm::EDGetTokenT< reco::TrackCollection > m_label
TrackCandidate makeCandidate(const reco::Track &tk, std::vector< const TrackingRecHit * >::iterator hitsBegin, std::vector< const TrackingRecHit * >::iterator hitsEnd)
edm::ESHandle< TrackerGeometry > theGeometry
const PropagationDirection & seedDirection() const
direction of how the hits were sorted in the original seed
const math::XYZPoint & innerPosition() const
position of the innermost hit
unsigned int innerDetId() const
DetId of the detector on which surface the innermost state is located.
T getParameter(std::string const &) const
constexpr uint32_t rawId() const
get the raw id
const edm::RefToBase< TrajectorySeed > & seedRef() const
const DetIdContainer & detIds() const override
Returm a vector of all GeomDet DetIds (including those of GeomDetUnits)
const Vector & momentum() const
track momentum vector
std::vector< DetIdSelector > detidsels_