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
 
edm::Handle< reco::PFClusterCollectionecalClustersHandle
 
EgammaRecHitIsolation ecalEndcapIsol03
 
EgammaRecHitIsolation ecalEndcapIsol04
 
edm::Handle< EcalRecHitCollectionendcapRecHits
 
edm::Event const * event
 
EgammaHcalIsolation hadIsolation03
 
EgammaHcalIsolation hadIsolation03Bc
 
EgammaHcalIsolation hadIsolation04
 
EgammaHcalIsolation hadIsolation04Bc
 
std::vector< edm::Handle< reco::PFClusterCollection > > hcalClustersHandle
 
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 71 of file GsfElectronAlgo.cc.

Member Function Documentation

◆ retreiveOriginalTrackCollections()

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

Definition at line 148 of file GsfElectronAlgo.cc.

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

149  {
150  if ((!originalCtfTrackCollectionRetreived) && (ctfTrack.isNonnull())) {
151  event->get(ctfTrack.id(), originalCtfTracks);
153  }
154  if ((!originalGsfTrackCollectionRetreived) && (gsfTrack.isNonnull())) {
155  event->get(gsfTrack.id(), originalGsfTracks);
157  }
158 }
edm::Handle< reco::TrackCollection > originalCtfTracks
ProductID id() const
Accessor for product ID.
Definition: Ref.h:238
bool isNonnull() const
Checks for non-null.
Definition: Ref.h:232
edm::Handle< reco::GsfTrackCollection > originalGsfTracks

Member Data Documentation

◆ barrelRecHits

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

◆ beamspot

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

Definition at line 77 of file GsfElectronAlgo.cc.

Referenced by GsfElectronAlgo::createElectron().

◆ conversions

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

Definition at line 86 of file GsfElectronAlgo.cc.

Referenced by GsfElectronAlgo::createElectron().

◆ coreElectrons

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

Definition at line 80 of file GsfElectronAlgo.cc.

◆ currentCtfTracks

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

Definition at line 83 of file GsfElectronAlgo.cc.

Referenced by GsfElectronAlgo::createElectron().

◆ ecalBarrelIsol03

EgammaRecHitIsolation GsfElectronAlgo::EventData::ecalBarrelIsol03

Definition at line 91 of file GsfElectronAlgo.cc.

Referenced by GsfElectronAlgo::createElectron().

◆ ecalBarrelIsol04

EgammaRecHitIsolation GsfElectronAlgo::EventData::ecalBarrelIsol04

Definition at line 91 of file GsfElectronAlgo.cc.

Referenced by GsfElectronAlgo::createElectron().

◆ ecalClustersHandle

edm::Handle<reco::PFClusterCollection> GsfElectronAlgo::EventData::ecalClustersHandle

Definition at line 106 of file GsfElectronAlgo.cc.

Referenced by GsfElectronAlgo::createElectron().

◆ ecalEndcapIsol03

EgammaRecHitIsolation GsfElectronAlgo::EventData::ecalEndcapIsol03

Definition at line 92 of file GsfElectronAlgo.cc.

Referenced by GsfElectronAlgo::createElectron().

◆ ecalEndcapIsol04

EgammaRecHitIsolation GsfElectronAlgo::EventData::ecalEndcapIsol04

Definition at line 92 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 76 of file GsfElectronAlgo.cc.

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

◆ hadIsolation03

EgammaHcalIsolation GsfElectronAlgo::EventData::hadIsolation03

Definition at line 89 of file GsfElectronAlgo.cc.

Referenced by GsfElectronAlgo::createElectron().

◆ hadIsolation03Bc

EgammaHcalIsolation GsfElectronAlgo::EventData::hadIsolation03Bc

Definition at line 90 of file GsfElectronAlgo.cc.

Referenced by GsfElectronAlgo::createElectron().

◆ hadIsolation04

EgammaHcalIsolation GsfElectronAlgo::EventData::hadIsolation04

Definition at line 89 of file GsfElectronAlgo.cc.

Referenced by GsfElectronAlgo::createElectron().

◆ hadIsolation04Bc

EgammaHcalIsolation GsfElectronAlgo::EventData::hadIsolation04Bc

Definition at line 90 of file GsfElectronAlgo.cc.

Referenced by GsfElectronAlgo::createElectron().

◆ hcalClustersHandle

std::vector<edm::Handle<reco::PFClusterCollection> > GsfElectronAlgo::EventData::hcalClustersHandle

Definition at line 107 of file GsfElectronAlgo.cc.

Referenced by GsfElectronAlgo::createElectron().

◆ originalCtfTrackCollectionRetreived

bool GsfElectronAlgo::EventData::originalCtfTrackCollectionRetreived = false

Definition at line 102 of file GsfElectronAlgo.cc.

◆ originalCtfTracks

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

Definition at line 99 of file GsfElectronAlgo.cc.

Referenced by GsfElectronAlgo::createElectron().

◆ originalGsfTrackCollectionRetreived

bool GsfElectronAlgo::EventData::originalGsfTrackCollectionRetreived = false

Definition at line 103 of file GsfElectronAlgo.cc.

◆ originalGsfTracks

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

Definition at line 100 of file GsfElectronAlgo.cc.

Referenced by GsfElectronAlgo::createElectron().

◆ seeds

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

Definition at line 84 of file GsfElectronAlgo.cc.

◆ tkIsol03Calc

EleTkIsolFromCands GsfElectronAlgo::EventData::tkIsol03Calc

Definition at line 94 of file GsfElectronAlgo.cc.

Referenced by GsfElectronAlgo::createElectron().

◆ tkIsol04Calc

EleTkIsolFromCands GsfElectronAlgo::EventData::tkIsol04Calc

Definition at line 95 of file GsfElectronAlgo.cc.

Referenced by GsfElectronAlgo::createElectron().

◆ tkIsolHEEP03Calc

EleTkIsolFromCands GsfElectronAlgo::EventData::tkIsolHEEP03Calc

Definition at line 96 of file GsfElectronAlgo.cc.

Referenced by GsfElectronAlgo::createElectron().

◆ tkIsolHEEP04Calc

EleTkIsolFromCands GsfElectronAlgo::EventData::tkIsolHEEP04Calc

Definition at line 97 of file GsfElectronAlgo.cc.

Referenced by GsfElectronAlgo::createElectron().

◆ vertices

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

Definition at line 85 of file GsfElectronAlgo.cc.

Referenced by GsfElectronAlgo::createElectron().