virtual void beginRun(edm::Run const &, edm::EventSetup const &) override
std::pair< float, float > calDEtaDPhiSCTrk(reco::ElectronRef &eleref, const reco::BeamSpot::Point &BSPosition, const MagneticField *magField)
edm::EDGetTokenT< reco::RecoEcalCandidateCollection > recoEcalCandidateProducer_
const MagneticField * magField_
math::XYZPoint Point
point in the space
edm::EDGetTokenT< reco::BeamSpot > bsProducer_
~EgammaHLTElectronDetaDphiProducer()
edm::EDGetTokenT< reco::ElectronCollection > electronProducer_
EgammaHLTElectronDetaDphiProducer(const edm::ParameterSet &)
bool useTrackProjectionToEcal_
static reco::ElectronRef getEleRef(const reco::RecoEcalCandidateRef &recoEcalCandRef, const edm::Handle< reco::ElectronCollection > &electronHandle)
virtual void produce(edm::Event &, const edm::EventSetup &) override
static void fillDescriptions(edm::ConfigurationDescriptions &descriptions)