CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
PFRecTrack.h
Go to the documentation of this file.
1 #ifndef DataFormats_ParticleFlowReco_PFRecTrack_h
2 #define DataFormats_ParticleFlowReco_PFRecTrack_h
3 
5 /* #include "DataFormats/Common/interface/RefToBase.h" */
7 
8 #include <iostream>
9 
10 namespace reco {
11 
22  class PFRecTrack : public PFTrack {
23 
24  public:
25 
27  enum AlgoType_t {
28  Unknown = 0,
29  KF = 1, // Kalman filter
30  GSF = 2,
31  KF_ELCAND=3// Gaussian sum filter
32  };
33 
34  PFRecTrack();
36  PFRecTrack(double charge,
38  int trackId,
39  const reco::TrackRef& trackref );
40 
41  PFRecTrack(double charge,
43 
44  /* PFRecTrack(const PFRecTrack& other); */
45 
47  unsigned int algoType() const { return algoType_; }
48 
50  int trackId() const {return trackId_;}
51 
53  const reco::TrackRef&
54  trackRef() const {return trackRef_;}
55 
56 
57 
58  friend std::ostream& operator<<(std::ostream& out,
59  const PFRecTrack& track);
60 
61  private:
62 
65 
67  int trackId_;
68 
71 
72 
73  };
74 
75 
76 }
77 
78 #endif
reconstructed track used as an input to particle flow
Definition: PFRecTrack.h:22
reco::TrackRef trackRef_
reference to corresponding track
Definition: PFRecTrack.h:70
Base class for particle flow input reconstructed tracks and simulated particles.
Definition: PFTrack.h:63
const reco::TrackRef & trackRef() const
Definition: PFRecTrack.h:54
int trackId_
track id
Definition: PFRecTrack.h:67
int trackId() const
Definition: PFRecTrack.h:50
tuple out
Definition: dbtoconf.py:99
AlgoType_t
different types of fitting algorithms
Definition: PFRecTrack.h:27
unsigned int algoType() const
Definition: PFRecTrack.h:47
AlgoType_t algoType_
type of fitting algorithm used to reconstruct the track
Definition: PFRecTrack.h:64
friend std::ostream & operator<<(std::ostream &out, const PFRecTrack &track)
double charge() const
Definition: PFTrack.h:87