BOSS 7.1.2
BESIII Offline Software System
Loading...
Searching...
No Matches
CalibData::bTofCommonCalibBase Class Reference

#include <bTofCommonCalibBase.h>

Public Member Functions

 bTofCommonCalibBase ()
 
virtual ~bTofCommonCalibBase ()
 
void setOffset (const double *offset)
 
void setSigmaCorr (const double *sigmaCorr)
 
double getOffset (int No) const
 
double getSigmaCorr (int No) const
 

Detailed Description

Definition at line 17 of file bTofCommonCalibBase.h.

Constructor & Destructor Documentation

◆ bTofCommonCalibBase()

CalibData::bTofCommonCalibBase::bTofCommonCalibBase ( )
inline

Definition at line 19 of file bTofCommonCalibBase.h.

19{};

◆ ~bTofCommonCalibBase()

virtual CalibData::bTofCommonCalibBase::~bTofCommonCalibBase ( )
inlinevirtual

Definition at line 21 of file bTofCommonCalibBase.h.

21 {
22 }

Member Function Documentation

◆ getOffset()

double CalibData::bTofCommonCalibBase::getOffset ( int No) const
inline

Definition at line 29 of file bTofCommonCalibBase.h.

29{ return m_offset[No]; }

Referenced by CalibData::TofCalibData::getBTofOffset().

◆ getSigmaCorr()

double CalibData::bTofCommonCalibBase::getSigmaCorr ( int No) const
inline

Definition at line 30 of file bTofCommonCalibBase.h.

30{ return m_sigmaCorr[No]; }

Referenced by CalibData::TofCalibData::getBTofSigmaCorr().

◆ setOffset()

void CalibData::bTofCommonCalibBase::setOffset ( const double * offset)

Definition at line 12 of file bTofCommonCalibBase.cxx.

12 {
13 for(int i=0; i<2; i++) {
14 m_offset[i] = offset[i];
15 }
16 }

Referenced by RootEstTofCalibDataCnv::i_createObj(), RootTofCalibDataCnv::i_createObj(), TreeEstTofCalibDataCnv::i_createObj(), and TreeTofCalibDataCnv::i_createObj().

◆ setSigmaCorr()

void CalibData::bTofCommonCalibBase::setSigmaCorr ( const double * sigmaCorr)

Definition at line 18 of file bTofCommonCalibBase.cxx.

18 {
19 for(int i=0; i<8; i++) {
20 m_sigmaCorr[i] = sigmaCorr[i];
21 }
22 }

Referenced by RootTofCalibDataCnv::i_createObj(), and TreeTofCalibDataCnv::i_createObj().


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