1 |
/**
|
2 |
* GenEvent
|
3 |
* s8
|
4 |
*
|
5 |
* Created by Samvel Khalatian on Oct 11, 2010
|
6 |
* Copyright 2010, All rights reserved
|
7 |
*/
|
8 |
|
9 |
#ifndef S8_GENEVENT
|
10 |
#define S8_GENEVENT
|
11 |
|
12 |
namespace s8
|
13 |
{
|
14 |
class GenEvent
|
15 |
{
|
16 |
public:
|
17 |
enum GluonSplitting { BB, CC, GLUON_SPLITTINGS};
|
18 |
|
19 |
GenEvent() throw();
|
20 |
|
21 |
GenEvent(const GenEvent &);
|
22 |
GenEvent &operator =(const GenEvent &);
|
23 |
|
24 |
void reset();
|
25 |
|
26 |
bool isGluonSplitting() const;
|
27 |
bool isGluonSplitting(const GluonSplitting &) const;
|
28 |
double ptHat() const;
|
29 |
|
30 |
|
31 |
|
32 |
void setGluonSplitting(const GluonSplitting &, const bool &);
|
33 |
void setPtHat(const double &);
|
34 |
|
35 |
private:
|
36 |
// The same event may have several gluon splittings: bbbar, ccbar,
|
37 |
// etc. Such events are supported even though they are highly
|
38 |
// suppressed.
|
39 |
//
|
40 |
bool _gluonSplittings[GLUON_SPLITTINGS];
|
41 |
double _ptHat;
|
42 |
};
|
43 |
}
|
44 |
|
45 |
#endif
|