Belle II Software light-2406-ragdoll
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.
 
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

◆ getMass()

double getMass ( ) const
inline

Get the measured average CMS energy.

Definition at line 43 of file CollisionInvariantMass.h.

44 {
45 return m_mass;
46 }
Double32_t m_mass
Average center-of-mass energy = invariant mass of the colliding beams.

◆ getMassError()

double getMassError ( ) const
inline

Get the uncertainty of the measured average CMS energy.

Definition at line 49 of file CollisionInvariantMass.h.

50 {
51 return m_massError;
52 }
Double32_t m_massError
Uncertainty of the average center-of-mass energy / invariant mass of the colliding beams.

◆ getMassSpread()

double getMassSpread ( ) const
inline

Get the spread of the measured CMS energy.

Definition at line 55 of file CollisionInvariantMass.h.

56 {
57 return m_massSpread;
58 }
Double32_t m_massSpread
Width of the distribution of the center-of-mass energy / invariant mass of the colliding beams.

◆ operator==()

bool operator== ( const CollisionInvariantMass other) const
inline

equality operator

Definition at line 25 of file CollisionInvariantMass.h.

26 {
27 return other.m_mass == m_mass && other.m_massError == m_massError;
28 }

◆ 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 }

Member Data Documentation

◆ m_mass

Double32_t m_mass {0}
private

Average center-of-mass energy = invariant mass of the colliding beams.

Definition at line 63 of file CollisionInvariantMass.h.

◆ m_massError

Double32_t m_massError {0}
private

Uncertainty of the average center-of-mass energy / invariant mass of the colliding beams.

Definition at line 66 of file CollisionInvariantMass.h.

◆ m_massSpread

Double32_t m_massSpread {0}
private

Width of the distribution of the center-of-mass energy / invariant mass of the colliding beams.

Definition at line 69 of file CollisionInvariantMass.h.


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