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 
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,
42  AlgoType_t algoType);
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 
57  void setSTIP(float STIP){STIP_=STIP;}
58 
60  const float STIP() const{return STIP_;}
61 
62  private:
63 
66 
68  int trackId_;
69 
72  float STIP_;
73 
74  };
75 
76  std::ostream& operator<<(std::ostream& out,
77  const PFRecTrack& track);
78 
79 }
80 
81 #endif
reconstructed track used as an input to particle flow
Definition: PFRecTrack.h:22
reco::TrackRef trackRef_
reference to corresponding track
Definition: PFRecTrack.h:71
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:57
const reco::TrackRef & trackRef() const
Definition: PFRecTrack.h:54
std::ostream & operator<<(std::ostream &, BeamSpot beam)
Definition: BeamSpot.cc:71
const float STIP() const
Definition: PFRecTrack.h:60
int trackId_
track id
Definition: PFRecTrack.h:68
int trackId() const
Definition: PFRecTrack.h:50
fixed size matrix
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:65
double charge() const
Definition: PFTrack.h:87