#include <PFElectronAlgo.h>
|
const std::vector
< reco::PFCandidate > & | getAllElectronCandidates () |
|
const std::vector
< reco::PFCandidate > & | getElectronCandidates () |
|
const std::vector
< reco::PFCandidateElectronExtra > & | getElectronExtra () |
|
bool | isElectronValidCandidate (const reco::PFBlockRef &blockRef, std::vector< bool > &active, const reco::Vertex &primaryVertex) |
|
| PFElectronAlgo (const double mvaEleCut, std::string mvaWeightFileEleID, const boost::shared_ptr< PFSCEnergyCalibration > &thePFSCEnergyCalibration, const boost::shared_ptr< PFEnergyCalibration > &thePFEnergyCalibration, bool applyCrackCorrections, bool usePFSCEleCalib, bool useEGElectrons, bool useEGammaSupercluster, double sumEtEcalIsoForEgammaSC_barrel, double sumEtEcalIsoForEgammaSC_endcap, double coneEcalIsoForEgammaSC, double sumPtTrackIsoForEgammaSC_barrel, double sumPtTrackIsoForEgammaSC_endcap, unsigned int nTrackIsoForEgammaSC, double coneTrackIsoForEgammaSC) |
|
void | setEGElectronCollection (const reco::GsfElectronCollection &egelectrons) |
|
| ~PFElectronAlgo () |
|
|
typedef std::map< unsigned int,
std::vector< unsigned int > > | AssMap |
|
|
unsigned int | FindClosestElement (const unsigned int iele, std::multimap< double, unsigned int > &Elems, float &chi2cut, std::vector< bool > &active, const reco::PFBlockRef &blockRef) |
|
bool | isPrimaryTrack (const reco::PFBlockElementTrack &KfEl, const reco::PFBlockElementGsfTrack &GsfEl) |
|
void | RunPFElectron (const reco::PFBlockRef &blockRef, std::vector< bool > &active, const reco::Vertex &primaryVertex) |
|
void | SetActive (const reco::PFBlockRef &blockRef, AssMap &associatedToGsf_, AssMap &associatedToBrems_, AssMap &associatedToEcal_, std::vector< bool > &active) |
|
void | SetCandidates (const reco::PFBlockRef &blockRef, AssMap &associatedToGsf_, AssMap &associatedToBrems_, AssMap &associatedToEcal_) |
|
void | SetIDOutputs (const reco::PFBlockRef &blockRef, AssMap &associatedToGsf_, AssMap &associatedToBrems_, AssMap &associatedToEcal_, const reco::Vertex &primaryVertex) |
|
bool | SetLinks (const reco::PFBlockRef &blockRef, AssMap &associatedToGsf_, AssMap &associatedToBrems_, AssMap &associatedToEcal_, std::vector< bool > &active, const reco::Vertex &primaryVertex) |
|
Definition at line 26 of file PFElectronAlgo.h.
PFElectronAlgo::PFElectronAlgo |
( |
const double |
mvaEleCut, |
|
|
std::string |
mvaWeightFileEleID, |
|
|
const boost::shared_ptr< PFSCEnergyCalibration > & |
thePFSCEnergyCalibration, |
|
|
const boost::shared_ptr< PFEnergyCalibration > & |
thePFEnergyCalibration, |
|
|
bool |
applyCrackCorrections, |
|
|
bool |
usePFSCEleCalib, |
|
|
bool |
useEGElectrons, |
|
|
bool |
useEGammaSupercluster, |
|
|
double |
sumEtEcalIsoForEgammaSC_barrel, |
|
|
double |
sumEtEcalIsoForEgammaSC_endcap, |
|
|
double |
coneEcalIsoForEgammaSC, |
|
|
double |
sumPtTrackIsoForEgammaSC_barrel, |
|
|
double |
sumPtTrackIsoForEgammaSC_endcap, |
|
|
unsigned int |
nTrackIsoForEgammaSC, |
|
|
double |
coneTrackIsoForEgammaSC |
|
) |
| |
PFElectronAlgo::~PFElectronAlgo |
( |
| ) |
|
|
inline |
unsigned int PFElectronAlgo::FindClosestElement |
( |
const unsigned int |
iele, |
|
|
std::multimap< double, unsigned int > & |
Elems, |
|
|
float & |
chi2cut, |
|
|
std::vector< bool > & |
active, |
|
|
const reco::PFBlockRef & |
blockRef |
|
) |
| |
|
private |
bool PFElectronAlgo::isElectronValidCandidate |
( |
const reco::PFBlockRef & |
blockRef, |
|
|
std::vector< bool > & |
active, |
|
|
const reco::Vertex & |
primaryVertex |
|
) |
| |
|
inline |
Definition at line 50 of file PFElectronAlgo.h.
References isvalid_, and RunPFElectron().
void RunPFElectron(const reco::PFBlockRef &blockRef, std::vector< bool > &active, const reco::Vertex &primaryVertex)
void PFElectronAlgo::SetActive |
( |
const reco::PFBlockRef & |
blockRef, |
|
|
AssMap & |
associatedToGsf_, |
|
|
AssMap & |
associatedToBrems_, |
|
|
AssMap & |
associatedToEcal_, |
|
|
std::vector< bool > & |
active |
|
) |
| |
|
private |
bool PFElectronAlgo::applyCrackCorrections_ |
|
private |
std::vector<double> PFElectronAlgo::BDToutput_ |
|
private |
float PFElectronAlgo::chi2_gsf |
|
private |
float PFElectronAlgo::chi2_kf |
|
private |
double PFElectronAlgo::coneEcalIsoForEgammaSC_ |
|
private |
double PFElectronAlgo::coneTrackIsoForEgammaSC_ |
|
private |
std::vector< std::pair <unsigned int, unsigned int> > PFElectronAlgo::convGsfTrack_ |
|
private |
float PFElectronAlgo::DEtaGsfEcalClust |
|
private |
float PFElectronAlgo::dPtOverPt_gsf |
|
private |
float PFElectronAlgo::DPtOverPt_gsf |
|
private |
float PFElectronAlgo::DPtOverPt_kf |
|
private |
float PFElectronAlgo::earlyBrem |
|
private |
float PFElectronAlgo::EGsfPoutMode |
|
private |
std::map<unsigned int,std::vector<reco::PFCandidate> > PFElectronAlgo::electronConstituents_ |
|
private |
float PFElectronAlgo::Eta_gsf |
|
private |
float PFElectronAlgo::EtotBremPinPoutMode |
|
private |
float PFElectronAlgo::EtotPinMode |
|
private |
std::vector< std::pair <unsigned int, unsigned int> > PFElectronAlgo::fifthStepKfTrack_ |
|
private |
float PFElectronAlgo::firstBrem |
|
private |
std::vector<bool> PFElectronAlgo::GsfTrackSingleEcal_ |
|
private |
float PFElectronAlgo::HOverHE |
|
private |
float PFElectronAlgo::HOverPin |
|
private |
bool PFElectronAlgo::isvalid_ |
|
private |
float PFElectronAlgo::lateBrem |
|
private |
float PFElectronAlgo::lnPt_gsf |
|
private |
std::vector<bool> PFElectronAlgo::lockExtraKf_ |
|
private |
double PFElectronAlgo::mvaEleCut_ |
|
private |
const char* PFElectronAlgo::mvaWeightFile_ |
|
private |
float PFElectronAlgo::nhit_gsf |
|
private |
float PFElectronAlgo::nhit_kf |
|
private |
unsigned int PFElectronAlgo::nTrackIsoForEgammaSC_ |
|
private |
float PFElectronAlgo::SigmaEtaEta |
|
private |
double PFElectronAlgo::sumEtEcalIsoForEgammaSC_barrel_ |
|
private |
double PFElectronAlgo::sumEtEcalIsoForEgammaSC_endcap_ |
|
private |
double PFElectronAlgo::sumPtTrackIsoForEgammaSC_barrel_ |
|
private |
double PFElectronAlgo::sumPtTrackIsoForEgammaSC_endcap_ |
|
private |
TMVA::Reader* PFElectronAlgo::tmvaReader_ |
|
private |
bool PFElectronAlgo::useEGammaSupercluster_ |
|
private |
bool PFElectronAlgo::useEGElectrons_ |
|
private |
bool PFElectronAlgo::usePFSCEleCalib_ |
|
private |