rivet is hosted by Hepforge, IPPP Durham
Rivet  2.7.0
Rivet::ALICE::CLMultiplicity< INNER > Class Template Reference

#include <AliceCommon.hh>

Inheritance diagram for Rivet::ALICE::CLMultiplicity< INNER >:
Rivet::SingleValueProjection Rivet::Projection Rivet::ProjectionApplier

Public Member Functions

 CLMultiplicity ()
 
virtual ~CLMultiplicity ()
 
virtual void project (const Event &e)
 
virtual std::unique_ptr< Rivet::Projectionclone () const
 
virtual int compare (const Projection &p) const
 
- Public Member Functions inherited from Rivet::SingleValueProjection
 SingleValueProjection ()
 The default constructor.
 
bool isSet () const
 Returns true if the value has been set.
 
double operator() () const
 Return the single value.
 
- Public Member Functions inherited from Rivet::Projection
virtual std::string name () const
 Get the name of the projection.
 
 Projection ()
 The default constructor.
 
virtual ~Projection ()
 The destructor.
 
bool before (const Projection &p) const
 
virtual const std::set< PdgIdPair > beamPairs () const
 
ProjectionaddPdgIdPair (PdgId beam1, PdgId beam2)
 
- Public Member Functions inherited from Rivet::ProjectionApplier
 ProjectionApplier ()
 Constructor.
 
void markAsOwned () const
 Mark this object as owned by a proj-handler.
 
std::set< ConstProjectionPtr > getProjections () const
 Get the contained projections, including recursion.
 
bool hasProjection (const std::string &name) const
 Does this applier have a projection registered under the name name?
 
template<typename PROJ >
const PROJ & getProjection (const std::string &name) const
 
template<typename PROJ >
const PROJ & get (const std::string &name) const
 
const ProjectiongetProjection (const std::string &name) const
 
template<typename PROJ >
const PROJ & applyProjection (const Event &evt, const Projection &proj) const
 Apply the supplied projection on event evt. More...
 
template<typename PROJ >
const PROJ & apply (const Event &evt, const Projection &proj) const
 
template<typename PROJ >
const PROJ & applyProjection (const Event &evt, const PROJ &proj) const
 Apply the supplied projection on event evt. More...
 
template<typename PROJ >
const PROJ & apply (const Event &evt, const PROJ &proj) const
 
template<typename PROJ >
const PROJ & applyProjection (const Event &evt, const std::string &name) const
 
template<typename PROJ >
const PROJ & apply (const Event &evt, const std::string &name) const
 
template<typename PROJ >
const PROJ & apply (const std::string &name, const Event &evt) const
 

Additional Inherited Members

- Protected Member Functions inherited from Rivet::SingleValueProjection
void set (double v)
 Set the value.
 
void clear ()
 Unset the value.
 
- Protected Member Functions inherited from Rivet::Projection
LoggetLog () 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.
 
Cmp< ProjectionmkNamedPCmp (const Projection &otherparent, const std::string &pname) const
 
Cmp< ProjectionmkPCmp (const Projection &otherparent, const std::string &pname) const
 
virtual Projectionoperator= (const Projection &)
 Block Projection copying.
 
- Protected Member Functions inherited from Rivet::ProjectionApplier
LoggetLog () const
 
ProjectionHandlergetProjHandler () const
 Get a reference to the ProjectionHandler for this thread.
 
template<typename PROJ >
const PROJ & declareProjection (const PROJ &proj, const std::string &name)
 Register a contained projection. More...
 
template<typename PROJ >
const PROJ & declare (const PROJ &proj, const std::string &name)
 Register a contained projection (user-facing version) More...
 
template<typename PROJ >
const PROJ & declare (const std::string &name, const PROJ &proj)
 Register a contained projection (user-facing, arg-reordered version) More...
 
template<typename PROJ >
const PROJ & addProjection (const PROJ &proj, const std::string &name)
 Register a contained projection (user-facing version) More...
 

Detailed Description

template<bool INNER>
class Rivet::ALICE::CLMultiplicity< INNER >

Template for ALICE CL multiplicity projection. Which acceptance to look in depends on the template argument INNER:

  • INNER=true Check the inner SPD layer
  • INNER=false Check the outer SPD layer

Constructor & Destructor Documentation

◆ CLMultiplicity()

◆ ~CLMultiplicity()

template<bool INNER>
virtual Rivet::ALICE::CLMultiplicity< INNER >::~CLMultiplicity ( )
inlinevirtual

Destructor

Member Function Documentation

◆ clone()

template<bool INNER>
virtual std::unique_ptr<Rivet::Projection> Rivet::ALICE::CLMultiplicity< INNER >::clone ( ) const
inlinevirtual

Clone this projection

Returns
New wrapped pointer to object of this class

Implements Rivet::Projection.

◆ compare()

template<bool INNER>
virtual int Rivet::ALICE::CLMultiplicity< INNER >::compare ( const Projection p) const
inlinevirtual

Compare to another projection

Parameters
pProjection to compare against

Implements Rivet::Projection.

◆ project()

template<bool INNER>
virtual void Rivet::ALICE::CLMultiplicity< INNER >::project ( const Event e)
inlinevirtual

Do the projection. Sums number of charged final state particles within the acceptances of the specified CL sub-detectors.

Parameters
eEvent to project from

Implements Rivet::Projection.

References Rivet::SingleValueProjection::clear(), and Rivet::particles().


The documentation for this class was generated from the following file: