CMS 3D CMS Logo

List of all members | Public Member Functions | Public Attributes
GsfElectronAlgo::EventData Struct Reference

Public Member Functions

void retreiveOriginalTrackCollections (const reco::TrackRef &, const reco::GsfTrackRef &)
 

Public Attributes

edm::Handle< EcalRecHitCollectionbarrelRecHits
 
const reco::BeamSpotbeamspot
 
edm::Handle< reco::ConversionCollectionconversions
 
edm::Handle< reco::GsfElectronCoreCollectioncoreElectrons
 
edm::Handle< reco::TrackCollectioncurrentCtfTracks
 
EgammaRecHitIsolation ecalBarrelIsol03
 
EgammaRecHitIsolation ecalBarrelIsol04
 
EgammaRecHitIsolation ecalEndcapIsol03
 
EgammaRecHitIsolation ecalEndcapIsol04
 
edm::Handle< EcalRecHitCollectionendcapRecHits
 
edm::Event const * event
 
EgammaHcalIsolation hadIsolation03
 
EgammaHcalIsolation hadIsolation03Bc
 
EgammaHcalIsolation hadIsolation04
 
EgammaHcalIsolation hadIsolation04Bc
 
bool originalCtfTrackCollectionRetreived = false
 
edm::Handle< reco::TrackCollectionoriginalCtfTracks
 
bool originalGsfTrackCollectionRetreived = false
 
edm::Handle< reco::GsfTrackCollectionoriginalGsfTracks
 
edm::Handle< reco::ElectronSeedCollectionseeds
 
EleTkIsolFromCands tkIsol03Calc
 
EleTkIsolFromCands tkIsol04Calc
 
EleTkIsolFromCands tkIsolHEEP03Calc
 
EleTkIsolFromCands tkIsolHEEP04Calc
 
edm::Handle< reco::VertexCollectionvertices
 

Detailed Description

Definition at line 54 of file GsfElectronAlgo.cc.

Member Function Documentation

◆ retreiveOriginalTrackCollections()

void GsfElectronAlgo::EventData::retreiveOriginalTrackCollections ( const reco::TrackRef ctfTrack,
const reco::GsfTrackRef gsfTrack 
)

Definition at line 127 of file GsfElectronAlgo.cc.

128  {
129  if ((!originalCtfTrackCollectionRetreived) && (ctfTrack.isNonnull())) {
130  event->get(ctfTrack.id(), originalCtfTracks);
132  }
133  if ((!originalGsfTrackCollectionRetreived) && (gsfTrack.isNonnull())) {
134  event->get(gsfTrack.id(), originalGsfTracks);
136  }
137 }

References edm::Ref< C, T, F >::id(), and edm::Ref< C, T, F >::isNonnull().

Member Data Documentation

◆ barrelRecHits

edm::Handle<EcalRecHitCollection> GsfElectronAlgo::EventData::barrelRecHits

◆ beamspot

const reco::BeamSpot* GsfElectronAlgo::EventData::beamspot

Definition at line 60 of file GsfElectronAlgo.cc.

Referenced by GsfElectronAlgo::createElectron().

◆ conversions

edm::Handle<reco::ConversionCollection> GsfElectronAlgo::EventData::conversions

Definition at line 69 of file GsfElectronAlgo.cc.

Referenced by GsfElectronAlgo::createElectron().

◆ coreElectrons

edm::Handle<reco::GsfElectronCoreCollection> GsfElectronAlgo::EventData::coreElectrons

Definition at line 63 of file GsfElectronAlgo.cc.

◆ currentCtfTracks

edm::Handle<reco::TrackCollection> GsfElectronAlgo::EventData::currentCtfTracks

Definition at line 66 of file GsfElectronAlgo.cc.

Referenced by GsfElectronAlgo::createElectron().

◆ ecalBarrelIsol03

EgammaRecHitIsolation GsfElectronAlgo::EventData::ecalBarrelIsol03

Definition at line 74 of file GsfElectronAlgo.cc.

Referenced by GsfElectronAlgo::createElectron().

◆ ecalBarrelIsol04

EgammaRecHitIsolation GsfElectronAlgo::EventData::ecalBarrelIsol04

Definition at line 74 of file GsfElectronAlgo.cc.

Referenced by GsfElectronAlgo::createElectron().

◆ ecalEndcapIsol03

EgammaRecHitIsolation GsfElectronAlgo::EventData::ecalEndcapIsol03

Definition at line 75 of file GsfElectronAlgo.cc.

Referenced by GsfElectronAlgo::createElectron().

◆ ecalEndcapIsol04

EgammaRecHitIsolation GsfElectronAlgo::EventData::ecalEndcapIsol04

