1 #ifndef ParticleFlowCandidate_PFCandidateEGammaExtra_h
2 #define ParticleFlowCandidate_PFCandidateEGammaExtra_h
void addSingleLegConvMva(const float &mvasingleleg)
add Single Leg Conversion mva
std::vector< float > clusterEnergies_
void setSuperClusterRef(reco::SuperClusterRef sc)
set reference to the corresponding supercluster
reco::TrackRef kfTrackRef_
Ref to the KF track.
void addSingleLegConvTrackRef(const reco::TrackRef &trackref)
add Single Leg Conversion TrackRef
void setStatus(StatusFlag type, bool status=true)
set status
int status_
Status of the electron.
void setGsfElectronClusterRef(const reco::PFBlockRef &blk, const reco::PFBlockElementCluster &ref)
set gsf electron cluster ref
const ElementInBlock & gsfElectronClusterRef() const
return a reference to the electron cluster ref
void setHadEnergy(float val)
set the had energy. The cluster energies should be entered before
ElementInBlock eleGsfCluster_
Ref to the electron gsf cluster;.
PFCandidateEGammaExtra()
constructor
reco::TrackRef kfTrackRef() const
return a reference to the corresponding KF track
int mvaStatus_
status of mva variables
reco::SuperClusterRef superClusterRef() const
return a reference to the corresponding supercluster
void setGsfTrackRef(const reco::GsfTrackRef &ref)
set gsftrack reference
float hadEnergy() const
access to specific variables
reco::ConversionRefVector assoConversionsRef_
vector of ConversionRef from PF
XYZTLorentzVectorD XYZTLorentzVector
Lorentz vector with cylindrical internal representation using pseudorapidity.
void setSigmaEtaEta(float val)
set the sigmaetaeta
const std::vector< reco::TrackRef > & singleLegConvTrackRef() const
return vector of Single Leg Conversion TrackRef from
std::vector< float > mvaVariables_
mva variables - transient !
std::ostream & operator<<(std::ostream &, BeamSpot beam)
void setEarlyBrem(float val)
set EarlyBrem
void setVariable(MvaVariable type, float var)
void setGsfTrackPout(const math::XYZTLorentzVector &pout)
set the pout (not trivial to get from the GSF track)
ElementsInBlocks assoNonConvExtraTracks_
reco::GsfTrackRef gsfTrackRef_
Ref to the GSF track.
int electronStatus() const
access to the status
const std::vector< float > & singleLegConvMva() const
return Single Leg Conversion mva
void setClusterEnergies(const std::vector< float > &energies)
set the cluster energies. the Pout should be saved first
virtual bool trackType(TrackType trType) const
std::vector< ElementInBlock > ElementsInBlocks
reco::GsfTrackRef gsfTrackRef() const
return a reference to the corresponding GSF track
reco::SuperClusterRef scRef_
Ref to (refined) supercluster.
math::XYZTLorentzVector pout_
Variables entering the MVA that should be saved.
void setDeltaEta(float val)
set the delta eta
std::pair< reco::PFBlockRef, unsigned > ElementInBlock
bool mvaStatus(MvaVariable flag) const
access to mva variable status
void setSuperClusterPFECALRef(reco::SuperClusterRef sc)
set reference to the corresponding supercluster
void addConversionRef(const reco::ConversionRef &convref)
add Conversions from PF
~PFCandidateEGammaExtra()
destructor
reco::SuperClusterRef scPFECALRef_
Ref to PF-ECAL only supercluster.
float sigmaEtaEta() const
const ElementsInBlocks & extraNonConvTracks() const
void setKfTrackRef(const reco::TrackRef &ref)
set kf track reference
void setMVA(float val)
set the result (mostly for debugging)
reco::ConversionRefVector conversionRef() const
return Conversions from PF
void setLateBrem(float val)
set LateBrem
float mvaVariable(MvaVariable var) const
access to any variable
reco::SuperClusterRef superClusterPFECALRef() const
return a reference to the corresponding box supercluster
void addExtraNonConvTrack(const reco::PFBlockRef &blk, const reco::PFBlockElementTrack &tkref)
track counting for electrons and photons
std::vector< reco::TrackRef > assoSingleLegRefTrack_
vector of TrackRef from Single Leg conversions
const std::vector< float > & mvaVariables() const
access to the mva variables
std::vector< float > assoSingleLegMva_
vector of Mvas from Single Leg conversions