40 TrackExtraRefProd rTrackExtras = evt.template getRefBeforePut<TrackExtraCollection>();
42 GsfTrackRefProd rTracks = evt.template getRefBeforePut<GsfTrackCollection>();
45 SuperClusterRefProd rSuperClusters = evt.template getRefBeforePut<SuperClusterCollection>();
46 size_t idx = 0, tidx = 0, hidx = 0;
65 unsigned int nHitsToAdd = 0;
67 selHits_->push_back( (*hit)->clone() );
70 tx.
setHits( rHits, hidx, nHitsToAdd );
edm::Ref< GsfTrackCollection > GsfTrackRef
persistent reference to a GsfTrack
GsfTrackRef gsfTrack() const override
reference to a GsfTrack
edm::Ref< GsfElectronCoreCollection > GsfElectronCoreRef
bool isNonnull() const
Checks for non-null.
const TrackExtraRef & extra() const
reference to "extra" object
void setGsfExtra(const GsfTrackExtraRef &ref)
set reference to GSF "extra" object
bool innerOk() const
return true if the innermost hit is valid
std::unique_ptr< reco::GsfTrackCollection > selTracks_
std::unique_ptr< reco::GsfElectronCollection > selElectrons_
edm::Ref< TrackExtraCollection > TrackExtraRef
persistent reference to a TrackExtra
edm::Ptr< CaloCluster > CaloClusterPtr
std::unique_ptr< TrackingRecHitCollection > selHits_
const math::XYZPoint & outerPosition() const
position of the outermost hit
edm::Ref< SuperClusterCollection > SuperClusterRef
reference to an object in a collection of SuperCluster objects
const math::XYZPoint & innerPosition() const
position of the innermost hit
edm::RefToBase< reco::Track > TrackBaseRef
persistent reference to a Track, using views
CovarianceMatrix outerStateCovariance() const
outermost trajectory state curvilinear errors
std::unique_ptr< reco::TrackExtraCollection > selTrackExtras_
unsigned int outerDetId() const
DetId of the detector on which surface the outermost state is located.
const std::complex< double > I
edm::RefVector< GsfTrackCollection > GsfTrackRefVector
vector of reference to GsfTrack in the same collection
trackingRecHit_iterator recHitsBegin() const
Iterator to first hit on the track.
std::unique_ptr< reco::SuperClusterCollection > selSuperClusters_
edm::Ref< GsfTrackExtraCollection > GsfTrackExtraRef
persistent reference to a GsfTrackExtra
void setExtra(const TrackExtraRef &ref)
set reference to "extra" object
const GsfTrackExtraRef & gsfExtra() const
reference to "extra" object
const math::XYZVector & outerMomentum() const
momentum vector at the outermost hit position
bool outerOk() const
return true if the outermost hit is valid
const PropagationDirection & seedDirection() const
direction of how the hits were sorted in the original seed
edm::Ref< TrackCollection > TrackRef
persistent reference to a Track
CovarianceMatrix innerStateCovariance() const
innermost trajectory state curvilinear errors
std::unique_ptr< reco::GsfTrackExtraCollection > selGsfTrackExtras_
virtual GsfElectronCoreRef core() const
std::unique_ptr< reco::GsfElectronCoreCollection > selElectronCores_
const math::XYZVector & innerMomentum() const
momentum vector at the innermost hit position
SuperClusterRef superCluster() const override
reference to a SuperCluster
unsigned int innerDetId() const
DetId of the detector on which surface the innermost state is located.
trackingRecHit_iterator recHitsEnd() const
Iterator to last hit on the track.