Go to the documentation of this file.
54 float chi2_kf = -0.01;
96 const float m_el2 = 0.00051 * 0.00051;
103 for (
unsigned ic = 0; ic <
size; ++ic) {
141 static char const*
const listVar[] = {
"LogPt",
151 "DeltaEtaTrackCluster",
162 out << std::setiosflags(std::ios::left) << std::setw(20) <<
"Variable index" << std::setw(20) <<
"Name"
163 << std::setw(10) <<
"Set(0/1)" << std::setw(8) <<
"value" << std::endl;
167 out << std::setw(20) <<
i << std::setw(20) <<
listVar[
i] << std::setw(10) << extra.
mvaStatus(
i) << std::setw(8)
edm::Ref< GsfTrackCollection > GsfTrackRef
persistent reference to a GsfTrack
bool mvaStatus(MvaVariable flag) const
access to mva variable status
void setVariable(MvaVariable type, float var)
math::XYZTLorentzVector pout_
Variables entering the MVA that should be saved.
void setStatus(StatusFlag type, bool status=true)
set status
void setSigmaEtaEta(float val)
set the sigmaetaeta
int status_
Status of the electron.
PFCandidateElectronExtra()
constructor
int mvaStatus_
status of mva variables
std::vector< float > clusterEnergies_
energy of individual clusters (corrected). The first cluster is the seed
void setGsfTrackRef(const reco::GsfTrackRef &ref)
set gsftrack reference
static char const *const listVar[]
void setMVA(float val)
set the result (mostly for debugging)
reco::GsfTrackRef gsfTrackRef_
Ref to the GSF track.
edm::Ref< TrackCollection > TrackRef
persistent reference to a Track
void setHadEnergy(float val)
set the had energy. The cluster energies should be entered before
void setEarlyBrem(float val)
set EarlyBrem
void setDeltaEta(float val)
set the delta eta
bool isNonnull() const
Checks for non-null.
int electronStatus() const
access to the status
void setGsfTrackPout(const math::XYZTLorentzVector &pout)
set the pout (not trivial to get from the GSF track)
void setClusterEnergies(const std::vector< float > &energies)
set the cluster energies. the Pout should be saved first
std::ostream & operator<<(std::ostream &, BeamSpot beam)
std::vector< float > mvaVariables_
mva variables - transient !
float mvaVariable(MvaVariable var) const
access to any variable
void setKfTrackRef(const reco::TrackRef &ref)
set kf track reference
reco::TrackRef kfTrackRef_
Ref to the KF track.
void setLateBrem(float val)
set LateBrem
XYZTLorentzVectorD XYZTLorentzVector
Lorentz vector with cylindrical internal representation using pseudorapidity.