ViewVC Help
View File | Revision Log | Show Annotations | Root Listing
root/cvsroot/UserCode/PollackPrograms/src/TCPrimaryVtx.h
Revision: 1.1
Committed: Tue Jul 24 20:24:58 2012 UTC (12 years, 9 months ago) by bpollack
Content type: text/plain
Branch: MAIN
Log Message:
adding a cleaned-up analyzer for 2012

File Contents

# User Rev Content
1 bpollack 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     bool _isFake;
21     int _nTracks;
22     float _sumPt2Trks;
23    
24    
25     public:
26     TCPrimaryVtx();
27     virtual ~TCPrimaryVtx();
28    
29     TVector3 Position() const;
30     float NDof() const;
31     float Chi2() const;
32     bool IsFake() const;
33     int Ntracks() const;
34     float SumPt2Trks() const;
35    
36     // set methods
37     void SetPosition(float x, float y, float z);
38     void SetNDof(float n);
39     void SetChi2(float chi2);
40     void SetIsFake(bool isF);
41     void SetNtracks(int nTrk);
42     void SetSumPt2Trks(float sumPt2);
43    
44    
45     ClassDef(TCPrimaryVtx, 1);
46     };
47    
48     #endif /* _TCPRIMARYVTX_H */
49