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 
57  void setSTIP(float STIP){STIP_=STIP;}
58 
60  const float STIP() const{return STIP_;}
61 
62 
63  friend std::ostream& operator<<(std::ostream& out,
64  const PFRecTrack& track);
65 
66  private:
67 
70 
72  int trackId_;
73 
76  float STIP_;
77 
78  };
79 
80 
81 }
82 
83 #endif
reconstructed track used as an input to particle flow
Definition: PFRecTrack.h:22
reco::TrackRef trackRef_
reference to corresponding track
Definition: PFRecTrack.h:75
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
const float STIP() const
Definition: PFRecTrack.h:60
int trackId_
track id
Definition: PFRecTrack.h:72
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:69
friend std::ostream & operator<<(std::ostream &out, const PFRecTrack &track)
double charge() const
Definition: PFTrack.h:87