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

#include <AliceCommon.hh>

Inheritance diagram for Rivet::ALICE::V0Multiplicity< MODE >:
Rivet::SingleValueProjection Rivet::Projection Rivet::ProjectionApplier

Public Member Functions

 V0Multiplicity ()
 
virtual ~V0Multiplicity ()
 
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<int MODE>
class Rivet::ALICE::V0Multiplicity< MODE >

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

  • MODE=-1 Check the V0-C acceptance ( $-3.7<\eta<-1.7$)
  • MODE=+1 Check the V0-A acceptance ( $+2.8<\eta<+5.1$)
  • MODE=0 Check both V0-A and -C acceptances (sum)

Constructor & Destructor Documentation

◆ V0Multiplicity()

◆ ~V0Multiplicity()

template<int MODE>
virtual Rivet::ALICE::V0Multiplicity< MODE >::~V0Multiplicity ( )
inlinevirtual

Destructor

Member Function Documentation

◆ clone()

template<int MODE>
virtual std::unique_ptr<Rivet::Projection> Rivet::ALICE::V0Multiplicity< MODE >::clone ( ) const
inlinevirtual

Clone this projection

Returns
New wrapped pointer to object of this class

Implements Rivet::Projection.

◆ compare()

template<int MODE>
virtual int Rivet::ALICE::V0Multiplicity< MODE >::compare ( const Projection p) const
inlinevirtual

Compare to another projection

Parameters
pProjection to compare against

Implements Rivet::Projection.

◆ project()

template<int MODE>
virtual void Rivet::ALICE::V0Multiplicity< MODE >::project ( const Event e)
inlinevirtual

Do the projection. Sums number of charged final state particles within the acceptances of the specified V0 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: