ViewVC Help
View File | Revision Log | Show Annotations | Root Listing
root/cvsroot/UserCode/MPIAnalyzer/src/TCPrimaryVtx.cc
Revision: 1.2
Committed: Fri Jul 9 17:22:37 2010 UTC (14 years, 9 months ago) by anastass
Content type: text/plain
Branch: MAIN
Changes since 1.1: +17 -1 lines
Log Message:
added 2 variables

File Contents

# User Rev Content
1 naodell 1.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 anastass 1.2 int TCPrimaryVtx::NTrks() const {
31     return _nTrks;
32     }
33    
34     float TCPrimaryVtx::SumPtTrks() const {
35     return _sumPtTrks;
36     }
37    
38 naodell 1.1
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 anastass 1.2 }
51    
52     void TCPrimaryVtx::SetNTrks(int nTrks) {
53     _nTrks = nTrks;
54     }
55    
56     void TCPrimaryVtx::SetSumPtTrks(float sumPt) {
57     _sumPtTrks = sumPt;
58     }