CMS 3D CMS Logo

/data/refman/pasoursint/CMSSW_6_1_1/src/DataFormats/ParticleFlowCandidate/src/PFCandidatePhotonExtra.cc

Go to the documentation of this file.
00001 #include "DataFormats/ParticleFlowCandidate/interface/PFCandidatePhotonExtra.h"
00002 #include <ostream>
00003 #include <iomanip>
00004 
00005 using namespace reco;
00006 
00007 PFCandidatePhotonExtra::PFCandidatePhotonExtra(){
00008   Mustache_Et_=0.;
00009   Excluded_clust_ = 0;
00010   
00011   GlobalCorr_ = 0. ;
00012   GlobalCorrEError_ = 0.;
00013 }
00014 
00015 PFCandidatePhotonExtra::PFCandidatePhotonExtra(const reco::SuperClusterRef& scRef) {
00016   scRef_ = scRef;
00017   
00018   Mustache_Et_=0.;
00019   Excluded_clust_ = 0;
00020   
00021   GlobalCorr_ = 0. ;
00022   GlobalCorrEError_ = 0.;
00023 }
00024 
00025 void PFCandidatePhotonExtra::addSingleLegConvTrackRef(const reco::TrackRef& trackref){
00026   assoSingleLegRefTrack_.push_back(trackref);
00027 }
00028 
00029 void PFCandidatePhotonExtra::addSingleLegConvMva(float& mvasingleleg){
00030   assoSingleLegMva_.push_back(mvasingleleg);
00031 }
00032 
00033 void PFCandidatePhotonExtra::addConversionRef(const reco::ConversionRef& convref){
00034   assoConversionsRef_.push_back(convref);
00035 }
00036 
00037 void  PFCandidatePhotonExtra::addLCorrClusEnergy(float LCorrE){
00038   LocalCorr_.push_back(LCorrE);
00039 }