39 TrackExtraRefProd rTrackExtras = evt.template getRefBeforePut<TrackExtraCollection>();
41 GsfTrackRefProd rTracks = evt.template getRefBeforePut<GsfTrackCollection>();
44 SuperClusterRefProd rSuperClusters = evt.template getRefBeforePut<SuperClusterCollection>();
45 size_t idx = 0, tidx = 0, hidx = 0;
46 for (
I i = begin;
i !=
end; ++
i) {
78 tx.
setHits(rHits, hidx, nHitsToAdd);
edm::Ref< GsfTrackCollection > GsfTrackRef
persistent reference to a GsfTrack
edm::Ref< GsfElectronCoreCollection > GsfElectronCoreRef
size_t recHitsSize() const
Get number of RecHits. (Warning, this includes invalid hits, which are not physical hits)...
CovarianceMatrix outerStateCovariance() const
outermost trajectory state curvilinear errors
const math::XYZPoint & outerPosition() const
position of the outermost hit
const math::XYZVector & outerMomentum() const
momentum vector at the outermost hit position
void setGsfExtra(const GsfTrackExtraRef &ref)
set reference to GSF "extra" object
bool isNonnull() const
Checks for non-null.
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_
edm::Ref< SuperClusterCollection > SuperClusterRef
reference to an object in a collection of SuperCluster objects
CovarianceMatrix innerStateCovariance() const
innermost trajectory state curvilinear errors
auto recHits() const
Access to reconstructed hits on the track.
GsfTrackRef gsfTrack() const override
reference to a GsfTrack
edm::RefToBase< reco::Track > TrackBaseRef
persistent reference to a Track, using views
std::unique_ptr< reco::TrackExtraCollection > selTrackExtras_
const std::complex< double > I
edm::RefVector< GsfTrackCollection > GsfTrackRefVector
vector of reference to GsfTrack in the same collection
unsigned int innerDetId() const
DetId of the detector on which surface the innermost state is located.
virtual GsfElectronCoreRef core() const
std::unique_ptr< reco::SuperClusterCollection > selSuperClusters_
edm::Ref< GsfTrackExtraCollection > GsfTrackExtraRef
persistent reference to a GsfTrackExtra
bool innerOk() const
return true if the innermost hit is valid
const PropagationDirection & seedDirection() const
direction of how the hits were sorted in the original seed
void setExtra(const TrackExtraRef &ref)
set reference to "extra" object
const GsfTrackExtraRef & gsfExtra() const
reference to "extra" object
edm::Ref< TrackCollection > TrackRef
persistent reference to a Track
unsigned int outerDetId() const
DetId of the detector on which surface the outermost state is located.
std::unique_ptr< reco::GsfTrackExtraCollection > selGsfTrackExtras_
std::unique_ptr< reco::GsfElectronCoreCollection > selElectronCores_
const math::XYZVector & innerMomentum() const
momentum vector at the innermost hit position
const math::XYZPoint & innerPosition() const
position of the innermost hit
SuperClusterRef superCluster() const override
reference to a SuperCluster
bool outerOk() const
return true if the outermost hit is valid
const TrackExtraRef & extra() const
reference to "extra" object