CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
PFV0.h
Go to the documentation of this file.
1 #ifndef DataFormats_ParticleFlowReco_PFV0_h
2 #define DataFormats_ParticleFlowReco_PFV0_h
3 
10 #include <iostream>
11 #include <vector>
12 
13 class Conversion;
14 
15 namespace reco {
16 
17  class PFV0 {
18  public:
20  PFV0() {}
21 
23  const std::vector<reco::PFRecTrackRef>& pftr,
24  const std::vector<reco::TrackRef>& tr)
25  : originalV0_(V0), pfTracks_(pftr), tracks_(tr) {}
26 
28  ~PFV0(){};
29 
32 
34  const std::vector<reco::PFRecTrackRef>& pfTracks() const { return pfTracks_; }
35 
37  const std::vector<reco::TrackRef>& Tracks() const { return tracks_; }
38 
39  private:
41  std::vector<reco::PFRecTrackRef> pfTracks_;
42  std::vector<reco::TrackRef> tracks_;
43  };
44 
45 } // namespace reco
46 
47 #endif
std::vector< reco::TrackRef > tracks_
Definition: PFV0.h:42
~PFV0()
destructor
Definition: PFV0.h:28
const std::vector< reco::TrackRef > & Tracks() const
Vector of a Refs of Track.
Definition: PFV0.h:37
const reco::VertexCompositeCandidateRef & originalV0() const
Ref to the original V0.
Definition: PFV0.h:31
PFV0()
Default constructor.
Definition: PFV0.h:20
PFV0(const reco::VertexCompositeCandidateRef V0, const std::vector< reco::PFRecTrackRef > &pftr, const std::vector< reco::TrackRef > &tr)
Definition: PFV0.h:22
reco::VertexCompositeCandidateRef originalV0_
Definition: PFV0.h:40
const std::vector< reco::PFRecTrackRef > & pfTracks() const
Vector of a Refs of PFRecTrack.
Definition: PFV0.h:34
std::vector< reco::PFRecTrackRef > pfTracks_
Definition: PFV0.h:41