CMS 3D CMS Logo

EgammaHLTElectronDetaDphiProducer.h
Go to the documentation of this file.
1 // -*- C++ -*-
2 //
3 // Package: EgammaHLTProducers
4 // Class: EgammaHLTElectronDetaDphiProducer
5 //
8 //
9 // Original Author: Roberto Covarelli (CERN)
10 //
11 // $Id: EgammaHLTElectronDetaDphiProducer.h,v 1.5 2012/02/10 22:41:25 dmytro Exp $
12 //
13 //
14 
15 
16 // system include files
17 #include <memory>
18 
19 // user include files
26 
30 
31 class MagneticField;
32 
33 namespace edm {
35 }
36 
38 public:
41  void produce(edm::Event&, const edm::EventSetup&) override;
42  void beginRun(edm::Run const&, edm::EventSetup const&) override;
43  static void fillDescriptions(edm::ConfigurationDescriptions& descriptions);
44 
45 private:
46  std::pair<float,float> calDEtaDPhiSCTrk(reco::ElectronRef& eleref, const reco::BeamSpot::Point& BSPosition,const MagneticField *magField);
47  static reco::ElectronRef getEleRef(const reco::RecoEcalCandidateRef& recoEcalCandRef,const edm::Handle<reco::ElectronCollection>& electronHandle);
48 
52 
53  const bool useSCRefs_;
55  const bool variablesAtVtx_;
56 
58 };
59 
math::XYZPoint Point
point in the space
Definition: BeamSpot.h:29
const edm::EDGetTokenT< reco::BeamSpot > bsProducer_
const edm::EDGetTokenT< reco::RecoEcalCandidateCollection > recoEcalCandidateProducer_
HLT enums.
const edm::EDGetTokenT< reco::ElectronCollection > electronProducer_
Definition: Run.h:43