CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
PFEGammaProducer.h
Go to the documentation of this file.
1 #ifndef RecoParticleFlow_PFEGammaProducer_PFEGammaProducer_h_
2 #define RecoParticleFlow_PFEGammaProducer_PFEGammaProducer_h_
3 
4 // system include files
5 #include <string>
6 
7 // user include files
11 
12 // useful?
14 
16 
27 
30 
31 #include <memory>
32 
34 
39 class GBRForest;
40 
52  public:
53  explicit PFEGammaProducer(const edm::ParameterSet&);
55 
56  virtual void produce(edm::Event&, const edm::EventSetup&) override;
57  virtual void beginRun(const edm::Run &, const edm::EventSetup &) override;
58 
59  private:
60 
62 
63  void setPFVertexParameters(bool useVertex,
64  const reco::VertexCollection* primaryVertices);
65 
69 
70  //Use of HO clusters and links in PF Reconstruction
71 
73  bool verbose_;
74 
75  // Use photon regression
87  // what about e/g electrons ?
89 
90  // Use vertices for Neutral particles ?
92 
93  // Take PF cluster calibrations from Global Tag ?
95 
96  std::shared_ptr<PFSCEnergyCalibration> thePFSCEnergyCalibration_;
97 
100  std::vector<double> setchi2Values_;
101  double mvaEleCut_;
114  unsigned int nTrackIsoForEgammaSC_;
115 
117 
118  std::auto_ptr< reco::PFCandidateCollection > egCandidates_;
119  std::auto_ptr<reco::PFCandidateEGammaExtraCollection> egExtra_;
120  std::auto_ptr< reco::SuperClusterCollection > sClusters_;
121 
123 
124 
125  // Name of the calibration functions to read from the database
126  // std::vector<std::string> fToRead;
127 
129  std::unique_ptr<PFEGammaAlgo> pfeg_;
130 
133 
134 };
135 
136 #endif
const GBRForest * ReaderRes_
const GBRForest * ReaderGCEndCapHighr9_
double sumPtTrackIsoForEgammaSC_endcap_
edm::EDGetTokenT< reco::VertexCollection > vertices_
bool applyCrackCorrectionsElectrons_
double coneEcalIsoForEgammaSC_
const GBRForest * ReaderEcalRes_
double coneTrackIsoForEgammaSC_
std::vector< Vertex > VertexCollection
collection of Vertex objects
Definition: VertexFwd.h:9
double sumEtEcalIsoForEgammaSC_endcap_
const GBRForest * ReaderGCEndCapLowr9_
std::string mvaWeightFileEleID_
Variables for PFEGamma.
void setPFVertexParameters(bool useVertex, const reco::VertexCollection *primaryVertices)
reco::Vertex primaryVertex_
std::auto_ptr< reco::PFCandidateEGammaExtraCollection > egExtra_
std::string ebeeClustersCollection_
std::string esClustersCollection_
void setPFEGParameters(PFEGammaAlgo::PFEGConfigInfo &)
virtual void beginRun(const edm::Run &, const edm::EventSetup &) override
double sumPtTrackIsoForEgammaSC_barrel_
std::auto_ptr< reco::PFCandidateCollection > egCandidates_
bool verbose_
verbose ?
edm::EDGetTokenT< reco::PFCluster::EEtoPSAssociation > eetopsSrc_
std::vector< double > setchi2Values_
const GBRForest * ReaderLC_
unsigned int nTrackIsoForEgammaSC_
const GBRForest * ReaderLCEE_
std::unique_ptr< PFEGammaAlgo > pfeg_
the unfiltered electron collection
const GBRForest * ReaderGC_
edm::EDGetTokenT< reco::PFBlockCollection > inputTagBlocks_
const GBRForest * ReaderLCEB_
const GBRForest * ReaderGCBarrel_
std::shared_ptr< PFSCEnergyCalibration > thePFSCEnergyCalibration_
PFEGammaProducer(const edm::ParameterSet &)
Producer for particle flow reconstructed particles (PFCandidates)
double sumEtEcalIsoForEgammaSC_barrel_
virtual void produce(edm::Event &, const edm::EventSetup &) override
Definition: Run.h:41
std::auto_ptr< reco::SuperClusterCollection > sClusters_