|
|
#include <GsfElectronSelector.h>
Definition at line 25 of file GsfElectronSelector.h.
◆ collection
◆ GsfElectronCollectionStoreManager()
◆ cloneAndStore()
template<typename I >
void helper::GsfElectronCollectionStoreManager::cloneAndStore |
( |
const I & |
begin, |
|
|
const I & |
end, |
|
|
edm::Event & |
evt |
|
) |
| |
|
inline |
Definition at line 36 of file GsfElectronSelector.h.
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);
References cms::cuda::assert(), reco::GsfElectron::core(), mps_fire::end, reco::Track::extra(), reco::GsfTrack::gsfExtra(), reco::GsfElectron::gsfTrack(), Exhume::I, mps_fire::i, heavyIonCSV_trainingSettings::idx, reco::Track::innerDetId(), reco::Track::innerMomentum(), reco::Track::innerOk(), reco::Track::innerPosition(), reco::Track::innerStateCovariance(), edm::Ref< C, T, F >::isNonnull(), reco::Track::outerDetId(), reco::Track::outerMomentum(), reco::Track::outerOk(), reco::Track::outerPosition(), reco::Track::outerStateCovariance(), reco::Track::recHits(), reco::TrackExtraBase::recHitsSize(), reco::Track::recHitsSize(), reco::Track::seedDirection(), selElectronCores_, selElectrons_, selGsfTrackExtras_, selHits_, selSuperClusters_, selTrackExtras_, selTracks_, reco::Track::setExtra(), reco::GsfTrack::setGsfExtra(), reco::TrackExtraBase::setHits(), reco::TrackExtraBase::setTrajParams(), reco::GsfElectron::superCluster(), and reco::TrackExtraBase::trajParams().
◆ put()
◆ size()
size_t helper::GsfElectronCollectionStoreManager::size |
( |
void |
| ) |
const |
|
inline |
◆ selElectronCores_
◆ selElectrons_
◆ selGsfTrackExtras_
◆ selHits_
◆ selSuperClusters_
◆ selTrackExtras_
◆ selTracks_
const math::XYZPoint & outerPosition() const
position of the outermost hit
const math::XYZVector & outerMomentum() const
momentum vector at the outermost hit position
edm::Ref< GsfTrackCollection > GsfTrackRef
persistent reference to a GsfTrack
CovarianceMatrix outerStateCovariance() const
outermost trajectory state curvilinear errors
std::unique_ptr< reco::GsfElectronCoreCollection > selElectronCores_
unsigned int outerDetId() const
DetId of the detector on which surface the outermost state is located.
GsfTrackRef gsfTrack() const override
reference to a GsfTrack
std::unique_ptr< reco::TrackExtraCollection > selTrackExtras_
FWCore Framework interface EventSetupRecordImplementation h
Helper function to determine trigger accepts.
std::vector< GsfTrackExtra > GsfTrackExtraCollection
collection of GsfTrackExtra objects
edm::RefToBase< reco::Track > TrackBaseRef
persistent reference to a Track, using views
std::vector< GsfElectron > GsfElectronCollection
collection of GsfElectron objects
bool outerOk() const
return true if the outermost hit is valid
const TrackExtraRef & extra() const
reference to "extra" object
edm::Ptr< CaloCluster > CaloClusterPtr
CovarianceMatrix innerStateCovariance() const
innermost trajectory state curvilinear errors
bool innerOk() const
return true if the innermost hit is valid
std::unique_ptr< reco::GsfTrackExtraCollection > selGsfTrackExtras_
virtual GsfElectronCoreRef core() const
std::vector< SuperCluster > SuperClusterCollection
collection of SuperCluser objectr
const math::XYZVector & innerMomentum() const
momentum vector at the innermost hit position
size_t recHitsSize() const
Get number of RecHits. (Warning, this includes invalid hits, which are not physical hits).
const std::complex< double > I
std::vector< GsfElectronCore > GsfElectronCoreCollection
edm::Ref< SuperClusterCollection > SuperClusterRef
reference to an object in a collection of SuperCluster objects
std::vector< TrackExtra > TrackExtraCollection
collection of TrackExtra objects
auto recHits() const
Access to reconstructed hits on the track.
void setGsfExtra(const GsfTrackExtraRef &ref)
set reference to GSF "extra" object
edm::Ref< TrackCollection > TrackRef
persistent reference to a Track
const GsfTrackExtraRef & gsfExtra() const
reference to "extra" object
const PropagationDirection & seedDirection() const
direction of how the hits were sorted in the original seed
edm::RefVector< GsfTrackCollection > GsfTrackRefVector
vector of reference to GsfTrack in the same collection
std::unique_ptr< reco::GsfTrackCollection > selTracks_
bool isNonnull() const
Checks for non-null.
edm::Ref< TrackExtraCollection > TrackExtraRef
persistent reference to a TrackExtra
const math::XYZPoint & innerPosition() const
position of the innermost hit
OrphanHandle< PROD > put(std::unique_ptr< PROD > product)
Put a new product.
unsigned int innerDetId() const
DetId of the detector on which surface the innermost state is located.
std::unique_ptr< reco::GsfElectronCollection > selElectrons_
std::unique_ptr< reco::SuperClusterCollection > selSuperClusters_
void setExtra(const TrackExtraRef &ref)
set reference to "extra" object
std::vector< GsfTrack > GsfTrackCollection
collection of GsfTracks
SuperClusterRef superCluster() const override
reference to a SuperCluster
edm::Ref< GsfTrackExtraCollection > GsfTrackExtraRef
persistent reference to a GsfTrackExtra
std::unique_ptr< TrackingRecHitCollection > selHits_
edm::Ref< GsfElectronCoreCollection > GsfElectronCoreRef