CGEM BOSS
6.6.5.f
BESIII Offline Software System
Loading...
Searching...
No Matches
RootEventData-00-05-13/src/TCgemDedx.cxx
Go to the documentation of this file.
1
#include "RootEventData/TCgemDedx.h"
2
#include <iostream>
3
#include <cstdlib>
4
5
ClassImp
(
TCgemDedx
)
6
7
//************************************************
8
//
9
TCgemDedx::TCgemDedx
() {
10
Clear();
11
}
12
//************************************************
13
//
14
TCgemDedx::~TCgemDedx
(){
15
Clear();
16
}
17
18
19
Double_t
TCgemDedx::chi
(
int
i)
const
{
20
double
chi_ret = 0;
21
switch
(i) {
22
case
0: chi_ret = m_chiE;
23
break
;
24
case
1: chi_ret = m_chiMu;
25
break
;
26
case
2: chi_ret = m_chiPi;
27
break
;
28
case
3: chi_ret = m_chiK;
29
break
;
30
case
4: chi_ret = m_chiP;
31
break
;
32
default
: std::cerr <<
" TCgemDedx::chi: i= "
<< i <<
" - out of range"
33
<< std::endl;
34
exit(1);
35
}
36
37
return
chi_ret;
38
}
ClassImp
ClassImp(TCgemDedx) TCgemDedx
Definition:
RootEventData-00-05-13/src/TCgemDedx.cxx:5
TCgemDedx
Definition:
Event/RootEventData/bak_RootEventData-00-05-12/RootEventData/TCgemDedx.h:6
TCgemDedx::chi
Double_t chi(int i) const
Definition:
bak_RootEventData-00-05-12/src/TCgemDedx.cxx:19
TCgemDedx::TCgemDedx
TCgemDedx()
TCgemDedx::~TCgemDedx
~TCgemDedx()
Definition:
bak_RootEventData-00-05-12/src/TCgemDedx.cxx:14
source
Event
RootEventData
RootEventData-00-05-13
src
TCgemDedx.cxx
Generated by
1.9.6