1 |
/**
|
2 |
* GenParticle
|
3 |
* s8
|
4 |
*
|
5 |
* Created by Samvel Khalatian on Sep 28, 2010
|
6 |
* Copyright 2010, All rights reserved
|
7 |
*/
|
8 |
|
9 |
#ifndef S8_GENPARTICLE
|
10 |
#define S8_GENPARTICLE
|
11 |
|
12 |
class TLorentzVector;
|
13 |
class TVector3;
|
14 |
|
15 |
namespace s8
|
16 |
{
|
17 |
class GenParticle
|
18 |
{
|
19 |
public:
|
20 |
GenParticle() throw();
|
21 |
~GenParticle() throw();
|
22 |
|
23 |
// Take care of copying b/c of pointers
|
24 |
//
|
25 |
GenParticle(const GenParticle &);
|
26 |
GenParticle &operator =(const GenParticle &);
|
27 |
|
28 |
void reset();
|
29 |
|
30 |
int id() const;
|
31 |
int parentId() const;
|
32 |
int status() const;
|
33 |
|
34 |
TLorentzVector *p4();
|
35 |
const TLorentzVector *p4() const;
|
36 |
|
37 |
TVector3 *vertex();
|
38 |
const TVector3 *vertex() const;
|
39 |
|
40 |
|
41 |
|
42 |
void setId(const int &);
|
43 |
void setParentId(const int &);
|
44 |
void setStatus(const int &);
|
45 |
|
46 |
private:
|
47 |
int _id;
|
48 |
int _parentId;
|
49 |
int _status;
|
50 |
|
51 |
TLorentzVector *_p4;
|
52 |
TVector3 *_vertex;
|
53 |
};
|
54 |
}
|
55 |
|
56 |
#endif
|