1 |
naodell |
1.1 |
/*
|
2 |
|
|
* File: TCPrimaryVtx.h
|
3 |
|
|
* Author: Anton A.
|
4 |
|
|
*
|
5 |
|
|
* Created on May 21, 2010, 11:16 AM
|
6 |
|
|
*/
|
7 |
|
|
|
8 |
|
|
#ifndef _TCPRIMARYVTX_H
|
9 |
|
|
#define _TCPRIMARYVTX_H
|
10 |
|
|
|
11 |
|
|
#include "TObject.h"
|
12 |
|
|
#include "TVector3.h"
|
13 |
|
|
|
14 |
|
|
class TCPrimaryVtx : public TObject {
|
15 |
|
|
private:
|
16 |
|
|
|
17 |
|
|
TVector3 _position;
|
18 |
|
|
float _nDof;
|
19 |
|
|
float _chi2;
|
20 |
|
|
|
21 |
|
|
|
22 |
|
|
|
23 |
|
|
public:
|
24 |
|
|
TCPrimaryVtx();
|
25 |
|
|
TCPrimaryVtx(const TCPrimaryVtx& orig);
|
26 |
|
|
virtual ~TCPrimaryVtx();
|
27 |
|
|
|
28 |
|
|
TVector3 Position() const;
|
29 |
|
|
float NDof() const;
|
30 |
|
|
float Chi2() const;
|
31 |
|
|
|
32 |
|
|
// set methods
|
33 |
|
|
void SetPosition(float x, float y, float z);
|
34 |
|
|
void SetNDof(float n);
|
35 |
|
|
void SetChi2(float chi2);
|
36 |
|
|
|
37 |
|
|
|
38 |
|
|
ClassDef(TCPrimaryVtx, 1);
|
39 |
|
|
};
|
40 |
|
|
|
41 |
|
|
#endif /* _TCPRIMARYVTX_H */
|
42 |
|
|
|