ViewVC Help
View File | Revision Log | Show Annotations | Root Listing
root/cvsroot/UserCode/devildog/SWonAnalysis3/Thesis/src/TCPrimaryVtx.h
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 -1 lines
Log Message:
Removed custom copy constructor

File Contents

# User Rev Content
1 devildog 1.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     virtual ~TCPrimaryVtx();
28    
29     TVector3 Position() const;
30     float NDof() const;
31     float Chi2() const;
32     int NTrks() const;
33     float SumPt2Trks() const;
34    
35     // set methods
36     void SetPosition(float x, float y, float z);
37     void SetNDof(float n);
38     void SetChi2(float chi2);
39     void SetNTrks(int nTrks);
40     void SetSumPt2Trks(float sumPt2);
41    
42    
43     ClassDef(TCPrimaryVtx, 1);
44     };
45    
46     #endif /* _TCPRIMARYVTX_H */