ViewVC Help
View File | Revision Log | Show Annotations | Root Listing
root/cvsroot/UserCode/devildog/SWonAnalysis3/Thesis/src/TCPrimaryVtx.cc
Revision: 1.2
Committed: Wed Jun 15 22:12:55 2011 UTC (13 years, 10 months ago) by devildog
Content type: text/plain
Branch: MAIN
CVS Tags: HEAD
Changes since 1.1: +0 -3 lines
Error occurred while calculating annotation data.
Log Message:
Removed custom copy constructor

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() {
14 }
15
16 TVector3 TCPrimaryVtx::Position() const {
17 return _position;
18 }
19
20 float TCPrimaryVtx::NDof() const {
21 return _nDof;
22 }
23
24 float TCPrimaryVtx::Chi2() const {
25 return _chi2;
26 }
27 int TCPrimaryVtx::NTrks() const {
28 return _nTrks;
29 }
30
31 float TCPrimaryVtx::SumPt2Trks() const {
32 return _sumPt2Trks;
33 }
34
35
36 void TCPrimaryVtx::SetPosition(float x, float y, float z) {
37 TVector3 p(x, y, z);
38 _position = p;
39 }
40
41 void TCPrimaryVtx::SetNDof(float n) {
42 _nDof = n;
43 }
44
45 void TCPrimaryVtx::SetChi2(float chi2) {
46 _chi2 = chi2;
47 }
48
49 void TCPrimaryVtx::SetNTrks(int nTrks) {
50 _nTrks = nTrks;
51 }
52
53 void TCPrimaryVtx::SetSumPt2Trks(float sumPt2) {
54 _sumPt2Trks = sumPt2;
55 }