CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
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::ConversionCollection
conversions
 
edm::Handle
< reco::GsfElectronCoreCollection
coreElectrons
 
edm::Handle
< reco::TrackCollection
currentCtfTracks
 
EgammaRecHitIsolation ecalBarrelIsol03
 
EgammaRecHitIsolation ecalBarrelIsol04
 
edm::Handle
< reco::PFClusterCollection
ecalClustersHandle
 
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::TrackCollection
originalCtfTracks
 
bool originalGsfTrackCollectionRetreived = false
 
edm::Handle
< reco::GsfTrackCollection
originalGsfTracks
 
edm::Handle
< reco::ElectronSeedCollection
seeds
 
EleTkIsolFromCands tkIsol03Calc
 
EleTkIsolFromCands tkIsol04Calc
 
EleTkIsolFromCands tkIsolHEEP03Calc
 
EleTkIsolFromCands tkIsolHEEP04Calc
 
edm::Handle
< reco::VertexCollection
vertices
 

Detailed Description

Definition at line 68 of file GsfElectronAlgo.cc.

Member Function Documentation

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

Definition at line 145 of file GsfElectronAlgo.cc.

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

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

Member Data Documentation

edm::Handle<EcalRecHitCollection> GsfElectronAlgo::EventData::barrelRecHits
const reco::BeamSpot* GsfElectronAlgo::EventData::beamspot

Definition at line 74 of file GsfElectronAlgo.cc.

Referenced by GsfElectronAlgo::createElectron().

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

Definition at line 83 of file GsfElectronAlgo.cc.

Referenced by GsfElectronAlgo::createElectron().

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

Definition at line 77 of file GsfElectronAlgo.cc.

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

Definition at line 80 of file GsfElectronAlgo.cc.

Referenced by GsfElectronAlgo::createElectron().

EgammaRecHitIsolation GsfElectronAlgo::EventData::ecalBarrelIsol03

Definition at line 88 of file GsfElectronAlgo.cc.

Referenced by GsfElectronAlgo::createElectron().

EgammaRecHitIsolation GsfElectronAlgo::EventData::ecalBarrelIsol04

Definition at line 88 of file GsfElectronAlgo.cc.

Referenced by GsfElectronAlgo::createElectron().

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

Definition at line 103 of file GsfElectronAlgo.cc.

Referenced by GsfElectronAlgo::createElectron().

EgammaRecHitIsolation GsfElectronAlgo::EventData::ecalEndcapIsol03

Definition at line 89 of file GsfElectronAlgo.cc.

Referenced by GsfElectronAlgo::createElectron().

EgammaRecHitIsolation GsfElectronAlgo::EventData::ecalEndcapIsol04

Definition at line 89 of file GsfElectronAlgo.cc.

Referenced by GsfElectronAlgo::createElectron().

edm::Handle<EcalRecHitCollection> GsfElectronAlgo::EventData::endcapRecHits
edm::Event const* GsfElectronAlgo::EventData::event

Definition at line 73 of file GsfElectronAlgo.cc.

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

EgammaHcalIsolation GsfElectronAlgo::EventData::hadIsolation03

Definition at line 86 of file GsfElectronAlgo.cc.

Referenced by GsfElectronAlgo::createElectron().

EgammaHcalIsolation GsfElectronAlgo::EventData::hadIsolation03Bc

Definition at line 87 of file GsfElectronAlgo.cc.

Referenced by GsfElectronAlgo::createElectron().

EgammaHcalIsolation GsfElectronAlgo::EventData::hadIsolation04

Definition at line 86 of file GsfElectronAlgo.cc.

Referenced by GsfElectronAlgo::createElectron().

EgammaHcalIsolation GsfElectronAlgo::EventData::hadIsolation04Bc

Definition at line 87 of file GsfElectronAlgo.cc.

Referenced by GsfElectronAlgo::createElectron().

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

Definition at line 104 of file GsfElectronAlgo.cc.

Referenced by GsfElectronAlgo::createElectron().

bool GsfElectronAlgo::EventData::originalCtfTrackCollectionRetreived = false

Definition at line 99 of file GsfElectronAlgo.cc.

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

Definition at line 96 of file GsfElectronAlgo.cc.

Referenced by GsfElectronAlgo::createElectron().

bool GsfElectronAlgo::EventData::originalGsfTrackCollectionRetreived = false

Definition at line 100 of file GsfElectronAlgo.cc.

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

Definition at line 97 of file GsfElectronAlgo.cc.

Referenced by GsfElectronAlgo::createElectron().

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

Definition at line 81 of file GsfElectronAlgo.cc.

EleTkIsolFromCands GsfElectronAlgo::EventData::tkIsol03Calc

Definition at line 91 of file GsfElectronAlgo.cc.

Referenced by GsfElectronAlgo::createElectron().

EleTkIsolFromCands GsfElectronAlgo::EventData::tkIsol04Calc

Definition at line 92 of file GsfElectronAlgo.cc.

Referenced by GsfElectronAlgo::createElectron().

EleTkIsolFromCands GsfElectronAlgo::EventData::tkIsolHEEP03Calc

Definition at line 93 of file GsfElectronAlgo.cc.

Referenced by GsfElectronAlgo::createElectron().

EleTkIsolFromCands GsfElectronAlgo::EventData::tkIsolHEEP04Calc

Definition at line 94 of file GsfElectronAlgo.cc.

Referenced by GsfElectronAlgo::createElectron().

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

Definition at line 82 of file GsfElectronAlgo.cc.

Referenced by GsfElectronAlgo::createElectron().