CMS 3D CMS Logo

PhotonProducer.h
Go to the documentation of this file.
1 #ifndef RecoEgamma_EgammaPhotonProducers_PhotonProducer_h
2 #define RecoEgamma_EgammaPhotonProducers_PhotonProducer_h
3 
33 
34 // PhotonProducer inherits from EDProducer, so it can be a module:
36 public:
38 
39  void produce(edm::Event& evt, const edm::EventSetup& es) override;
40 
41 private:
43  edm::EventSetup const& es,
44  const edm::Handle<reco::PhotonCoreCollection>& photonCoreHandle,
45  const CaloTopology* topology,
46  const EcalRecHitCollection* ecalBarrelHits,
47  const EcalRecHitCollection* ecalEndcapHits,
49  reco::VertexCollection& pvVertices,
50  reco::PhotonCollection& outputCollection,
51  int& iSC,
52  const EcalSeverityLevelAlgo* sevLv);
53 
54  // std::string PhotonCoreCollection_;
61 
62  //AA
63  //Flags and severities to be excluded from calculations
64 
65  std::vector<int> flagsexclEB_;
66  std::vector<int> flagsexclEE_;
67  std::vector<int> severitiesexclEB_;
68  std::vector<int> severitiesexclEE_;
69 
71  double maxHOverE_;
72  double minSCEt_;
73  double highEt_;
74  double minR9Barrel_;
75  double minR9Endcap_;
77 
79 
81 
83 
86 
87  //MIP
89 
90  std::vector<double> preselCutValuesBarrel_;
91  std::vector<double> preselCutValuesEndcap_;
92 
95 };
96 #endif
PhotonIsolationCalculator.h
PhotonProducer::minR9Endcap_
double minR9Endcap_
Definition: PhotonProducer.h:75
EcalSeverityLevelAlgo
Definition: EcalSeverityLevelAlgo.h:33
Handle.h
PhotonProducer::hcalTowers_
edm::EDGetTokenT< CaloTowerCollection > hcalTowers_
Definition: PhotonProducer.h:59
PositionCalc.h
PhotonProducer::flagsexclEE_
std::vector< int > flagsexclEE_
Definition: PhotonProducer.h:66
ESHandle.h
PhotonProducer::photonCoreProducer_
edm::EDGetTokenT< reco::PhotonCoreCollection > photonCoreProducer_
Definition: PhotonProducer.h:56
PhotonProducer::fillPhotonCollection
void fillPhotonCollection(edm::Event &evt, edm::EventSetup const &es, const edm::Handle< reco::PhotonCoreCollection > &photonCoreHandle, const CaloTopology *topology, const EcalRecHitCollection *ecalBarrelHits, const EcalRecHitCollection *ecalEndcapHits, CaloTowerCollection const &hcalTowers, reco::VertexCollection &pvVertices, reco::PhotonCollection &outputCollection, int &iSC, const EcalSeverityLevelAlgo *sevLv)
Definition: PhotonProducer.cc:213
PhotonProducer::hOverEConeSize_
double hOverEConeSize_
Definition: PhotonProducer.h:70
BasicCluster.h
edm::EDGetTokenT< reco::PhotonCoreCollection >
reco::VertexCollection
std::vector< Vertex > VertexCollection
collection of Vertex objects
Definition: VertexFwd.h:9
EcalFunctionParameters.h
PhotonProducer::runMIPTagger_
bool runMIPTagger_
Definition: PhotonProducer.h:76
EDProducer.h
edm::SortedCollection< EcalRecHit >
PhotonProducer::minR9Barrel_
double minR9Barrel_
Definition: PhotonProducer.h:74
PhotonCore.h
PhotonMIPHaloTagger.h
PhotonProducer::preselCutValuesBarrel_
std::vector< double > preselCutValuesBarrel_
Definition: PhotonProducer.h:90
edm::Handle
Definition: AssociativeIterator.h:50
CaloTopology
Definition: CaloTopology.h:19
PhotonIsolationCalculator
Definition: PhotonIsolationCalculator.h:17
ElectronSeedFwd.h
PhotonProducer::photonEnergyCorrector_
PhotonEnergyCorrector photonEnergyCorrector_
Definition: PhotonProducer.h:93
PhotonProducer::endcapEcalHits_
edm::EDGetTokenT< EcalRecHitCollection > endcapEcalHits_
Definition: PhotonProducer.h:58
PhotonEnergyCorrector.h
Photon.h
ecaldqm::topology
const CaloTopology * topology(nullptr)
PhotonProducer::usePrimaryVertex_
bool usePrimaryVertex_
Definition: PhotonProducer.h:80
PhotonProducer::maxHOverE_
double maxHOverE_
Definition: PhotonProducer.h:71
PhotonProducer::minSCEt_
double minSCEt_
Definition: PhotonProducer.h:72
PhotonProducer::PhotonProducer
PhotonProducer(const edm::ParameterSet &ps)
Definition: PhotonProducer.cc:33
PhotonProducer::candidateP4type_
std::string candidateP4type_
Definition: PhotonProducer.h:94
EcalSeverityLevelAlgo.h
AlCaHLTBitMon_QueryRunRegistry.string
string
Definition: AlCaHLTBitMon_QueryRunRegistry.py:256
PhotonProducer::highEt_
double highEt_
Definition: PhotonProducer.h:73
PhotonProducer::validPixelSeeds_
bool validPixelSeeds_
Definition: PhotonProducer.h:84
edm::ParameterSet
Definition: ParameterSet.h:36
PhotonProducer::produce
void produce(edm::Event &evt, const edm::EventSetup &es) override
Definition: PhotonProducer.cc:126
PhotonMIPHaloTagger
Definition: PhotonMIPHaloTagger.h:17
Event.h
PhotonProducer::PhotonCollection_
std::string PhotonCollection_
Definition: PhotonProducer.h:55
EcalClusterTools.h
PhotonProducer
Definition: PhotonProducer.h:35
PositionCalc
Definition: PositionCalc.h:29
edm::stream::EDProducer
Definition: EDProducer.h:38
edm::EventSetup
Definition: EventSetup.h:57
PhotonProducer::preselCutValuesEndcap_
std::vector< double > preselCutValuesEndcap_
Definition: PhotonProducer.h:91
conversions_cfi.hcalTowers
hcalTowers
Definition: conversions_cfi.py:21
CaloTopology.h
CaloTowerCollection.h
PhotonProducer::severitiesexclEE_
std::vector< int > severitiesexclEE_
Definition: PhotonProducer.h:68
PhotonProducer::photonIsolationCalculator_
PhotonIsolationCalculator photonIsolationCalculator_
Definition: PhotonProducer.h:85
PhotonProducer::vertexProducer_
edm::EDGetTokenT< reco::VertexCollection > vertexProducer_
Definition: PhotonProducer.h:60
PhotonEnergyCorrector
Definition: PhotonEnergyCorrector.h:24
SuperCluster.h
PhotonProducer::validConversions_
bool validConversions_
Definition: PhotonProducer.h:78
CaloGeometry.h
EventSetup.h
PhotonProducer::posCalculator_
PositionCalc posCalculator_
Definition: PhotonProducer.h:82
reco::PhotonCollection
std::vector< Photon > PhotonCollection
collectin of Photon objects
Definition: PhotonFwd.h:9
PhotonProducer::severitiesexclEB_
std::vector< int > severitiesexclEB_
Definition: PhotonProducer.h:67
ParameterSet.h
PhotonProducer::barrelEcalHits_
edm::EDGetTokenT< EcalRecHitCollection > barrelEcalHits_
Definition: PhotonProducer.h:57
edm::Event
Definition: Event.h:73
PhotonProducer::photonMIPHaloTagger_
PhotonMIPHaloTagger photonMIPHaloTagger_
Definition: PhotonProducer.h:88
PhotonProducer::flagsexclEB_
std::vector< int > flagsexclEB_
Definition: PhotonProducer.h:65
BasicClusterShapeAssociation.h
Conversion.h