CMS 3D CMS Logo

CMSSW_4_4_3_patch1/src/DataFormats/ParticleFlowReco/interface/PFConversion.h

Go to the documentation of this file.
00001 #ifndef DataFormats_ParticleFlowReco_PFConversion_h
00002 #define DataFormats_ParticleFlowReco_PFConversion_h
00003 
00004 
00005 #include "DataFormats/EgammaCandidates/interface/ConversionFwd.h"
00006 #include "DataFormats/EgammaCandidates/interface/Conversion.h"
00007 #include "DataFormats/ParticleFlowReco/interface/PFRecTrackFwd.h"
00008 
00009 #include <iostream>
00010 #include <vector>
00011 
00012 class Conversion;
00013 
00014 namespace reco {
00015 
00020   class PFConversion {
00021   public:
00022 
00023 
00024  // Default constructor
00025     PFConversion() {}
00026   
00027 
00028     //    PFConversion(const reco::ConversionRef c);
00029     // PFConversion(const reco::ConversionRef c, const std::vector<reco::PFRecTrackRef>&  tr   );
00030 
00031     PFConversion( reco::ConversionRef c);
00032     PFConversion( const reco::ConversionRef& c, const std::vector<reco::PFRecTrackRef>&  tr   );
00033 
00034 
00036     ~PFConversion();
00037 
00038     const reco::ConversionRef& originalConversion() const   {return originalConversion_;} 
00039     std::vector<reco::PFRecTrackRef> pfTracks() const {return pfTracks_ ;} 
00040     
00041 
00042   private:
00043 
00044     void addPFTrack( const reco::PFRecTrackRef & tr ) { pfTracks_.push_back(tr); }    
00045     reco::ConversionRef originalConversion_;
00046     std::vector<reco::PFRecTrackRef>  pfTracks_;
00047     
00048 
00049   };
00050 
00051 }
00052 
00053 #endif