#include <RecoEgamma/EgammaHLTProducers/interface/EgammaHLTElectronDetaDphiProducer.h>
Static Public Member Functions | |
static void | fillDescriptions (edm::ConfigurationDescriptions &descriptions) |
Static Public Member Functions inherited from edm::EDProducer | |
static const std::string & | baseType () |
static void | fillDescriptions (ConfigurationDescriptions &descriptions) |
static void | prevalidate (ConfigurationDescriptions &descriptions) |
Private Member Functions | |
std::pair< float, float > | calDEtaDPhiSCTrk (reco::ElectronRef &eleref, const reco::BeamSpot::Point &BSPosition, const MagneticField *magField) |
Static Private Member Functions | |
static reco::ElectronRef | getEleRef (const reco::RecoEcalCandidateRef &recoEcalCandRef, const edm::Handle< reco::ElectronCollection > &electronHandle) |
Private Attributes | |
edm::EDGetTokenT< reco::BeamSpot > | bsProducer_ |
edm::EDGetTokenT < reco::ElectronCollection > | electronProducer_ |
const MagneticField * | magField_ |
edm::EDGetTokenT < reco::RecoEcalCandidateCollection > | recoEcalCandidateProducer_ |
bool | useSCRefs_ |
bool | useTrackProjectionToEcal_ |
bool | variablesAtVtx_ |
Additional Inherited Members | |
Public Types inherited from edm::EDProducer | |
typedef EDProducer | ModuleType |
Public Types inherited from edm::ProducerBase | |
typedef ProductRegistryHelper::TypeLabelList | TypeLabelList |
Protected Member Functions inherited from edm::ProducerBase | |
void | callWhenNewProductsRegistered (std::function< void(BranchDescription const &)> const &func) |
Protected Member Functions inherited from edm::EDConsumerBase | |
template<typename ProductType , BranchType B = InEvent> | |
EDGetTokenT< ProductType > | consumes (edm::InputTag const &tag) |
EDGetToken | consumes (const TypeToGet &id, edm::InputTag const &tag) |
template<BranchType B> | |
EDGetToken | consumes (TypeToGet const &id, edm::InputTag const &tag) |
ConsumesCollector | consumesCollector () |
Use a ConsumesCollector to gather consumes information from helper functions. More... | |
template<typename ProductType , BranchType B = InEvent> | |
void | consumesMany () |
void | consumesMany (const TypeToGet &id) |
template<BranchType B> | |
void | consumesMany (const TypeToGet &id) |
template<typename ProductType , BranchType B = InEvent> | |
EDGetTokenT< ProductType > | mayConsume (edm::InputTag const &tag) |
EDGetToken | mayConsume (const TypeToGet &id, edm::InputTag const &tag) |
template<BranchType B> | |
EDGetToken | mayConsume (const TypeToGet &id, edm::InputTag const &tag) |
Definition at line 37 of file EgammaHLTElectronDetaDphiProducer.h.
|
explicit |
Definition at line 35 of file EgammaHLTElectronDetaDphiProducer.cc.
References bsProducer_, electronProducer_, edm::ParameterSet::getParameter(), recoEcalCandidateProducer_, useSCRefs_, useTrackProjectionToEcal_, and variablesAtVtx_.
EgammaHLTElectronDetaDphiProducer::~EgammaHLTElectronDetaDphiProducer | ( | ) |
Definition at line 55 of file EgammaHLTElectronDetaDphiProducer.cc.
|
overridevirtual |
Reimplemented from edm::EDProducer.
Definition at line 186 of file EgammaHLTElectronDetaDphiProducer.cc.
References edm::EventSetup::get(), and magField_.
|
private |
Definition at line 125 of file EgammaHLTElectronDetaDphiProducer.cc.
References ECALPositionCalculator::ecalPhi(), TrajectoryStateOnSurface::globalPosition(), TrajectoryStateOnSurface::isValid(), magField_, or, reco::TransientTrack::stateOnSurface(), groupFilesInBlocks::tt, useTrackProjectionToEcal_, and variablesAtVtx_.
Referenced by produce().
|
static |
Definition at line 58 of file EgammaHLTElectronDetaDphiProducer.cc.
References edm::ConfigurationDescriptions::add(), and edm::ParameterSetDescription::add().
|
staticprivate |
Definition at line 173 of file EgammaHLTElectronDetaDphiProducer.cc.
Referenced by produce().
|
overridevirtual |
Implements edm::EDProducer.
Definition at line 69 of file EgammaHLTElectronDetaDphiProducer.cc.
References bsProducer_, calDEtaDPhiSCTrk(), electronProducer_, edm::EventSetup::get(), edm::Event::getByToken(), getEleRef(), edm::AssociationMap< Tag >::insert(), edm::ESHandle< class >::product(), edm::Event::put(), recoEcalCandidateProducer_, and useSCRefs_.
|
private |
Definition at line 51 of file EgammaHLTElectronDetaDphiProducer.h.
Referenced by EgammaHLTElectronDetaDphiProducer(), and produce().
|
private |
Definition at line 49 of file EgammaHLTElectronDetaDphiProducer.h.
Referenced by EgammaHLTElectronDetaDphiProducer(), and produce().
|
private |
Definition at line 56 of file EgammaHLTElectronDetaDphiProducer.h.
Referenced by beginRun(), and calDEtaDPhiSCTrk().
|
private |
Definition at line 50 of file EgammaHLTElectronDetaDphiProducer.h.
Referenced by EgammaHLTElectronDetaDphiProducer(), and produce().
|
private |
Definition at line 53 of file EgammaHLTElectronDetaDphiProducer.h.
Referenced by EgammaHLTElectronDetaDphiProducer(), and produce().
|
private |
Definition at line 54 of file EgammaHLTElectronDetaDphiProducer.h.
Referenced by calDEtaDPhiSCTrk(), and EgammaHLTElectronDetaDphiProducer().
|
private |
Definition at line 55 of file EgammaHLTElectronDetaDphiProducer.h.
Referenced by calDEtaDPhiSCTrk(), and EgammaHLTElectronDetaDphiProducer().