1 #ifndef PFProducer_PFElectronAlgo_H 2 #define PFProducer_PFElectronAlgo_H 14 #include "TMVA/Reader.h" 31 const std::shared_ptr<PFSCEnergyCalibration>& thePFSCEnergyCalibration,
32 const std::shared_ptr<PFEnergyCalibration>& thePFEnergyCalibration,
50 std::vector<bool>& active,
54 RunPFElectron(blockRef,active, primaryVertex);
64 const std::vector< reco::PFCandidateElectronExtra>&
getElectronExtra() {
return electronExtra_;};
70 typedef std::map< unsigned int, std::vector<unsigned int> >
AssMap;
73 std::vector<bool>& active,
76 unsigned int FindClosestElement(
const unsigned int iele,
77 std::multimap<double, unsigned int>& Elems,
79 std::vector<bool>& active,
83 AssMap& associatedToGsf_,
84 AssMap& associatedToBrems_,
85 AssMap& associatedToEcal_,
86 std::vector<bool>& active,
90 AssMap& associatedToGsf_,
91 AssMap& associatedToBrems_,
92 AssMap& associatedToEcal_,
96 AssMap& associatedToGsf_,
97 AssMap& associatedToBrems_,
98 AssMap& associatedToEcal_);
101 AssMap& associatedToGsf_,
102 AssMap& associatedToBrems_,
103 AssMap& associatedToEcal_,
104 std::vector<bool>& active);
145 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_
std::shared_ptr< PFEnergyCalibration > thePFEnergyCalibration_
const std::vector< reco::GsfElectron > * theGsfElectrons_
sumEtEcalIsoForEgammaSC_endcap
std::vector< GsfElectron > GsfElectronCollection
collection of GsfElectron objects
double coneEcalIsoForEgammaSC_
TMVA::Reader * tmvaReader_
std::shared_ptr< PFSCEnergyCalibration > thePFSCEnergyCalibration_
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_
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_
std::vector< reco::PFCandidate > elCandidate_
bool applyCrackCorrections_
bool useEGammaSupercluster_
std::vector< reco::PFCandidate > allElCandidate_