CMS 3D CMS Logo

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

Public Types

typedef std::vector< edm::Handle< edm::ValueMap< double > > > IsolationValueMaps
 

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
 
IsolationValueMaps edIsolationValues
 
edm::Handle< EcalRecHitCollectionendcapRecHits
 
edm::Event const * event
 
edm::Handle< reco::GsfPFRecTrackCollectiongsfPfRecTracks
 
EgammaTowerIsolation hadDepth1Isolation03
 
EgammaTowerIsolation hadDepth1Isolation03Bc
 
EgammaTowerIsolation hadDepth1Isolation04
 
EgammaTowerIsolation hadDepth1Isolation04Bc
 
EgammaTowerIsolation hadDepth2Isolation03
 
EgammaTowerIsolation hadDepth2Isolation03Bc
 
EgammaTowerIsolation hadDepth2Isolation04
 
EgammaTowerIsolation hadDepth2Isolation04Bc
 
bool originalCtfTrackCollectionRetreived = false
 
edm::Handle< reco::TrackCollectionoriginalCtfTracks
 
bool originalGsfTrackCollectionRetreived = false
 
edm::Handle< reco::GsfTrackCollectionoriginalGsfTracks
 
IsolationValueMaps pfIsolationValues
 
edm::Handle< reco::GsfElectronCollectionpflowElectrons
 
edm::Handle< reco::GsfElectronCollectionpreviousElectrons
 
edm::Handle< reco::ElectronSeedCollectionseeds
 
edm::Handle< reco::VertexCollectionvertices
 

Detailed Description

Definition at line 53 of file GsfElectronAlgo.cc.

Member Typedef Documentation

Definition at line 82 of file GsfElectronAlgo.cc.

Member Function Documentation

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

Definition at line 131 of file GsfElectronAlgo.cc.

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

Referenced by GsfElectronAlgo::createElectron().

132  {
133  if ((!originalCtfTrackCollectionRetreived) && (ctfTrack.isNonnull())) {
134  event->get(ctfTrack.id(), originalCtfTracks);
136  }
137  if ((!originalGsfTrackCollectionRetreived) && (gsfTrack.isNonnull())) {
138  event->get(gsfTrack.id(), originalGsfTracks);
140  }
141 }
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 59 of file GsfElectronAlgo.cc.

Referenced by GsfElectronAlgo::createElectron().

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

Definition at line 71 of file GsfElectronAlgo.cc.

Referenced by GsfElectronAlgo::createElectron().

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

Definition at line 64 of file GsfElectronAlgo.cc.

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

Definition at line 67 of file GsfElectronAlgo.cc.

Referenced by GsfElectronAlgo::createElectron().

EgammaRecHitIsolation GsfElectronAlgo::EventData::ecalBarrelIsol03

Definition at line 78 of file GsfElectronAlgo.cc.

Referenced by GsfElectronAlgo::createElectron().

EgammaRecHitIsolation GsfElectronAlgo::EventData::ecalBarrelIsol04

Definition at line 78 of file GsfElectronAlgo.cc.

Referenced by GsfElectronAlgo::createElectron().

EgammaRecHitIsolation GsfElectronAlgo::EventData::ecalEndcapIsol03

Definition at line 79 of file GsfElectronAlgo.cc.

Referenced by GsfElectronAlgo::createElectron().

EgammaRecHitIsolation GsfElectronAlgo::EventData::ecalEndcapIsol04

Definition at line 79 of file GsfElectronAlgo.cc.

Referenced by GsfElectronAlgo::createElectron().

IsolationValueMaps GsfElectronAlgo::EventData::edIsolationValues

Definition at line 84 of file GsfElectronAlgo.cc.

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

Definition at line 58 of file GsfElectronAlgo.cc.

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

edm::Handle<reco::GsfPFRecTrackCollection> GsfElectronAlgo::EventData::gsfPfRecTracks

Definition at line 69 of file GsfElectronAlgo.cc.

EgammaTowerIsolation GsfElectronAlgo::EventData::hadDepth1Isolation03

Definition at line 74 of file GsfElectronAlgo.cc.

Referenced by GsfElectronAlgo::createElectron().

EgammaTowerIsolation GsfElectronAlgo::EventData::hadDepth1Isolation03Bc

Definition at line 76 of file GsfElectronAlgo.cc.

Referenced by GsfElectronAlgo::createElectron().

EgammaTowerIsolation GsfElectronAlgo::EventData::hadDepth1Isolation04

Definition at line 74 of file GsfElectronAlgo.cc.

Referenced by GsfElectronAlgo::createElectron().

EgammaTowerIsolation GsfElectronAlgo::EventData::hadDepth1Isolation04Bc

Definition at line 76 of file GsfElectronAlgo.cc.

Referenced by GsfElectronAlgo::createElectron().

EgammaTowerIsolation GsfElectronAlgo::EventData::hadDepth2Isolation03

Definition at line 75 of file GsfElectronAlgo.cc.

Referenced by GsfElectronAlgo::createElectron().

EgammaTowerIsolation GsfElectronAlgo::EventData::hadDepth2Isolation03Bc

Definition at line 77 of file GsfElectronAlgo.cc.

Referenced by GsfElectronAlgo::createElectron().

EgammaTowerIsolation GsfElectronAlgo::EventData::hadDepth2Isolation04

Definition at line 75 of file GsfElectronAlgo.cc.

Referenced by GsfElectronAlgo::createElectron().

EgammaTowerIsolation GsfElectronAlgo::EventData::hadDepth2Isolation04Bc

Definition at line 77 of file GsfElectronAlgo.cc.

Referenced by GsfElectronAlgo::createElectron().

bool GsfElectronAlgo::EventData::originalCtfTrackCollectionRetreived = false

Definition at line 89 of file GsfElectronAlgo.cc.

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

Definition at line 86 of file GsfElectronAlgo.cc.

Referenced by GsfElectronAlgo::createElectron().

bool GsfElectronAlgo::EventData::originalGsfTrackCollectionRetreived = false

Definition at line 90 of file GsfElectronAlgo.cc.

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

Definition at line 87 of file GsfElectronAlgo.cc.

Referenced by GsfElectronAlgo::createElectron().

IsolationValueMaps GsfElectronAlgo::EventData::pfIsolationValues

Definition at line 83 of file GsfElectronAlgo.cc.

edm::Handle<reco::GsfElectronCollection> GsfElectronAlgo::EventData::pflowElectrons

Definition at line 63 of file GsfElectronAlgo.cc.

edm::Handle<reco::GsfElectronCollection> GsfElectronAlgo::EventData::previousElectrons

Definition at line 62 of file GsfElectronAlgo.cc.

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

Definition at line 68 of file GsfElectronAlgo.cc.

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

Definition at line 70 of file GsfElectronAlgo.cc.

Referenced by GsfElectronAlgo::createElectron().