File indexing completed on 2023-03-17 10:50:50
0001 #include "DataFormats/ParticleFlowCandidate/interface/PFCandidatePhotonExtra.h"
0002 #include <ostream>
0003 #include <iomanip>
0004
0005 using namespace reco;
0006
0007 PFCandidatePhotonExtra::PFCandidatePhotonExtra() {
0008 Mustache_Et_ = 0.;
0009 Excluded_clust_ = 0;
0010
0011 GlobalCorr_ = 0.;
0012 GlobalCorrEError_ = 0.;
0013 }
0014
0015 PFCandidatePhotonExtra::PFCandidatePhotonExtra(const reco::SuperClusterRef& scRef) {
0016 scRef_ = scRef;
0017
0018 Mustache_Et_ = 0.;
0019 Excluded_clust_ = 0;
0020
0021 GlobalCorr_ = 0.;
0022 GlobalCorrEError_ = 0.;
0023 }
0024
0025 void PFCandidatePhotonExtra::addSingleLegConvTrackRef(const reco::TrackRef& trackref) {
0026 assoSingleLegRefTrack_.push_back(trackref);
0027 }
0028
0029 void PFCandidatePhotonExtra::addSingleLegConvMva(float& mvasingleleg) { assoSingleLegMva_.push_back(mvasingleleg); }
0030
0031 void PFCandidatePhotonExtra::addConversionRef(const reco::ConversionRef& convref) {
0032 assoConversionsRef_.push_back(convref);
0033 }
0034
0035 void PFCandidatePhotonExtra::addLCorrClusEnergy(float LCorrE) { LocalCorr_.push_back(LCorrE); }