CMS 3D CMS Logo

PFRecTrack.h
Go to the documentation of this file.
1 #ifndef DataFormats_ParticleFlowReco_PFRecTrack_h
2 #define DataFormats_ParticleFlowReco_PFRecTrack_h
3 
7 
8 namespace reco {
9 
20  class PFRecTrack : public PFTrack {
21  public:
23  enum AlgoType_t {
24  Unknown = 0,
25  KF = 1, // Kalman filter
26  GSF = 2,
27  KF_ELCAND = 3 // Gaussian sum filter
28  };
29 
30  PFRecTrack();
32  PFRecTrack(double charge, AlgoType_t algoType, int trackId, const reco::TrackRef& trackref);
33 
35 
36  /* PFRecTrack(const PFRecTrack& other); */
37 
39  unsigned int algoType() const { return algoType_; }
40 
42  int trackId() const { return trackId_; }
43 
45  const reco::TrackRef& trackRef() const { return trackRef_; }
46 
48  void setSTIP(float STIP) { STIP_ = STIP; }
49 
51  const float STIP() const { return STIP_; }
52 
54  inline auto eta() const { return trackRef_->eta(); }
55 
57  inline auto phi() const { return trackRef_->phi(); }
58 
59  private:
62 
64  int trackId_;
65 
68  float STIP_;
69  };
70 
71  std::ostream& operator<<(std::ostream& out, const PFRecTrack& track);
72 
73 } // namespace reco
74 
75 #endif
reconstructed track used as an input to particle flow
Definition: PFRecTrack.h:20
unsigned int algoType() const
Definition: PFRecTrack.h:39
reco::TrackRef trackRef_
reference to corresponding track
Definition: PFRecTrack.h:67
const float STIP() const
Definition: PFRecTrack.h:51
Base class for particle flow input reconstructed tracks and simulated particles.
Definition: PFTrack.h:63
void setSTIP(float STIP)
the significance of the signed transverse impact parameter
Definition: PFRecTrack.h:48
double charge() const
Definition: PFTrack.h:81
std::ostream & operator<<(std::ostream &, BeamSpot beam)
Definition: BeamSpot.cc:66
int trackId_
track id
Definition: PFRecTrack.h:64
int trackId() const
Definition: PFRecTrack.h:42
auto eta() const
Definition: PFRecTrack.h:54
const reco::TrackRef & trackRef() const
Definition: PFRecTrack.h:45
auto phi() const
Definition: PFRecTrack.h:57
fixed size matrix
AlgoType_t
different types of fitting algorithms
Definition: PFRecTrack.h:23
AlgoType_t algoType_
type of fitting algorithm used to reconstruct the track
Definition: PFRecTrack.h:61