CMS 3D CMS Logo

TrackTools.h
Go to the documentation of this file.
1 #ifndef RecoTauTag_ImpactParameter_TrackTools_h
2 #define RecoTauTag_ImpactParameter_TrackTools_h
3 
4 /* From SimpleFits Package
5  * Designed an written by
6  * author: Ian M. Nugent
7  * Humboldt Foundations
8  */
9 
10 #include "TMatrixT.h"
11 #include "TMatrixTSym.h"
12 #include "TVector3.h"
15 
16 namespace tauImpactParameter {
17 
18 class TrackTools {
19  public:
21  virtual ~TrackTools(){};
22  static TVector3 propagateToXPosition(const TrackParticle& p, double x);
23  static TVector3 propagateToYPosition(const TrackParticle& p, double y);
24  static TVector3 propagateToZPosition(const TrackParticle& p, double z);
25  static LorentzVectorParticle lorentzParticleAtPosition(const TrackParticle& p, const TVector3& v);
26 };
27 
28 }
29 #endif
30 
31 
static LorentzVectorParticle lorentzParticleAtPosition(const TrackParticle &p, const TVector3 &v)
Definition: TrackTools.cc:53
static TVector3 propagateToYPosition(const TrackParticle &p, double y)
Definition: TrackTools.cc:26
T x() const
Cartesian x coordinate.
static TVector3 propagateToXPosition(const TrackParticle &p, double x)
Definition: TrackTools.cc:13
static TVector3 propagateToZPosition(const TrackParticle &p, double z)
Definition: TrackTools.cc:39