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

File Contents

# Content
1 /*
2 * File: TCPrimaryVtx.cc
3 * Author: Anton A.
4 *
5 * Created on May 21, 2010, 11:16 AM
6 */
7
8 #include "TCPrimaryVtx.h"
9
10 TCPrimaryVtx::TCPrimaryVtx() {
11 }
12
13 TCPrimaryVtx::TCPrimaryVtx(const TCPrimaryVtx& orig) {
14 }
15
16 TCPrimaryVtx::~TCPrimaryVtx() {
17 }
18
19 TVector3 TCPrimaryVtx::Position() const {
20 return _position;
21 }
22
23 float TCPrimaryVtx::NDof() const {
24 return _nDof;
25 }
26
27 float TCPrimaryVtx::Chi2() const {
28 return _chi2;
29 }
30 int TCPrimaryVtx::NTrks() const {
31 return _nTrks;
32 }
33
34 float TCPrimaryVtx::SumPt2Trks() const {
35 return _sumPt2Trks;
36 }
37
38
39 void TCPrimaryVtx::SetPosition(float x, float y, float z) {
40 TVector3 p(x, y, z);
41 _position = p;
42 }
43
44 void TCPrimaryVtx::SetNDof(float n) {
45 _nDof = n;
46 }
47
48 void TCPrimaryVtx::SetChi2(float chi2) {
49 _chi2 = chi2;
50 }
51
52 void TCPrimaryVtx::SetNTrks(int nTrks) {
53 _nTrks = nTrks;
54 }
55
56 void TCPrimaryVtx::SetSumPt2Trks(float sumPt2) {
57 _sumPt2Trks = sumPt2;
58 }