2#ifndef RIVET_ATLAS_COMMON_HH
3#define RIVET_ATLAS_COMMON_HH
5#include "Rivet/Projections/FinalState.hh"
6#include "Rivet/Projections/ChargedFinalState.hh"
7#include "Rivet/Projections/SingleValueProjection.hh"
8#include "Rivet/Projections/TriggerProjection.hh"
23 "SumET_PB_Centrality");
30 using Projection::operator =;
38 apply<FinalState>(e,
"SumET_PB_Centrality");
39 double estimate = 0.0;
61 declare(
FinalState(Cuts::abseta > 3.2 && Cuts::abseta < 4.9 && Cuts::pT > 0.1*GeV),
62 "SumET_PBPB_Centrality");
69 using Projection::operator =;
77 apply<FinalState>(e,
"SumET_PBPB_Centrality");
78 double estimate = 0.0;
101 Cuts::pT > 0.1*GeV),
"MBB");
103 Cuts::pT > 0.1*GeV),
"MBF");
110 using Projection::operator =;
117 if ( apply<FinalState>(event,
"MBF").particles().empty() || apply<FinalState>(event,
"MBB").particles().empty() )
ATLAS min bias trigger conditions.
Definition AtlasCommon.hh:95
CmpState compare(const Projection &p) const
Compare projections.
Definition AtlasCommon.hh:122
MinBiasTrigger()
Constructor.
Definition AtlasCommon.hh:99
RIVET_DEFAULT_PROJ_CLONE(MinBiasTrigger)
Clone on the heap.
void project(const Event &event)
Perform the projection on the Event.
Definition AtlasCommon.hh:115
Centrality projection for PbPb collisions (two sided)
Definition AtlasCommon.hh:56
SumET_PBPB_Centrality()
Constructor.
Definition AtlasCommon.hh:60
RIVET_DEFAULT_PROJ_CLONE(SumET_PBPB_Centrality)
Clone on the heap.
void project(const Event &e)
Perform the projection on the Event.
Definition AtlasCommon.hh:74
CmpState compare(const Projection &p) const
Compare projections.
Definition AtlasCommon.hh:86
Centrality projection for pPb collisions (one sided)
Definition AtlasCommon.hh:17
CmpState compare(const Projection &p) const
Compare projections.
Definition AtlasCommon.hh:47
SumET_PB_Centrality()
Constructor.
Definition AtlasCommon.hh:21
RIVET_DEFAULT_PROJ_CLONE(SumET_PB_Centrality)
Clone on the heap.
void project(const Event &e)
Perform the projection on the Event.
Definition AtlasCommon.hh:35
Project only charged final state particles.
Definition ChargedFinalState.hh:11
Representation of a HepMC event, and enabler of Projection caching.
Definition Event.hh:22
Project out all final-state particles in an event. Probably the most important projection in Rivet!
Definition FinalState.hh:12
virtual const Particles & particles() const
Get the particles in no particular order, with no cuts.
Definition ParticleFinder.hh:65
Particle representation, either from a HepMC::GenEvent or reconstructed.
Definition Particle.hh:45
const PROJ & declare(const PROJ &proj, const std::string &name) const
Register a contained projection (user-facing version)
Definition ProjectionApplier.hh:175
Base class for all Rivet projections.
Definition Projection.hh:29
Cmp< Projection > mkNamedPCmp(const Projection &otherparent, const std::string &pname) const
Base class for projections returning a single floating point value.
Definition SingleValueProjection.hh:17
void setValue(double v)
Set the value.
Definition SingleValueProjection.hh:48
void clear()
Unset the value.
Definition SingleValueProjection.hh:54
Base class for projections returning a bool corresponding to a trigger.
Definition TriggerProjection.hh:18
void fail()
Indicate that the event has failed the trigger.
Definition TriggerProjection.hh:57
void pass()
Indicate that the event has passed the trigger.
Definition TriggerProjection.hh:47
Definition MC_CENT_PPB_Projections.hh:10