Class Reference for E1039 Core & Analysis Software
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
GFMeasurement.h
Go to the documentation of this file.
1 #ifndef _GFMEASUREMENT_H
2 #define _GFMEASUREMENT_H
3 
4 #include <GenFit/WireMeasurement.h>
5 
6 #include "FastTracklet.h"
7 
8 namespace SQGenFit
9 {
10 
11 class GFTrack;
12 
13 class GFMeasurement: public genfit::WireMeasurement
14 {
15 public:
16  GFMeasurement(const SignedHit& rawHit, bool en = true);
17  virtual ~GFMeasurement() {}
18 
19  void setTrackPtr(GFTrack* trackPtr);
20 
21  void enableHitInFit(bool en = true) { _enableInFit = en; }
22  SignedHit& getBeforeFitHit() { return _bfHit; }
23  void postFitUpdate();
24 
25  double getZ() { return _z; }
26  bool isEnabled() { return _enableInFit; }
27 
28  void print(unsigned int debugLvl = 0);
29  void printHelper(double w, TVector3& pos, TVector3& mom, TString name = "none");
30 
31 private:
32  SignedHit _bfHit;
33  double _z;
34  bool _enableInFit;
35 
36  double _proj;
37  int _driftSign;
38  GFTrack* _track;
39 
40 };
41 }
42 
43 #endif
void enableHitInFit(bool en=true)
Definition: GFMeasurement.h:21
void setTrackPtr(GFTrack *trackPtr)
void printHelper(double w, TVector3 &pos, TVector3 &mom, TString name="none")
void print(unsigned int debugLvl=0)
SignedHit & getBeforeFitHit()
Definition: GFMeasurement.h:22
GFMeasurement(const SignedHit &rawHit, bool en=true)