ViewVC Help
View File | Revision Log | Show Annotations | Root Listing
root/cvsroot/UserCode/MPIAnalyzer/src/TCPrimaryVtx.h
Revision: 1.3
Committed: Fri Jul 9 17:29:06 2010 UTC (14 years, 9 months ago) by anastass
Content type: text/plain
Branch: MAIN
CVS Tags: HEAD
Changes since 1.2: +3 -3 lines
Error occurred while calculating annotation data.
Log Message:
pt2 instead of pt

File Contents

# Content
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 int _nTrks;
21 float _sumPt2Trks;
22
23
24
25 public:
26 TCPrimaryVtx();
27 TCPrimaryVtx(const TCPrimaryVtx& orig);
28 virtual ~TCPrimaryVtx();
29
30 TVector3 Position() const;
31 float NDof() const;
32 float Chi2() const;
33 int NTrks() const;
34 float SumPt2Trks() const;
35
36 // set methods
37 void SetPosition(float x, float y, float z);
38 void SetNDof(float n);
39 void SetChi2(float chi2);
40 void SetNTrks(int nTrks);
41 void SetSumPt2Trks(float sumPt2);
42
43
44 ClassDef(TCPrimaryVtx, 1);
45 };
46
47 #endif /* _TCPRIMARYVTX_H */
48