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;
68 trk.outerStateCovariance(),
70 trk.innerStateCovariance(),
72 trk.seedDirection()));
75 unsigned int nHitsToAdd =
trk.recHitsSize();
76 for (
auto const&
hit :
trk.recHits())
78 tx.
setHits(rHits, hidx, nHitsToAdd);
edm::Ref< GsfTrackCollection > GsfTrackRef
persistent reference to a GsfTrack
edm::Ref< GsfElectronCoreCollection > GsfElectronCoreRef
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
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
virtual GsfElectronCoreRef core() const
std::unique_ptr< reco::SuperClusterCollection > selSuperClusters_
edm::Ref< GsfTrackExtraCollection > GsfTrackExtraRef
persistent reference to a GsfTrackExtra
edm::Ref< TrackCollection > TrackRef
persistent reference to a Track
std::unique_ptr< reco::GsfTrackExtraCollection > selGsfTrackExtras_
std::unique_ptr< reco::GsfElectronCoreCollection > selElectronCores_
SuperClusterRef superCluster() const override
reference to a SuperCluster