1 |
samvel |
1.1 |
/**
|
2 |
|
|
* PrimaryVertex
|
3 |
|
|
* s8
|
4 |
|
|
*
|
5 |
|
|
* Created by Samvel Khalatian on Sep 28, 2010
|
6 |
|
|
* Copyright 2010, All rights reserved
|
7 |
|
|
*/
|
8 |
|
|
|
9 |
|
|
#ifndef S8_PRIMARY_VERTEX
|
10 |
|
|
#define S8_PRIMARY_VERTEX
|
11 |
|
|
|
12 |
|
|
#include <memory>
|
13 |
|
|
|
14 |
|
|
class TVector3;
|
15 |
|
|
|
16 |
|
|
namespace s8
|
17 |
|
|
{
|
18 |
|
|
class PrimaryVertex
|
19 |
|
|
{
|
20 |
|
|
public:
|
21 |
|
|
PrimaryVertex() throw();
|
22 |
|
|
~PrimaryVertex() throw();
|
23 |
|
|
|
24 |
|
|
PrimaryVertex(const PrimaryVertex &);
|
25 |
|
|
PrimaryVertex &operator =(const PrimaryVertex &);
|
26 |
|
|
|
27 |
|
|
void reset();
|
28 |
|
|
|
29 |
|
|
TVector3 *vertex();
|
30 |
|
|
const TVector3 *vertex() const;
|
31 |
|
|
|
32 |
|
|
double ndof() const;
|
33 |
|
|
double rho() const;
|
34 |
|
|
|
35 |
|
|
|
36 |
|
|
|
37 |
|
|
void setNdof(const double &);
|
38 |
|
|
void setRho(const double &);
|
39 |
|
|
|
40 |
|
|
private:
|
41 |
|
|
TVector3 *_vertex;
|
42 |
|
|
|
43 |
|
|
double _ndof;
|
44 |
|
|
double _rho;
|
45 |
|
|
};
|
46 |
|
|
}
|
47 |
|
|
|
48 |
|
|
#endif
|