Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2021-02-14 12:54:16

0001 #ifndef DataFormats_ParticleFlowReco_PFConversion_h
0002 #define DataFormats_ParticleFlowReco_PFConversion_h
0003 
0004 #include "DataFormats/EgammaCandidates/interface/ConversionFwd.h"
0005 #include "DataFormats/EgammaCandidates/interface/Conversion.h"
0006 #include "DataFormats/ParticleFlowReco/interface/PFRecTrackFwd.h"
0007 #include "DataFormats/ParticleFlowReco/interface/PFConversionFwd.h"
0008 
0009 #include <iostream>
0010 #include <vector>
0011 
0012 class Conversion;
0013 
0014 namespace reco {
0015 
0016   /**\class PFConversion
0017      \author  Nancy Marinelli - Univ. of Notre Dame
0018      \date   
0019   */
0020   class PFConversion {
0021   public:
0022     // Default constructor
0023     PFConversion() {}
0024 
0025     //    PFConversion(const reco::ConversionRef c);
0026     // PFConversion(const reco::ConversionRef c, const std::vector<reco::PFRecTrackRef>&  tr   );
0027 
0028     PFConversion(reco::ConversionRef c);
0029     PFConversion(const reco::ConversionRef& c, const std::vector<reco::PFRecTrackRef>& tr);
0030 
0031     /// destructor
0032     ~PFConversion();
0033 
0034     const reco::ConversionRef& originalConversion() const { return originalConversion_; }
0035     const std::vector<reco::PFRecTrackRef>& pfTracks() const { return pfTracks_; }
0036 
0037   private:
0038     void addPFTrack(const reco::PFRecTrackRef& tr) { pfTracks_.push_back(tr); }
0039     reco::ConversionRef originalConversion_;
0040     std::vector<reco::PFRecTrackRef> pfTracks_;
0041   };
0042 
0043 }  // namespace reco
0044 
0045 #endif