BOSS 7.0.9
BESIII Offline Software System
Loading...
Searching...
No Matches
Calibration/CalibData/CalibData-00-01-26/CalibData/Tof/EndcapElec.h
Go to the documentation of this file.
1#ifndef CALIBDATA_ENDCAPELELEC_H
2#define CALIBDATA_ENDCAPELELEC_H
3#include "GaudiKernel/DataObject.h"
5#include <vector>
6namespace CalibData {
8 public:
11 public:
12 unsigned int getNum( unsigned int idx ) const { return m_num[idx]; }
13 double getP( unsigned int idx ) const { return m_p[idx]; }
14 double getSimP( unsigned int idx ) const { return m_simP[idx]; }
15
16 void setNum( unsigned int idx, unsigned int num ) { m_num[idx] = num;}
17 void setNum( unsigned int num[4] ) {
18 for( unsigned int i=0; i<4; i++ ) m_num[i] = num[i];
19 }
20 void setP( unsigned int idx, double p ) { m_p[idx] = p; }
21 void setP( double p[11] ) {
22 for( unsigned int i=0; i<11; i++ ) { m_p[i] = p[i]; }
23 }
24 void setSimP( unsigned int idx, double p ) { m_simP[idx] = p; }
25 void setSimP( double p[11] ) {
26 for( unsigned int i=0; i<11; i++ ) { m_simP[i] = p[i]; }
27 }
28
29 private:
30 unsigned int m_num[4];
31 double m_p[11];
32 double m_simP[11];
33};
34}
35#endif