Rivet
1.8.3
|
Summed of central particles in HCM system.
More...
#include <CentralEtHCM.hh>
Public Member Functions | |
CentralEtHCM (const DISFinalState &fs) | |
virtual const Projection * | clone () const |
Clone on the heap. | |
double | sumEt () const |
The sum of the Et in the central rapidity bin. | |
![]() | |
bool | before (const Projection &p) const |
virtual const std::set< PdgIdPair > | beamPairs () const |
virtual std::string | name () const |
Get the name of the projection. | |
Projection & | addPdgIdPair (PdgId beam1, PdgId beam2) |
Add a colliding beam pair. | |
Log & | getLog () const |
Get a Log object based on the getName() property of the calling projection object. | |
void | setName (const std::string &name) |
Used by derived classes to set their name. | |
Projection () | |
The default constructor. | |
virtual | ~Projection () |
The destructor. | |
![]() | |
ProjectionApplier () | |
Constructor. | |
std::set< ConstProjectionPtr > | getProjections () const |
Get the contained projections, including recursion. | |
template<typename PROJ > | |
const PROJ & | getProjection (const std::string &name) const |
Get the named projection, specifying return type via a template argument. | |
const Projection & | getProjection (const std::string &name) const |
template<typename PROJ > | |
const PROJ & | applyProjection (const Event &evt, const PROJ &proj) const |
Apply the supplied projection on event. | |
template<typename PROJ > | |
const PROJ & | applyProjection (const Event &evt, const Projection &proj) const |
Apply the supplied projection on event. | |
template<typename PROJ > | |
const PROJ & | applyProjection (const Event &evt, const std::string &name) const |
Apply the named projection on event. | |
Protected Member Functions | |
void | project (const Event &e) |
Apply the projection on to the Event. More... | |
int | compare (const Projection &p) const |
Compare with other projections. | |
![]() | |
Cmp< Projection > | mkNamedPCmp (const Projection &otherparent, const std::string &pname) const |
Cmp< Projection > | mkPCmp (const Projection &otherparent, const std::string &pname) const |
![]() | |
Log & | getLog () const |
ProjectionHandler & | getProjHandler () const |
Get a reference to the ProjectionHandler for this thread. | |
template<typename PROJ > | |
const PROJ & | addProjection (const PROJ &proj, const std::string &name) |
Summed of central particles in HCM system.
Sum up of all particles in the hadronic final state in the central rapidity bin of the HCM system.
|
inline |
The default constructor. Must specify a FinalStateHCM projection object which is guaranteed to live throughout the run.
References Rivet::ProjectionApplier::addProjection(), and Rivet::Projection::setName().
Referenced by clone().
|
protectedvirtual |
Apply the projection on to the Event.
Implements Rivet::Projection.
References Rivet::FourMomentum::Et(), Rivet::Particle::momentum(), Rivet::FinalState::particles(), and Rivet::FourMomentum::rapidity().
Referenced by clone().