1 #ifndef ParticleFlowCandidate_PFCandidateEGammaExtra_h 2 #define ParticleFlowCandidate_PFCandidateEGammaExtra_h
std::vector< float > clusterEnergies_
void setSuperClusterRef(reco::SuperClusterRef sc)
set reference to the corresponding supercluster
reco::TrackRef kfTrackRef_
Ref to the KF track.
float mvaVariable(MvaVariable var) const
access to any variable
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
void addSingleLegConvTrackRefMva(const std::pair< reco::TrackRef, float > &trackrefmva)
add Single Leg Conversion TrackRef
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
int mvaStatus_
status of mva variables
float sigmaEtaEta() const
std::vector< std::pair< reco::TrackRef, float > > assoSingleLeg_
vector of TrackRef from Single Leg conversions and associated mva value
void setGsfTrackRef(const reco::GsfTrackRef &ref)
set gsftrack reference
reco::TrackRef kfTrackRef() const
return a reference to the corresponding KF track
reco::SuperClusterRef superClusterRef() const
return a reference to the corresponding supercluster
reco::SuperClusterRef superClusterPFECALRef() const
return a reference to the corresponding box supercluster
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
std::vector< float > mvaVariables_
mva variables - transient !
std::ostream & operator<<(std::ostream &, BeamSpot beam)
const std::vector< std::pair< reco::TrackRef, float > > & singleLegConvTrackRefMva() const
return vector of Single Leg Conversion TrackRef from
bool mvaStatus(MvaVariable flag) const
access to mva variable status
std::vector< ElementInBlock > ElementsInBlocks
bool trackType(TrackType trType) const override
const std::vector< float > & mvaVariables() const
access to the mva variables
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)
void addSingleLegConversionRef(const reco::ConversionRef &convref)
add Conversions from PF
ElementsInBlocks assoNonConvExtraTracks_
reco::GsfTrackRef gsfTrackRef_
Ref to the GSF track.
const ElementsInBlocks & extraNonConvTracks() const
void setClusterEnergies(const std::vector< float > &energies)
set the cluster energies. the Pout should be saved first
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
void setSuperClusterPFECALRef(reco::SuperClusterRef sc)
set reference to the corresponding supercluster
reco::ConversionRefVector singleLegConversionRef() const
return Conversions from PF
void addConversionRef(const reco::ConversionRef &convref)
add Conversions from PF
~PFCandidateEGammaExtra()
destructor
reco::SuperClusterRef scPFECALRef_
Ref to PF-ECAL only supercluster.
int electronStatus() const
access to the status
float hadEnergy() const
access to specific variables
reco::GsfTrackRef gsfTrackRef() const
return a reference to the corresponding GSF track
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
reco::ConversionRefVector singleLegConversions_
const ElementInBlock & gsfElectronClusterRef() const
return a reference to the electron cluster ref
void addExtraNonConvTrack(const reco::PFBlockRef &blk, const reco::PFBlockElementTrack &tkref)
track counting for electrons and photons