Belle II Software  release-08-01-10
CollisionInvariantMass Class Reference

This class contains the measured average center-of-mass energy, which is equal to the invariant mass of the colliding beams, and its uncertainty. More...

#include <CollisionInvariantMass.h>

Inheritance diagram for CollisionInvariantMass:
Collaboration diagram for CollisionInvariantMass:

Public Member Functions

bool operator== (const CollisionInvariantMass &other) const
 equality operator
 
void setMass (double mass, double error, double spread)
 Set the CMS energy and its uncertainty. More...
 
double getMass () const
 Get the measured average CMS energy.
 
double getMassError () const
 Get the uncertainty of the measured average CMS energy.
 
double getMassSpread () const
 Get the spread of the measured CMS energy.
 

Private Member Functions

 ClassDef (CollisionInvariantMass, 1)
 Measured average invariant mass of the colliding beams and its uncertainty.
 

Private Attributes

Double32_t m_mass {0}
 Average center-of-mass energy = invariant mass of the colliding beams.
 
Double32_t m_massError {0}
 Uncertainty of the average center-of-mass energy / invariant mass of the colliding beams.
 
Double32_t m_massSpread {0}
 Width of the distribution of the center-of-mass energy / invariant mass of the colliding beams.
 

Detailed Description

This class contains the measured average center-of-mass energy, which is equal to the invariant mass of the colliding beams, and its uncertainty.

Definition at line 21 of file CollisionInvariantMass.h.

Member Function Documentation

◆ setMass()

void setMass ( double  mass,
double  error,
double  spread 
)
inline

Set the CMS energy and its uncertainty.

Parameters
massinvariant mass of the colliding beams
erroruncertainty of mean invariant mass
spreadwidth of invariant mass distribution

Definition at line 35 of file CollisionInvariantMass.h.

36  {
37  m_mass = mass;
38  m_massError = error;
39  m_massSpread = spread;
40  }
Double32_t m_massSpread
Width of the distribution of the center-of-mass energy / invariant mass of the colliding beams.
Double32_t m_mass
Average center-of-mass energy = invariant mass of the colliding beams.
Double32_t m_massError
Uncertainty of the average center-of-mass energy / invariant mass of the colliding beams.

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