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
reco::PFRecTrack::STIP
const float STIP() const
Definition: PFRecTrack.h:51
HLT_FULL_cff.track
track
Definition: HLT_FULL_cff.py:11713
reco::PFTrack
Base class for particle flow input reconstructed tracks and simulated particles.
Definition: PFTrack.h:63
reco::PFRecTrack::KF
Definition: PFRecTrack.h:25
reco
fixed size matrix
Definition: AlignmentAlgorithmBase.h:45
reco::PFRecTrack::STIP_
float STIP_
Definition: PFRecTrack.h:68
edm::Ref< TrackCollection >
reco::PFRecTrack::Unknown
Definition: PFRecTrack.h:24
Track.h
TrackFwd.h
reco::PFRecTrack::KF_ELCAND
Definition: PFRecTrack.h:27
reco::PFRecTrack::algoType
unsigned int algoType() const
Definition: PFRecTrack.h:39
reco::PFRecTrack::trackRef_
reco::TrackRef trackRef_
reference to corresponding track
Definition: PFRecTrack.h:67
reco::PFRecTrack::PFRecTrack
PFRecTrack()
Definition: PFRecTrack.cc:8
reco::operator<<
std::ostream & operator<<(std::ostream &, BeamSpot beam)
Definition: BeamSpot.cc:66
reco::PFRecTrack::AlgoType_t
AlgoType_t
different types of fitting algorithms
Definition: PFRecTrack.h:23
reco::PFTrack::charge
double charge() const
Definition: PFTrack.h:81
reco::PFRecTrack::GSF
Definition: PFRecTrack.h:26
reco::PFRecTrack::eta
auto eta() const
Definition: PFRecTrack.h:54
reco::PFRecTrack::trackRef
const reco::TrackRef & trackRef() const
Definition: PFRecTrack.h:45
reco::PFRecTrack::algoType_
AlgoType_t algoType_
type of fitting algorithm used to reconstruct the track
Definition: PFRecTrack.h:61
reco::PFRecTrack
reconstructed track used as an input to particle flow
Definition: PFRecTrack.h:20
PFTrack.h
reco::PFRecTrack::setSTIP
void setSTIP(float STIP)
\set the significance of the signed transverse impact parameter
Definition: PFRecTrack.h:48
MillePedeFileConverter_cfg.out
out
Definition: MillePedeFileConverter_cfg.py:31
reco::PFRecTrack::trackId_
int trackId_
track id
Definition: PFRecTrack.h:64
reco::PFRecTrack::phi
auto phi() const
Definition: PFRecTrack.h:57
reco::PFRecTrack::~PFRecTrack
~PFRecTrack()
Definition: PFRecTrack.h:31
reco::PFRecTrack::trackId
int trackId() const
Definition: PFRecTrack.h:42