CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
PFConversion.h
Go to the documentation of this file.
1 #ifndef DataFormats_ParticleFlowReco_PFConversion_h
2 #define DataFormats_ParticleFlowReco_PFConversion_h
3 
4 
8 
9 #include <iostream>
10 #include <vector>
11 
12 class Conversion;
13 
14 namespace reco {
15 
20  class PFConversion {
21  public:
22 
23 
24  // Default constructor
26 
27 
28  // PFConversion(const reco::ConversionRef c);
29  // PFConversion(const reco::ConversionRef c, const std::vector<reco::PFRecTrackRef>& tr );
30 
32  PFConversion( const reco::ConversionRef& c, const std::vector<reco::PFRecTrackRef>& tr );
33 
34 
36  ~PFConversion();
37 
39  const std::vector<reco::PFRecTrackRef>& pfTracks() const {return pfTracks_ ;}
40 
41 
42  private:
43 
44  void addPFTrack( const reco::PFRecTrackRef & tr ) { pfTracks_.push_back(tr); }
46  std::vector<reco::PFRecTrackRef> pfTracks_;
47 
48 
49  };
50 
51 }
52 
53 #endif
const std::vector< reco::PFRecTrackRef > & pfTracks() const
Definition: PFConversion.h:39
reco::ConversionRef originalConversion_
Definition: PFConversion.h:45
void addPFTrack(const reco::PFRecTrackRef &tr)
Definition: PFConversion.h:44
std::vector< reco::PFRecTrackRef > pfTracks_
Definition: PFConversion.h:46
~PFConversion()
destructor
Definition: PFConversion.cc:13
const reco::ConversionRef & originalConversion() const
Definition: PFConversion.h:38