Vertex.h
Go to the documentation of this file.
1 /*
2  * Vertex.h
3  *
4  * Created on: Feb 23, 2021
5  * Author: chilgenb
6  */
7 
8 #ifndef GARANA_VERTEX_H_
9 #define GARANA_VERTEX_H_
10 
11 #include <TLorentzVector.h>
12 //#include <TROOT.h>
13 #include <climits>
14 
15 namespace garana {
16 
17  class Vertex { //: public TObject {
18 
19  public:
20 
21  Vertex();
22 
23  #ifndef __GCCXML__
24 
25  Vertex(const TLorentzVector& position, const float* covar);
26 
27  TLorentzVector* GetVertex();
28  void GetCovar( float covar[][3]);
29 
30  #endif
31  protected:
32 
33  TLorentzVector fPosition; ///< 4-position of vertex [cm,ns]
34  float fCovar[3][3]; ///< vertex 3-position fit uncertainties [cm]
35  //TODO extend covar matrix to time?
36 
37  //ClassDef(Vertex,2)
38 
39  }; //class
40 }//namespace
41 
42 #endif /* GARANA_VERTEX_H_ */
float fCovar[3][3]
vertex 3-position fit uncertainties [cm]
Definition: Vertex.h:34
void GetCovar(float covar[][3])
Definition: Vertex.cxx:40
TLorentzVector fPosition
4-position of vertex [cm,ns]
Definition: Vertex.h:33
TLorentzVector * GetVertex()
Definition: Vertex.cxx:36