Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2024-09-07 04:35:57

0001 #ifndef DataFormats_TauReco_PFTauTagInfo_h
0002 #define DataFormats_TauReco_PFTauTagInfo_h
0003 
0004 /* class PFTauTagInfo
0005  * the object of this class is created by RecoTauTag/RecoTau PFRecoTauTagInfoProducer EDProducer starting from JetTrackAssociations <a PFJet,a list of Tracks> object
0006  *                          is the initial object for building a PFTau object
0007  * created: Aug 29 2007,
0008  * revised: Sep 10 2007,
0009  * authors: Ludovic Houchu
0010  */
0011 
0012 #include "DataFormats/ParticleFlowCandidate/interface/PFCandidate.h"
0013 #include "DataFormats/ParticleFlowCandidate/interface/PFCandidateFwd.h"
0014 #include "DataFormats/JetReco/interface/JetCollection.h"
0015 #include "DataFormats/TauReco/interface/PFTauTagInfoFwd.h"
0016 #include "DataFormats/TauReco/interface/BaseTauTagInfo.h"
0017 
0018 namespace reco {
0019   class PFTauTagInfo : public BaseTauTagInfo {
0020   public:
0021     PFTauTagInfo() {}
0022     ~PFTauTagInfo() override {}
0023     virtual PFTauTagInfo* clone() const;
0024 
0025     //get the PFCandidates which compose the PF jet and were filtered by RecoTauTag/TauTagTools/ TauTagTools::filteredPFChargedHadrCands(.,...), filteredPFNeutrHadrCands(.), filteredPFGammaCands(.) functions through RecoTauTag/RecoTauTag/ PFRecoTauTagInfoProducer EDProducer
0026     std::vector<reco::CandidatePtr> PFCands() const;
0027     const std::vector<reco::CandidatePtr>& PFChargedHadrCands() const;
0028     void setPFChargedHadrCands(const std::vector<reco::CandidatePtr>&);
0029     const std::vector<reco::CandidatePtr>& PFNeutrHadrCands() const;
0030     void setPFNeutrHadrCands(const std::vector<reco::CandidatePtr>&);
0031     const std::vector<reco::CandidatePtr>& PFGammaCands() const;
0032     void setPFGammaCands(const std::vector<reco::CandidatePtr>&);
0033 
0034     //the reference to the PFJet
0035     const JetBaseRef& pfjetRef() const;
0036     void setpfjetRef(const JetBaseRef);
0037 
0038   private:
0039     JetBaseRef PFJetRef_;
0040     std::vector<reco::CandidatePtr> PFChargedHadrCands_;
0041     std::vector<reco::CandidatePtr> PFNeutrHadrCands_;
0042     std::vector<reco::CandidatePtr> PFGammaCands_;
0043   };
0044 }  // namespace reco
0045 #endif