1#ifndef CALIBDATA_ENDCAPELELEC_H
2#define CALIBDATA_ENDCAPELELEC_H
3#include "GaudiKernel/DataObject.h"
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]; }
16 void setNum(
unsigned int idx,
unsigned int num ) { m_num[idx] =
num;}
18 for(
unsigned int i=0; i<4; i++ ) m_num[i] =
num[i];
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]; }
24 void setSimP(
unsigned int idx,
double p ) { m_simP[idx] = p; }
26 for(
unsigned int i=0; i<11; i++ ) { m_simP[i] = p[i]; }
30 unsigned int m_num[4];
double getSimP(unsigned int idx) const
void setNum(unsigned int idx, unsigned int num)
double getP(unsigned int idx) const
void setNum(unsigned int num[4])
void setSimP(unsigned int idx, double p)
void setSimP(double p[11])
unsigned int getNum(unsigned int idx) const
void setP(unsigned int idx, double p)