BOSS 6.6.4.p01
BESIII Offline Software System
Loading...
Searching...
No Matches
BarrelElec Class Reference

#include <BarrelElec.h>

Public Member Functions

 BarrelElec ()
 
 ~BarrelElec ()
 
unsigned int getNumEast (int idx) const
 
unsigned int getNumWest (int idx) const
 
double getP1 (int idx) const
 
double getP2 (int idx) const
 
double getSimP1 (int idx) const
 
double getSimP2 (int idx) const
 
void setNumEast (unsigned int idx, unsigned int num)
 
void setNumEast (unsigned int num[4])
 
void setNumWest (unsigned int idx, unsigned int num)
 
void setNumWest (unsigned int num[4])
 
void setP1 (unsigned int idx, double p)
 
void setP1 (double p[11])
 
void setP2 (unsigned int idx, double p)
 
void setP2 (double p[11])
 
void setSimP1 (unsigned int idx, double p)
 
void setSimP1 (double p[11])
 
void setSimP2 (unsigned int idx, double p)
 
void setSimP2 (double p[11])
 

Detailed Description

Constructor & Destructor Documentation

◆ BarrelElec()

BarrelElec::BarrelElec ( )
inline

◆ ~BarrelElec()

BarrelElec::~BarrelElec ( )
inline

Member Function Documentation

◆ getNumEast()

unsigned int BarrelElec::getNumEast ( int  idx) const
inline

Definition at line 9 of file Tof/TofQElecSvc/TofQElecSvc-00-00-04/TofQElecSvc/BarrelElec.h.

9{ return m_num[0][idx]; }

◆ getNumWest()

unsigned int BarrelElec::getNumWest ( int  idx) const
inline

Definition at line 10 of file Tof/TofQElecSvc/TofQElecSvc-00-00-04/TofQElecSvc/BarrelElec.h.

10{ return m_num[1][idx]; }

◆ getP1()

double BarrelElec::getP1 ( int  idx) const
inline

Definition at line 11 of file Tof/TofQElecSvc/TofQElecSvc-00-00-04/TofQElecSvc/BarrelElec.h.

11{ return m_pEast[idx]; }

◆ getP2()

double BarrelElec::getP2 ( int  idx) const
inline

Definition at line 12 of file Tof/TofQElecSvc/TofQElecSvc-00-00-04/TofQElecSvc/BarrelElec.h.

12{ return m_pWest[idx]; }

◆ getSimP1()

double BarrelElec::getSimP1 ( int  idx) const
inline

Definition at line 13 of file Tof/TofQElecSvc/TofQElecSvc-00-00-04/TofQElecSvc/BarrelElec.h.

13{ return m_simPEast[idx]; }

◆ getSimP2()

double BarrelElec::getSimP2 ( int  idx) const
inline

Definition at line 14 of file Tof/TofQElecSvc/TofQElecSvc-00-00-04/TofQElecSvc/BarrelElec.h.

14{ return m_simPWest[idx]; }

◆ setNumEast() [1/2]

void BarrelElec::setNumEast ( unsigned int  idx,
unsigned int  num 
)
inline

Definition at line 16 of file Tof/TofQElecSvc/TofQElecSvc-00-00-04/TofQElecSvc/BarrelElec.h.

16{ m_num[0][idx] = num; }
int num[96]
Definition: ranlxd.c:373

◆ setNumEast() [2/2]

void BarrelElec::setNumEast ( unsigned int  num[4])
inline

Definition at line 17 of file Tof/TofQElecSvc/TofQElecSvc-00-00-04/TofQElecSvc/BarrelElec.h.

17 {
18 for( unsigned int i=0; i<4; i++ ) { m_num[0][i] = num[i]; }
19 }

◆ setNumWest() [1/2]

void BarrelElec::setNumWest ( unsigned int  idx,
unsigned int  num 
)
inline

Definition at line 20 of file Tof/TofQElecSvc/TofQElecSvc-00-00-04/TofQElecSvc/BarrelElec.h.

20{ m_num[1][idx] = num; }

◆ setNumWest() [2/2]

void BarrelElec::setNumWest ( unsigned int  num[4])
inline

Definition at line 21 of file Tof/TofQElecSvc/TofQElecSvc-00-00-04/TofQElecSvc/BarrelElec.h.

21 {
22 for( unsigned int i=0; i<4; i++ ) { m_num[1][i] = num[i]; }
23 }

◆ setP1() [1/2]

void BarrelElec::setP1 ( double  p[11])
inline

Definition at line 25 of file Tof/TofQElecSvc/TofQElecSvc-00-00-04/TofQElecSvc/BarrelElec.h.

25 {
26 for( unsigned int i=0; i<11; i++ ) { m_pEast[i] = p[i]; }
27 }

◆ setP1() [2/2]

void BarrelElec::setP1 ( unsigned int  idx,
double  p 
)
inline

Definition at line 24 of file Tof/TofQElecSvc/TofQElecSvc-00-00-04/TofQElecSvc/BarrelElec.h.

24{ m_pEast[idx] = p; }

◆ setP2() [1/2]

void BarrelElec::setP2 ( double  p[11])
inline

Definition at line 29 of file Tof/TofQElecSvc/TofQElecSvc-00-00-04/TofQElecSvc/BarrelElec.h.

29 {
30 for( unsigned int i=0; i<11; i++ ) { m_pWest[i] = p[i]; }
31 }

◆ setP2() [2/2]

void BarrelElec::setP2 ( unsigned int  idx,
double  p 
)
inline

Definition at line 28 of file Tof/TofQElecSvc/TofQElecSvc-00-00-04/TofQElecSvc/BarrelElec.h.

28{ m_pWest[idx] = p; }

◆ setSimP1() [1/2]

void BarrelElec::setSimP1 ( double  p[11])
inline

Definition at line 33 of file Tof/TofQElecSvc/TofQElecSvc-00-00-04/TofQElecSvc/BarrelElec.h.

33 {
34 for( unsigned int i=0; i<11; i++ ) { m_simPEast[i] = p[i]; }
35 }

◆ setSimP1() [2/2]

void BarrelElec::setSimP1 ( unsigned int  idx,
double  p 
)
inline

Definition at line 32 of file Tof/TofQElecSvc/TofQElecSvc-00-00-04/TofQElecSvc/BarrelElec.h.

32{ m_simPEast[idx] = p; }

◆ setSimP2() [1/2]

void BarrelElec::setSimP2 ( double  p[11])
inline

Definition at line 37 of file Tof/TofQElecSvc/TofQElecSvc-00-00-04/TofQElecSvc/BarrelElec.h.

37 {
38 for( unsigned int i=0; i<11; i++ ) { m_simPWest[i] = p[i]; }
39 }

◆ setSimP2() [2/2]

void BarrelElec::setSimP2 ( unsigned int  idx,
double  p 
)
inline

Definition at line 36 of file Tof/TofQElecSvc/TofQElecSvc-00-00-04/TofQElecSvc/BarrelElec.h.

36{ m_simPWest[idx] = p; }

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