1 |
bpollack |
1.1 |
#ifndef _TCPRIMARYVTX_H
|
2 |
|
|
#define _TCPRIMARYVTX_H
|
3 |
|
|
|
4 |
|
|
#include "TObject.h"
|
5 |
|
|
#include "TVector3.h"
|
6 |
|
|
|
7 |
bpollack |
1.2 |
class TCPrimaryVtx : public TVector3 {
|
8 |
bpollack |
1.1 |
private:
|
9 |
|
|
|
10 |
|
|
float _nDof;
|
11 |
|
|
float _chi2;
|
12 |
|
|
bool _isFake;
|
13 |
|
|
int _nTracks;
|
14 |
|
|
float _sumPt2Trks;
|
15 |
|
|
|
16 |
|
|
|
17 |
|
|
public:
|
18 |
|
|
TCPrimaryVtx();
|
19 |
|
|
virtual ~TCPrimaryVtx();
|
20 |
|
|
|
21 |
|
|
float NDof() const;
|
22 |
|
|
float Chi2() const;
|
23 |
|
|
bool IsFake() const;
|
24 |
|
|
int Ntracks() const;
|
25 |
|
|
float SumPt2Trks() const;
|
26 |
|
|
|
27 |
|
|
// set methods
|
28 |
|
|
void SetNDof(float n);
|
29 |
|
|
void SetChi2(float chi2);
|
30 |
|
|
void SetIsFake(bool isF);
|
31 |
|
|
void SetNtracks(int nTrk);
|
32 |
|
|
void SetSumPt2Trks(float sumPt2);
|
33 |
|
|
|
34 |
|
|
|
35 |
|
|
ClassDef(TCPrimaryVtx, 1);
|
36 |
|
|
};
|
37 |
|
|
|
38 |
|
|
#endif /* _TCPRIMARYVTX_H */
|
39 |
|
|
|