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" 24 "SumET_PB_Centrality");
36 apply<FinalState>(e,
"SumET_PB_Centrality");
37 double estimate = 0.0;
59 declare(
FinalState(Cuts::abseta > 3.2 && Cuts::abseta < 4.9 && Cuts::pT > 0.1*GeV),
60 "SumET_PBPB_Centrality");
72 apply<FinalState>(e,
"SumET_PBPB_Centrality");
73 double estimate = 0.0;
95 Cuts::pT > 0.1*GeV),
"MBB");
97 Cuts::pT > 0.1*GeV),
"MBF");
108 if ( applyProjection<FinalState>(event,
"MBF").particles().empty() ||
109 applyProjection<FinalState>(event,
"MBB").particles().empty() )
Centrality projection for PbPb collisions (two sided)
Definition: AtlasCommon.hh:53
Definition: MC_Cent_pPb.hh:10
SumET_PBPB_Centrality()
Constructor.
Definition: AtlasCommon.hh:58
void project(const Event &event)
Perform the projection on the Event.
Definition: AtlasCommon.hh:106
Base class for projections returning a single floating point value.
Definition: SingleValueProjection.hh:17
CmpState compare(const Projection &p) const
Compare projections.
Definition: AtlasCommon.hh:114
virtual const Particles & particles() const
Get the particles in no particular order, with no cuts.
Definition: ParticleFinder.hh:49
Particle representation, either from a HepMC::GenEvent or reconstructed.
Definition: Particle.hh:18
SumET_PB_Centrality()
Constructor.
Definition: AtlasCommon.hh:22
CmpState compare(const Projection &p) const
Compare projections.
Definition: AtlasCommon.hh:81
Representation of a HepMC event, and enabler of Projection caching.
Definition: Event.hh:22
ATLAS min bias trigger conditions.
Definition: AtlasCommon.hh:88
Base class for projections returning a bool corresponding to a trigger.
Definition: TriggerProjection.hh:19
void fail()
Set the projection in an unvalid state.
Definition: Projection.hh:147
CmpState compare(const Projection &p) const
Compare projections.
Definition: AtlasCommon.hh:45
void project(const Event &e)
Perform the projection on the Event.
Definition: AtlasCommon.hh:33
Project out all final-state particles in an event. Probably the most important projection in Rivet! ...
Definition: FinalState.hh:12
const PROJ & declare(const PROJ &proj, const std::string &name)
Register a contained projection (user-facing version)
Definition: ProjectionApplier.hh:170
Cmp< Projection > mkNamedPCmp(const Projection &otherparent, const std::string &pname) const
Centrality projection for pPb collisions (one sided)
Definition: AtlasCommon.hh:17
Project only charged final state particles.
Definition: ChargedFinalState.hh:11
DEFAULT_RIVET_PROJ_CLONE(SumET_PB_Centrality)
Clone on the heap.
Base class for all Rivet projections.
Definition: Projection.hh:29
MinBiasTrigger()
Constructor.
Definition: AtlasCommon.hh:93
void project(const Event &e)
Perform the projection on the Event.
Definition: AtlasCommon.hh:69
void clear()
Unset the value.
Definition: SingleValueProjection.hh:54