Rivet
1.8.0
Main Page
Related Pages
Namespaces
Classes
Files
File List
include
Rivet
Projections
TriggerUA5.hh
1
// -*- C++ -*-
2
#ifndef RIVET_TriggerUA5_HH
3
#define RIVET_TriggerUA5_HH
4
5
#include "Rivet/Projection.hh"
6
#include "Rivet/Event.hh"
7
#include "Rivet/Particle.hh"
8
#include "Rivet/Projections/Beam.hh"
9
10
namespace
Rivet {
11
12
14
class
TriggerUA5
:
public
Projection
{
15
public
:
16
18
TriggerUA5
();
19
21
virtual
const
Projection
*
clone
()
const
{
22
return
new
TriggerUA5
(*
this
);
23
}
24
25
26
public
:
27
29
bool
sdDecision
()
const
{
30
return
_decision_sd;
31
}
32
34
bool
nsdDecision
()
const
{
35
return
_decision_nsd_1;
36
}
37
40
bool
nsd2Decision
()
const
{
41
return
_decision_nsd_2;
42
}
43
45
bool
samebeams
()
const
{
46
return
_samebeams;
47
}
48
50
pair<unsigned int, unsigned int>
numHits
() {
51
return
make_pair(_n_plus, _n_minus);
52
}
53
55
void
project
(
const
Event
& evt);
56
57
58
protected
:
59
61
virtual
int
compare
(
const
Projection
& UNUSED(p))
const
{
62
return
EQUIVALENT;
63
}
64
65
66
private
:
67
69
bool
_decision_sd, _decision_nsd_1, _decision_nsd_2;
70
72
bool
_samebeams;
73
75
unsigned
int
_n_plus, _n_minus;
76
77
};
78
79
80
}
81
82
#endif
Generated on Fri Jun 8 2012 06:50:47 for Rivet by
1.8.1