Belle II Software development
CDCDedxRunGain Class Reference

dE/dx run gain calibration constants More...

#include <CDCDedxRunGain.h>

Inheritance diagram for CDCDedxRunGain:

Public Member Functions

 CDCDedxRunGain ()
 Default constructor.
 
 CDCDedxRunGain (double gain)
 Constructor.
 
 ~CDCDedxRunGain ()
 Destructor.
 
CDCDedxRunGainoperator*= (CDCDedxRunGain const &rhs)
 Combine payloads.
 
double getRunGain () const
 Return run gain.
 
void setRunGain (double gain)
 Set run gain.
 

Private Member Functions

 ClassDef (CDCDedxRunGain, 4)
 ClassDef.
 

Private Attributes

double m_gain
 Run gain.
 

Detailed Description

dE/dx run gain calibration constants

Definition at line 23 of file CDCDedxRunGain.h.

Constructor & Destructor Documentation

◆ CDCDedxRunGain() [1/2]

CDCDedxRunGain ( )
inline

Default constructor.

Definition at line 29 of file CDCDedxRunGain.h.

29: m_gain(1.0) {};
double m_gain
Run gain.

◆ CDCDedxRunGain() [2/2]

CDCDedxRunGain ( double  gain)
inlineexplicit

Constructor.

Definition at line 34 of file CDCDedxRunGain.h.

34: m_gain(gain) {};

◆ ~CDCDedxRunGain()

~CDCDedxRunGain ( )
inline

Destructor.

Definition at line 39 of file CDCDedxRunGain.h.

39{};

Member Function Documentation

◆ getRunGain()

double getRunGain ( ) const
inline

Return run gain.

Returns
run gain

Definition at line 53 of file CDCDedxRunGain.h.

53{return m_gain; };

◆ operator*=()

CDCDedxRunGain & operator*= ( CDCDedxRunGain const &  rhs)
inline

Combine payloads.

Definition at line 44 of file CDCDedxRunGain.h.

45 {
46 m_gain *= rhs.getRunGain();
47 return *this;
48 };

◆ setRunGain()

void setRunGain ( double  gain)
inline

Set run gain.

Parameters
gain

Definition at line 58 of file CDCDedxRunGain.h.

58{m_gain = gain; };

Member Data Documentation

◆ m_gain

double m_gain
private

Run gain.

Definition at line 61 of file CDCDedxRunGain.h.


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