2#ifndef RIVET_TriggerUA5_HH
3#define RIVET_TriggerUA5_HH
5#include "Rivet/Projection.hh"
6#include "Rivet/Event.hh"
7#include "Rivet/Particle.hh"
8#include "Rivet/Projections/Beam.hh"
31 return _decision_nsd_1;
37 return _decision_nsd_2;
46 pair<unsigned int, unsigned int>
numHits() {
47 return make_pair(_n_plus, _n_minus);
65 bool _decision_sd, _decision_nsd_1, _decision_nsd_2;
71 unsigned int _n_plus, _n_minus;
Representation of a HepMC event, and enabler of Projection caching.
Definition: Event.hh:22
Base class for all Rivet projections.
Definition: Projection.hh:29
Access to the min bias triggers used by UA5.
Definition: TriggerUA5.hh:14
TriggerUA5()
Default constructor.
bool samebeams() const
The trigger result.
Definition: TriggerUA5.hh:41
DEFAULT_RIVET_PROJ_CLONE(TriggerUA5)
Clone on the heap.
bool nsdDecision() const
The trigger result for non-single diffractive (2 arm) trigger.
Definition: TriggerUA5.hh:30
virtual CmpState compare(const Projection &) const
Compare with other projections.
Definition: TriggerUA5.hh:57
void project(const Event &evt)
Project on to the event.
bool sdDecision() const
The trigger result for non-single diffractive (2 arm) trigger.
Definition: TriggerUA5.hh:25
bool nsd2Decision() const
Definition: TriggerUA5.hh:36
pair< unsigned int, unsigned int > numHits()
Number of hits in <-,+> eta hodoscopes.
Definition: TriggerUA5.hh:46
Definition: MC_Cent_pPb.hh:10