1 #ifndef ParticleFlowCandidate_PFCandidateEGammaExtra_h
2 #define ParticleFlowCandidate_PFCandidateEGammaExtra_h
const edm::EventSetup & c
std::vector< float > clusterEnergies_
void setSuperClusterRef(reco::SuperClusterRef sc)
set reference to the corresponding supercluster
reco::TrackRef kfTrackRef_
Ref to the KF track.
void setStatus(StatusFlag type, bool status=true)
set status
int status_
Status of the electron.
const std::vector< std::pair< reco::TrackRef, float > > & singleLegConvTrackRefMva() const
return vector of Single Leg Conversion TrackRef from
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 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
reco::TrackRef kfTrackRef() const
return a reference to the corresponding KF track
int mvaStatus_
status of mva variables
std::vector< std::pair< reco::TrackRef, float > > assoSingleLeg_
vector of TrackRef from Single Leg conversions and associated mva value
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 singleLegConversionRef() const
return Conversions from PF
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)
std::vector< ElementInBlock > ElementsInBlocks
bool trackType(TrackType trType) const override
list var
if using global norm cols_to_minmax = ['t_delta', 't_hmaxNearP','t_emaxNearP', 't_hAnnular', 't_eAnnular','t_pt','t_nVtx','t_ieta','t_eHcal10', 't_eHcal30','t_rhoh','t_eHcal'] df[cols_to_minmax] = df[cols_to_minmax].apply(lambda x: (x - x.min()) / (x.max() - x.min()) if (x.max() - x.min() > 0) else 1.0/200.0)
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.
int electronStatus() const
access to the status
void setClusterEnergies(const std::vector< float > &energies)
set the cluster energies. the Pout should be saved first
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
reco::ConversionRefVector singleLegConversions_
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
const std::vector< float > & mvaVariables() const
access to the mva variables