1 #ifndef PFProducer_PFElectronAlgo_H 2 #define PFProducer_PFElectronAlgo_H 14 #include "TMVA/Reader.h" 15 #include "boost/shared_ptr.hpp" 32 const boost::shared_ptr<PFSCEnergyCalibration>& thePFSCEnergyCalibration,
33 const boost::shared_ptr<PFEnergyCalibration>& thePFEnergyCalibration,
51 std::vector<bool>& active,
55 RunPFElectron(blockRef,active, primaryVertex);
65 const std::vector< reco::PFCandidateElectronExtra>&
getElectronExtra() {
return electronExtra_;};
71 typedef std::map< unsigned int, std::vector<unsigned int> >
AssMap;
74 std::vector<bool>& active,
77 unsigned int FindClosestElement(
const unsigned int iele,
78 std::multimap<double, unsigned int>& Elems,
80 std::vector<bool>& active,
84 AssMap& associatedToGsf_,
85 AssMap& associatedToBrems_,
86 AssMap& associatedToEcal_,
87 std::vector<bool>& active,
91 AssMap& associatedToGsf_,
92 AssMap& associatedToBrems_,
93 AssMap& associatedToEcal_,
97 AssMap& associatedToGsf_,
98 AssMap& associatedToBrems_,
99 AssMap& associatedToEcal_);
102 AssMap& associatedToGsf_,
103 AssMap& associatedToBrems_,
104 AssMap& associatedToEcal_,
105 std::vector<bool>& active);
146 float dPtOverPt_gsf,chi2_gsf,DPtOverPt_gsf,
std::vector< std::pair< unsigned int, unsigned int > > fifthStepKfTrack_
sumPtTrackIsoForEgammaSC_barrel
std::map< unsigned int, std::vector< unsigned int > > AssMap
sumPtTrackIsoForEgammaSC_endcap
const std::vector< reco::PFCandidate > & getAllElectronCandidates()
std::vector< std::pair< unsigned int, unsigned int > > convGsfTrack_
const char * mvaWeightFile_
std::vector< reco::PFCandidateElectronExtra > electronExtra_
const std::vector< reco::GsfElectron > * theGsfElectrons_
sumEtEcalIsoForEgammaSC_endcap
std::vector< GsfElectron > GsfElectronCollection
collection of GsfElectron objects
double coneEcalIsoForEgammaSC_
TMVA::Reader * tmvaReader_
const std::vector< reco::PFCandidateElectronExtra > & getElectronExtra()
double sumEtEcalIsoForEgammaSC_barrel_
std::vector< bool > lockExtraKf_
std::vector< double > BDToutput_
double sumEtEcalIsoForEgammaSC_endcap_
sumEtEcalIsoForEgammaSC_barrel
std::map< unsigned int, std::vector< reco::PFCandidate > > electronConstituents_
const std::vector< reco::PFCandidate > & getElectronCandidates()
double sumPtTrackIsoForEgammaSC_endcap_
boost::shared_ptr< PFSCEnergyCalibration > thePFSCEnergyCalibration_
double coneTrackIsoForEgammaSC_
std::vector< bool > GsfTrackSingleEcal_
bool isElectronValidCandidate(const reco::PFBlockRef &blockRef, std::vector< bool > &active, const reco::Vertex &primaryVertex)
double sumPtTrackIsoForEgammaSC_barrel_
unsigned int nTrackIsoForEgammaSC_
boost::shared_ptr< PFEnergyCalibration > thePFEnergyCalibration_
std::vector< reco::PFCandidate > elCandidate_
bool applyCrackCorrections_
bool useEGammaSupercluster_
std::vector< reco::PFCandidate > allElCandidate_