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

File Contents

# User Rev Content
1 naodell 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 anastass 1.2 int _nTrks;
21     float _sumPtTrks;
22 naodell 1.1
23    
24    
25     public:
26     TCPrimaryVtx();
27     TCPrimaryVtx(const TCPrimaryVtx& orig);
28     virtual ~TCPrimaryVtx();
29    
30     TVector3 Position() const;
31     float NDof() const;
32     float Chi2() const;
33 anastass 1.2 int NTrks() const;
34     float SumPtTrks() const;
35 naodell 1.1
36     // set methods
37     void SetPosition(float x, float y, float z);
38     void SetNDof(float n);
39     void SetChi2(float chi2);
40 anastass 1.2 void SetNTrks(int nTrks);
41     void SetSumPtTrks(float sumPt);
42 naodell 1.1
43    
44     ClassDef(TCPrimaryVtx, 1);
45     };
46    
47     #endif /* _TCPRIMARYVTX_H */
48