BOSS 7.1.1
BESIII Offline Software System
Loading...
Searching...
No Matches
CalibData::etfCalibBase Class Reference

#include <etfCalibBase.h>

Public Member Functions

 etfCalibBase ()
 
virtual ~etfCalibBase ()
 
void setSpeed (const double *Speed)
 
void setP (const double *etfP)
 
void setP1 (const double *etfP1)
 
void setP2 (const double *etfP2)
 
double getSpeed (int No) const
 
double getP (int No) const
 
double getP1 (int No) const
 
double getP2 (int No) const
 

Detailed Description

Definition at line 11 of file etfCalibBase.h.

Constructor & Destructor Documentation

◆ etfCalibBase()

CalibData::etfCalibBase::etfCalibBase ( )
inline

Definition at line 13 of file etfCalibBase.h.

13{};

◆ ~etfCalibBase()

virtual CalibData::etfCalibBase::~etfCalibBase ( )
inlinevirtual

Definition at line 15 of file etfCalibBase.h.

15 {
16 }

Member Function Documentation

◆ getP()

double CalibData::etfCalibBase::getP ( int No) const
inline

Definition at line 26 of file etfCalibBase.h.

26{ return m_P[No]; }

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

◆ getP1()

double CalibData::etfCalibBase::getP1 ( int No) const
inline

Definition at line 27 of file etfCalibBase.h.

27{ return m_P1[No]; }

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

◆ getP2()

double CalibData::etfCalibBase::getP2 ( int No) const
inline

Definition at line 28 of file etfCalibBase.h.

28{ return m_P2[No]; }

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

◆ getSpeed()

double CalibData::etfCalibBase::getSpeed ( int No) const
inline

Definition at line 25 of file etfCalibBase.h.

25{ return m_Speed[No]; }

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

◆ setP()

void CalibData::etfCalibBase::setP ( const double * etfP)

Definition at line 12 of file etfCalibBase.cxx.

12 {
13 for( unsigned int i=0; i<20; i++ ) {
14 m_P[i] = TofP[i];
15 }
16 }

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

◆ setP1()

void CalibData::etfCalibBase::setP1 ( const double * etfP1)

Definition at line 18 of file etfCalibBase.cxx.

18 {
19 for( unsigned int i=0; i<20; i++ ) {
20 m_P1[i] = TofP[i];
21 }
22 }

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

◆ setP2()

void CalibData::etfCalibBase::setP2 ( const double * etfP2)

Definition at line 24 of file etfCalibBase.cxx.

24 {
25 for( unsigned int i=0; i<20; i++ ) {
26 m_P2[i] = TofP[i];
27 }
28 }

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

◆ setSpeed()

void CalibData::etfCalibBase::setSpeed ( const double * Speed)

Definition at line 6 of file etfCalibBase.cxx.

6 {
7 for( unsigned int i=0; i<4; i++ ) {
8 m_Speed[i] = Speed[i];
9 }
10 }

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


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