BOSS 7.1.1
BESIII Offline Software System
Loading...
Searching...
No Matches
EndcapElec Class Reference

#include <EndcapElec.h>

Public Member Functions

 EndcapElec ()
 
 ~EndcapElec ()
 
unsigned int getNum (unsigned int idx) const
 
double getP (unsigned int idx) const
 
double getSimP (unsigned int idx) const
 
void setNum (unsigned int idx, unsigned int num)
 
void setNum (unsigned int num[4])
 
void setP (unsigned int idx, double p)
 
void setP (double p[11])
 
void setSimP (unsigned int idx, double p)
 
void setSimP (double p[11])
 

Detailed Description

Constructor & Destructor Documentation

◆ EndcapElec()

EndcapElec::EndcapElec ( )
inline

◆ ~EndcapElec()

EndcapElec::~EndcapElec ( )
inline

Member Function Documentation

◆ getNum()

unsigned int EndcapElec::getNum ( unsigned int idx) const
inline

Definition at line 9 of file Tof/TofQElecSvc/TofQElecSvc-00-01-01/TofQElecSvc/EndcapElec.h.

9{ return m_num[idx]; }

◆ getP()

double EndcapElec::getP ( unsigned int idx) const
inline

Definition at line 10 of file Tof/TofQElecSvc/TofQElecSvc-00-01-01/TofQElecSvc/EndcapElec.h.

10{ return m_p[idx]; }

◆ getSimP()

double EndcapElec::getSimP ( unsigned int idx) const
inline

Definition at line 11 of file Tof/TofQElecSvc/TofQElecSvc-00-01-01/TofQElecSvc/EndcapElec.h.

11{ return m_simP[idx]; }

◆ setNum() [1/2]

void EndcapElec::setNum ( unsigned int idx,
unsigned int num )
inline

◆ setNum() [2/2]

void EndcapElec::setNum ( unsigned int num[4])
inline

Definition at line 14 of file Tof/TofQElecSvc/TofQElecSvc-00-01-01/TofQElecSvc/EndcapElec.h.

14 {
15 for( unsigned int i=0; i<4; i++ ) m_num[i] = num[i];
16 }

◆ setP() [1/2]

void EndcapElec::setP ( double p[11])
inline

Definition at line 18 of file Tof/TofQElecSvc/TofQElecSvc-00-01-01/TofQElecSvc/EndcapElec.h.

18 {
19 for( unsigned int i=0; i<11; i++ ) { m_p[i] = p[i]; }
20 }

◆ setP() [2/2]

void EndcapElec::setP ( unsigned int idx,
double p )
inline

Definition at line 17 of file Tof/TofQElecSvc/TofQElecSvc-00-01-01/TofQElecSvc/EndcapElec.h.

17{ m_p[idx] = p; }

◆ setSimP() [1/2]

void EndcapElec::setSimP ( double p[11])
inline

Definition at line 22 of file Tof/TofQElecSvc/TofQElecSvc-00-01-01/TofQElecSvc/EndcapElec.h.

22 {
23 for( unsigned int i=0; i<11; i++ ) { m_simP[i] = p[i]; }
24 }

◆ setSimP() [2/2]

void EndcapElec::setSimP ( unsigned int idx,
double p )
inline

Definition at line 21 of file Tof/TofQElecSvc/TofQElecSvc-00-01-01/TofQElecSvc/EndcapElec.h.

21{ m_simP[idx] = p; }

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