ViewVC Help
View File | Revision Log | Show Annotations | Root Listing
root/cvsroot/UserCode/MPIAnalyzer/src/TCPrimaryVtx.cc
Revision: 1.1
Committed: Sat May 22 18:19:40 2010 UTC (14 years, 11 months ago) by naodell
Content type: text/plain
Branch: MAIN
Log Message:
Vertex class object for storage in ntuples.

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    
31     void TCPrimaryVtx::SetPosition(float x, float y, float z) {
32     TVector3 p(x, y, z);
33     _position = p;
34     }
35    
36     void TCPrimaryVtx::SetNDof(float n) {
37     _nDof = n;
38     }
39    
40     void TCPrimaryVtx::SetChi2(float chi2) {
41     _chi2 = chi2;
42     }