CMS 3D CMS Logo

PFConversion.h
Go to the documentation of this file.
1 #ifndef DataFormats_ParticleFlowReco_PFConversion_h
2 #define DataFormats_ParticleFlowReco_PFConversion_h
3 
8 
9 #include <iostream>
10 #include <vector>
11 
12 class Conversion;
13 
14 namespace reco {
15 
20  class PFConversion {
21  public:
22  // Default constructor
24 
25  // PFConversion(const reco::ConversionRef c);
26  // PFConversion(const reco::ConversionRef c, const std::vector<reco::PFRecTrackRef>& tr );
27 
29  PFConversion(const reco::ConversionRef& c, const std::vector<reco::PFRecTrackRef>& tr);
30 
32  ~PFConversion();
33 
35  const std::vector<reco::PFRecTrackRef>& pfTracks() const { return pfTracks_; }
36 
37  private:
38  void addPFTrack(const reco::PFRecTrackRef& tr) { pfTracks_.push_back(tr); }
40  std::vector<reco::PFRecTrackRef> pfTracks_;
41  };
42 
43 } // namespace reco
44 
45 #endif
const reco::ConversionRef & originalConversion() const
Definition: PFConversion.h:34
reco::ConversionRef originalConversion_
Definition: PFConversion.h:39
void addPFTrack(const reco::PFRecTrackRef &tr)
Definition: PFConversion.h:38
std::vector< reco::PFRecTrackRef > pfTracks_
Definition: PFConversion.h:40
~PFConversion()
destructor
Definition: PFConversion.cc:10
fixed size matrix
const std::vector< reco::PFRecTrackRef > & pfTracks() const
Definition: PFConversion.h:35