1 #ifndef RecoParticleFlow_PFEGammaProducer_PFEGammaProducer_h_
2 #define RecoParticleFlow_PFEGammaProducer_PFEGammaProducer_h_
60 const boost::shared_ptr<PFSCEnergyCalibration>& thePFSCEnergyCalibration,
61 const boost::shared_ptr<PFEnergyCalibration>& thePFEnergyCalibration,
62 double sumEtEcalIsoForEgammaSC_barrel,
63 double sumEtEcalIsoForEgammaSC_endcap,
64 double coneEcalIsoForEgammaSC,
65 double sumPtTrackIsoForEgammaSC_barrel,
66 double sumPtTrackIsoForEgammaSC_endcap,
67 unsigned int nTrackIsoForEgammaSC,
68 double coneTrackIsoForEgammaSC,
69 bool applyCrackCorrections,
72 bool useEGammaSupercluster,
78 double sumPtTrackIsoForPhoton,
79 double sumPtTrackIsoSlopeForPhoton
153 std::auto_ptr<reco::PFCandidateEGammaExtraCollection>
egExtra_;
std::auto_ptr< reco::CaloClusterCollection > esClusters_
const GBRForest * ReaderRes_
std::auto_ptr< PFEGammaAlgo > pfeg_
particle flow algorithm
const GBRForest * ReaderGCEndCapHighr9_
double sumPtTrackIsoForEgammaSC_endcap_
bool applyCrackCorrectionsElectrons_
bool useRegressionFromDB_
bool useVerticesForNeutral_
double coneEcalIsoForEgammaSC_
const GBRForest * ReaderEcalRes_
edm::InputTag inputTagBlocks_
double coneTrackIsoForEgammaSC_
std::vector< Vertex > VertexCollection
collection of Vertex objects
void setPFPhotonRegWeights(const GBRForest *LCorrForestEB, const GBRForest *LCorrForestEE, const GBRForest *GCorrForestBarrel, const GBRForest *GCorrForestEndcapHr9, const GBRForest *GCorrForestEndcapLr9, const GBRForest *PFEcalResolution)
boost::shared_ptr< PFSCEnergyCalibration > thePFSCEnergyCalibration_
double sumEtEcalIsoForEgammaSC_endcap_
const GBRForest * ReaderGCEndCapLowr9_
std::string mvaWeightFileEleID_
Variables for PFEGamma.
bool useEGammaSupercluster_
void setPFVertexParameters(bool useVertex, const reco::VertexCollection *primaryVertices)
reco::Vertex primaryVertex_
std::auto_ptr< reco::PFCandidateEGammaExtraCollection > egExtra_
the unfiltered electron collection
edm::InputTag inputTagEgammaElectrons_
virtual void beginRun(const edm::Run &, const edm::EventSetup &) override
double sumPtTrackIsoForEgammaSC_barrel_
std::auto_ptr< reco::PFCandidateCollection > egCandidates_
void setPFEGParameters(double mvaEleCut, std::string mvaWeightFileEleID, bool usePFElectrons, const boost::shared_ptr< PFSCEnergyCalibration > &thePFSCEnergyCalibration, const boost::shared_ptr< PFEnergyCalibration > &thePFEnergyCalibration, double sumEtEcalIsoForEgammaSC_barrel, double sumEtEcalIsoForEgammaSC_endcap, double coneEcalIsoForEgammaSC, double sumPtTrackIsoForEgammaSC_barrel, double sumPtTrackIsoForEgammaSC_endcap, unsigned int nTrackIsoForEgammaSC, double coneTrackIsoForEgammaSC, bool applyCrackCorrections, bool usePFSCEleCalib, bool useEGElectrons, bool useEGammaSupercluster, bool usePFPhoton, std::string mvaWeightFileConvID, double mvaConvCut, bool useReg, std::string X0_Map, double sumPtTrackIsoForPhoton, double sumPtTrackIsoSlopeForPhoton)
std::vector< double > setchi2Values_
const GBRForest * ReaderLC_
unsigned int nTrackIsoForEgammaSC_
const GBRForest * ReaderLCEE_
const GBRForest * ReaderGC_
const GBRForest * ReaderLCEB_
const GBRForest * ReaderGCBarrel_
PFEGammaProducer(const edm::ParameterSet &)
Producer for particle flow reconstructed particles (PFCandidates)
double sumEtEcalIsoForEgammaSC_barrel_
std::auto_ptr< reco::CaloClusterCollection > ebeeClusters_
virtual void produce(edm::Event &, const edm::EventSetup &) override
bool useCalibrationsFromDB_
std::auto_ptr< reco::SuperClusterCollection > sClusters_