CGEM BOSS
6.6.5.i
BESIII Offline Software System
Loading...
Searching...
No Matches
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
TCgemDedx.cxx:5
TCgemDedx.h
TCgemDedx
Definition
TCgemDedx.h:6
TCgemDedx::chi
Double_t chi(int i) const
Definition
TCgemDedx.cxx:19
TCgemDedx::TCgemDedx
TCgemDedx()
TCgemDedx::~TCgemDedx
~TCgemDedx()
Definition
TCgemDedx.cxx:14
6.6.5.i
Event
RootEventData
RootEventData-00-05-16
src
TCgemDedx.cxx
Generated by
1.12.0