CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
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.6 2013/05/25 15:05:15 chrjones Exp $
12 //
13 //
14 
15 
16 // system include files
17 #include <memory>
18 
19 // user include files
22 
25 
27 
33 
34 class MagneticField;
35 
36 #include "TTree.h"
37 
38 class MagneticField;
39 //
40 // class declaration
41 //
42 
44  public:
47 
48 
49  virtual void produce(edm::Event&, const edm::EventSetup&) override;
50  virtual void beginRun(edm::Run const&, edm::EventSetup const&) override;
51  private:
52  std::pair<float,float> calDEtaDPhiSCTrk(reco::ElectronRef& eleref, const reco::BeamSpot::Point& BSPosition,const MagneticField *magField);
53  static reco::ElectronRef getEleRef(const reco::RecoEcalCandidateRef& recoEcalCandRef,const edm::Handle<reco::ElectronCollection>& electronHandle);
54 
57 
58  bool useSCRefs_;
63 
64 };
65 
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)
math::XYZPoint Point
point in the space
Definition: BeamSpot.h:30
EgammaHLTElectronDetaDphiProducer(const edm::ParameterSet &)
static reco::ElectronRef getEleRef(const reco::RecoEcalCandidateRef &recoEcalCandRef, const edm::Handle< reco::ElectronCollection > &electronHandle)
virtual void produce(edm::Event &, const edm::EventSetup &) override
Definition: Run.h:36