Definition at line 75 of file GsfElectronAlgo.cc.

Referenced by GsfElectronAlgo::createElectron().

◆ endcapRecHits

edm::Handle<EcalRecHitCollection> GsfElectronAlgo::EventData::endcapRecHits

◆ event

edm::Event const* GsfElectronAlgo::EventData::event

Definition at line 59 of file GsfElectronAlgo.cc.

Referenced by GsfElectronAlgo::beginEvent(), and Types.EventID::cppID().

◆ hadIsolation03

EgammaHcalIsolation GsfElectronAlgo::EventData::hadIsolation03

Definition at line 72 of file GsfElectronAlgo.cc.

Referenced by GsfElectronAlgo::createElectron().

◆ hadIsolation03Bc

EgammaHcalIsolation GsfElectronAlgo::EventData::hadIsolation03Bc

Definition at line 73 of file GsfElectronAlgo.cc.

Referenced by GsfElectronAlgo::createElectron().

◆ hadIsolation04

EgammaHcalIsolation GsfElectronAlgo::EventData::hadIsolation04

Definition at line 72 of file GsfElectronAlgo.cc.

Referenced by GsfElectronAlgo::createElectron().

◆ hadIsolation04Bc

EgammaHcalIsolation GsfElectronAlgo::EventData::hadIsolation04Bc

Definition at line 73 of file GsfElectronAlgo.cc.

Referenced by GsfElectronAlgo::createElectron().

◆ originalCtfTrackCollectionRetreived

bool GsfElectronAlgo::EventData::originalCtfTrackCollectionRetreived = false

Definition at line 85 of file GsfElectronAlgo.cc.

◆ originalCtfTracks

edm::Handle<reco::TrackCollection> GsfElectronAlgo::EventData::originalCtfTracks

Definition at line 82 of file GsfElectronAlgo.cc.

Referenced by GsfElectronAlgo::createElectron().

◆ originalGsfTrackCollectionRetreived

bool GsfElectronAlgo::EventData::originalGsfTrackCollectionRetreived = false

Definition at line 86 of file GsfElectronAlgo.cc.

◆ originalGsfTracks

edm::Handle<reco::GsfTrackCollection> GsfElectronAlgo::EventData::originalGsfTracks

Definition at line 83 of file GsfElectronAlgo.cc.

Referenced by GsfElectronAlgo::createElectron().

◆ seeds

edm::Handle<reco::ElectronSeedCollection> GsfElectronAlgo::EventData::seeds

Definition at line 67 of file GsfElectronAlgo.cc.

◆ tkIsol03Calc

EleTkIsolFromCands GsfElectronAlgo::EventData::tkIsol03Calc

Definition at line 77 of file GsfElectronAlgo.cc.

Referenced by GsfElectronAlgo::createElectron().

◆ tkIsol04Calc

EleTkIsolFromCands GsfElectronAlgo::EventData::tkIsol04Calc

Definition at line 78 of file GsfElectronAlgo.cc.

Referenced by GsfElectronAlgo::createElectron().

◆ tkIsolHEEP03Calc

EleTkIsolFromCands GsfElectronAlgo::EventData::tkIsolHEEP03Calc

Definition at line 79 of file GsfElectronAlgo.cc.

Referenced by GsfElectronAlgo::createElectron().

◆ tkIsolHEEP04Calc

EleTkIsolFromCands GsfElectronAlgo::EventData::tkIsolHEEP04Calc

Definition at line 80 of file GsfElectronAlgo.cc.

Referenced by GsfElectronAlgo::createElectron().

◆ vertices

edm::Handle<reco::VertexCollection> GsfElectronAlgo::EventData::vertices

Definition at line 68 of file GsfElectronAlgo.cc.

Referenced by GsfElectronAlgo::createElectron().

GsfElectronAlgo::EventData::originalGsfTrackCollectionRetreived
bool originalGsfTrackCollectionRetreived
Definition: GsfElectronAlgo.cc:86
edm::Ref::isNonnull
bool isNonnull() const
Checks for non-null.
Definition: Ref.h:238
GsfElectronAlgo::EventData::originalGsfTracks
edm::Handle< reco::GsfTrackCollection > originalGsfTracks
Definition: GsfElectronAlgo.cc:83
GsfElectronAlgo::EventData::originalCtfTrackCollectionRetreived
bool originalCtfTrackCollectionRetreived
Definition: GsfElectronAlgo.cc:85
edm::Ref::id
ProductID id() const
Accessor for product ID.
Definition: Ref.h:244
GsfElectronAlgo::EventData::originalCtfTracks
edm::Handle< reco::TrackCollection > originalCtfTracks
Definition: GsfElectronAlgo.cc:82