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 
5 /* #include "DataFormats/Common/interface/RefToBase.h" */
7 
8 #include <iostream>
9 
10 namespace reco {
11 
22  class PFRecTrack : public PFTrack {
23  public:
25  enum AlgoType_t {
26  Unknown = 0,
27  KF = 1, // Kalman filter
28  GSF = 2,
29  KF_ELCAND = 3 // Gaussian sum filter
30  };
31 
32  PFRecTrack();
34  PFRecTrack(double charge, AlgoType_t algoType, int trackId, const reco::TrackRef& trackref);
35 
36  PFRecTrack(double charge, AlgoType_t algoType);
37 
38  /* PFRecTrack(const PFRecTrack& other); */
39 
41  unsigned int algoType() const { return algoType_; }
42 
44  int trackId() const { return trackId_; }
45 
47  const reco::TrackRef& trackRef() const { return trackRef_; }
48 
50  void setSTIP(float STIP) { STIP_ = STIP; }
51 
53  const float STIP() const { return STIP_; }
54 
55  private:
58 
60  int trackId_;
61 
64  float STIP_;
65  };
66 
67  std::ostream& operator<<(std::ostream& out, const PFRecTrack& track);
68 
69 } // namespace reco
70 
71 #endif
reconstructed track used as an input to particle flow
Definition: PFRecTrack.h:22
reco::TrackRef trackRef_
reference to corresponding track
Definition: PFRecTrack.h:63
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:50
const reco::TrackRef & trackRef() const
Definition: PFRecTrack.h:47
std::ostream & operator<<(std::ostream &, BeamSpot beam)
Definition: BeamSpot.cc:66
const float STIP() const
Definition: PFRecTrack.h:53
int trackId_
track id
Definition: PFRecTrack.h:60
int trackId() const
Definition: PFRecTrack.h:44
fixed size matrix
AlgoType_t
different types of fitting algorithms
Definition: PFRecTrack.h:25
unsigned int algoType() const
Definition: PFRecTrack.h:41
AlgoType_t algoType_
type of fitting algorithm used to reconstruct the track
Definition: PFRecTrack.h:57
double charge() const
Definition: PFTrack.h:85