CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
PhotonProducer.h
Go to the documentation of this file.
1 #ifndef RecoEgamma_EgammaPhotonProducers_PhotonProducer_h
2 #define RecoEgamma_EgammaPhotonProducers_PhotonProducer_h
3 
36 
37 // PhotonProducer inherits from EDProducer, so it can be a module:
39 
40  public:
41 
44 
45  virtual void beginRun (edm::Run& r, edm::EventSetup const & es);
46  virtual void endRun(edm::Run &, edm::EventSetup const&);
47  virtual void produce(edm::Event& evt, const edm::EventSetup& es);
48 
49  private:
50 
52  edm::EventSetup const & es,
53  const edm::Handle<reco::PhotonCoreCollection> & photonCoreHandle,
54  const CaloTopology *topology,
55  const EcalRecHitCollection* ecalBarrelHits,
56  const EcalRecHitCollection* ecalEndcapHits,
57  const edm::Handle<CaloTowerCollection> & hcalTowersHandle,
58  math::XYZPoint & vtx,
59  reco::PhotonCollection & outputCollection,
60  int& iSC);
61 
62 
63 
64 
65 
66  // std::string PhotonCoreCollection_;
67  std::string PhotonCollection_;
71 
73 
74  std::string conversionProducer_;
75  std::string conversionCollection_;
76 
78  double maxHOverE_;
79  double minSCEt_;
80  double highEt_;
81  double minR9Barrel_;
82  double minR9Endcap_;
83 
85  std::string pixelSeedProducer_;
86  std::string vertexProducer_;
89 
91 
92 
95 
96 
97 
100 
101 
102  std::vector<double> preselCutValuesBarrel_;
103  std::vector<double> preselCutValuesEndcap_;
104 
106 
107 };
108 #endif
std::vector< double > preselCutValuesEndcap_
std::string conversionProducer_
edm::ParameterSet conf_
edm::InputTag hcalTowers_
PositionCalc posCalculator_
edm::InputTag photonCoreProducer_
EcalClusterFunctionBaseClass * energyCorrectionF
virtual void endRun(edm::Run &, edm::EventSetup const &)
double hOverEConeSize_
virtual void beginRun(edm::Run &r, edm::EventSetup const &es)
std::string conversionCollection_
virtual void produce(edm::Event &evt, const edm::EventSetup &es)
edm::ESHandle< CaloTopology > theCaloTopo_
PhotonIsolationCalculator * thePhotonIsolationCalculator_
std::string PhotonCollection_
edm::ESHandle< CaloGeometry > theCaloGeom_
std::string pixelSeedProducer_
XYZPointD XYZPoint
point in space with cartesian internal representation
Definition: Point3D.h:13
std::vector< double > preselCutValuesBarrel_
void fillPhotonCollection(edm::Event &evt, edm::EventSetup const &es, const edm::Handle< reco::PhotonCoreCollection > &photonCoreHandle, const CaloTopology *topology, const EcalRecHitCollection *ecalBarrelHits, const EcalRecHitCollection *ecalEndcapHits, const edm::Handle< CaloTowerCollection > &hcalTowersHandle, math::XYZPoint &vtx, reco::PhotonCollection &outputCollection, int &iSC)
std::vector< Photon > PhotonCollection
collectin of Photon objects
Definition: PhotonFwd.h:9
edm::InputTag barrelEcalHits_
PhotonProducer(const edm::ParameterSet &ps)
edm::InputTag endcapEcalHits_
Definition: Run.h:31
std::string vertexProducer_