Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2024-04-06 12:05:18

0001 #include "DataFormats/TauReco/interface/PFTauTagInfo.h"
0002 using namespace std;
0003 using namespace edm;
0004 using namespace reco;
0005 
0006 PFTauTagInfo* PFTauTagInfo::clone() const { return new PFTauTagInfo(*this); }
0007 
0008 std::vector<reco::CandidatePtr> PFTauTagInfo::PFCands() const {
0009   std::vector<reco::CandidatePtr> thePFCands;
0010   for (std::vector<reco::CandidatePtr>::const_iterator iPFCand = PFChargedHadrCands_.begin();
0011        iPFCand != PFChargedHadrCands_.end();
0012        iPFCand++)
0013     thePFCands.push_back(*iPFCand);
0014   for (std::vector<reco::CandidatePtr>::const_iterator iPFCand = PFNeutrHadrCands_.begin();
0015        iPFCand != PFNeutrHadrCands_.end();
0016        iPFCand++)
0017     thePFCands.push_back(*iPFCand);
0018   for (std::vector<reco::CandidatePtr>::const_iterator iPFCand = PFGammaCands_.begin(); iPFCand != PFGammaCands_.end();
0019        iPFCand++)
0020     thePFCands.push_back(*iPFCand);
0021   return thePFCands;
0022 }
0023 const std::vector<reco::CandidatePtr>& PFTauTagInfo::PFChargedHadrCands() const { return PFChargedHadrCands_; }
0024 void PFTauTagInfo::setPFChargedHadrCands(const std::vector<reco::CandidatePtr>& x) { PFChargedHadrCands_ = x; }
0025 const std::vector<reco::CandidatePtr>& PFTauTagInfo::PFNeutrHadrCands() const { return PFNeutrHadrCands_; }
0026 void PFTauTagInfo::setPFNeutrHadrCands(const std::vector<reco::CandidatePtr>& x) { PFNeutrHadrCands_ = x; }
0027 const std::vector<reco::CandidatePtr>& PFTauTagInfo::PFGammaCands() const { return PFGammaCands_; }
0028 void PFTauTagInfo::setPFGammaCands(const std::vector<reco::CandidatePtr>& x) { PFGammaCands_ = x; }
0029 
0030 const JetBaseRef& PFTauTagInfo::pfjetRef() const { return PFJetRef_; }
0031 void PFTauTagInfo::setpfjetRef(const JetBaseRef x) { PFJetRef_ = x; }