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

Class to store the offset of reconstructed fill pattern. More...

#include <TOPCalFillPatternOffset.h>

Inheritance diagram for TOPCalFillPatternOffset:
Collaboration diagram for TOPCalFillPatternOffset:

Public Member Functions

 TOPCalFillPatternOffset ()
 Default constructor.
 
void set (int offset, double fraction=0)
 Setter. More...
 
void setUnusable ()
 Switch calibration status to uncalibrated.
 
int get () const
 Getter for offset. More...
 
double getFraction () const
 Getter for fraction. More...
 
bool isCalibrated () const
 Is calibrated? More...
 

Private Member Functions

 ClassDef (TOPCalFillPatternOffset, 2)
 ClassDef.
 

Private Attributes

int m_offset = 0
 offset [RF clock]
 
float m_fraction = 0
 fraction of reconstructed buckets matched with filled ones
 
bool m_calibrated = false
 calibration status
 

Detailed Description

Class to store the offset of reconstructed fill pattern.

Definition at line 22 of file TOPCalFillPatternOffset.h.

Member Function Documentation

◆ get()

int get ( ) const
inline

Getter for offset.

Returns
offset

Definition at line 53 of file TOPCalFillPatternOffset.h.

53 {return m_offset;}

◆ getFraction()

double getFraction ( ) const
inline

Getter for fraction.

Returns
fraction of reconstructed buckets matched with filled ones

Definition at line 59 of file TOPCalFillPatternOffset.h.

◆ isCalibrated()

bool isCalibrated ( ) const
inline

Is calibrated?

Returns
true, if calibrated

Definition at line 65 of file TOPCalFillPatternOffset.h.

◆ set()

void set ( int  offset,
double  fraction = 0 
)
inline

Setter.

Parameters
offsetvalue to be set
fractionfraction of reconstructed buckets which are matched with filled ones

Definition at line 37 of file TOPCalFillPatternOffset.h.


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