1 |
samvel |
1.1 |
/**
|
2 |
|
|
* Lepton
|
3 |
|
|
* s8
|
4 |
|
|
*
|
5 |
|
|
* Created by Samvel Khalatian on Oct 20, 2010
|
6 |
|
|
* Copyright 2010, All rights reserved
|
7 |
|
|
*/
|
8 |
|
|
|
9 |
|
|
#ifndef S8_LEPTON
|
10 |
|
|
#define S8_LEPTON
|
11 |
|
|
|
12 |
|
|
#include <utility>
|
13 |
|
|
|
14 |
|
|
class TLorentzVector;
|
15 |
|
|
class TVector3;
|
16 |
|
|
|
17 |
|
|
namespace s8
|
18 |
|
|
{
|
19 |
|
|
class GenParticle;
|
20 |
|
|
|
21 |
|
|
class Lepton
|
22 |
|
|
{
|
23 |
|
|
public:
|
24 |
|
|
// Value and associated Error pair
|
25 |
|
|
//
|
26 |
|
|
typedef std::pair<double, double> ImpactParameter;
|
27 |
|
|
|
28 |
|
|
Lepton() throw();
|
29 |
|
|
~Lepton() throw();
|
30 |
|
|
|
31 |
|
|
// Take care of copying b/c of pointers
|
32 |
|
|
//
|
33 |
|
|
Lepton(const Lepton &);
|
34 |
|
|
Lepton &operator =(const Lepton &);
|
35 |
|
|
|
36 |
|
|
void reset();
|
37 |
|
|
|
38 |
|
|
ImpactParameter *impactParameter();
|
39 |
|
|
const ImpactParameter *impactParameter() const;
|
40 |
|
|
|
41 |
|
|
TLorentzVector *p4();
|
42 |
|
|
const TLorentzVector *p4() const;
|
43 |
|
|
|
44 |
|
|
TVector3 *vertex();
|
45 |
|
|
const TVector3 *vertex() const;
|
46 |
|
|
|
47 |
|
|
GenParticle *genParticle();
|
48 |
|
|
const GenParticle *genParticle() const;
|
49 |
|
|
|
50 |
|
|
private:
|
51 |
|
|
ImpactParameter *_impactParameter;
|
52 |
|
|
TLorentzVector *_p4;
|
53 |
|
|
TVector3 *_vertex;
|
54 |
|
|
GenParticle *_genParticle;
|
55 |
|
|
};
|
56 |
|
|
}
|
57 |
|
|
|
58 |
|
|
#endif
|