BOSS
7.0.2
BESIII Offline Software System
Loading...
Searching...
No Matches
TMdcDedx.cxx
Go to the documentation of this file.
1
#include "RootEventData/TMdcDedx.h"
2
#include <iostream>
3
#include <cstdlib>
4
5
ClassImp
(
TMdcDedx
)
6
7
//************************************************
8
//
9
TMdcDedx::TMdcDedx
() {
10
Clear();
11
}
12
//************************************************
13
//
14
TMdcDedx::~TMdcDedx
(){
15
Clear();
16
}
17
18
19
Double_t
TMdcDedx::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 <<
" TMdcDedx::chi: i= "
<< i <<
" - out of range"
33
<< std::endl;
34
exit(1);
35
}
36
37
return
chi_ret;
38
}
ClassImp
ClassImp(TMdcDedx) TMdcDedx
Definition:
TMdcDedx.cxx:5
TMdcDedx
Definition:
Event/RootEventData/RootEventData-00-03-80/RootEventData/TMdcDedx.h:6
TMdcDedx::~TMdcDedx
~TMdcDedx()
Definition:
TMdcDedx.cxx:14
TMdcDedx::TMdcDedx
TMdcDedx()
TMdcDedx::chi
Double_t chi(int i) const
Definition:
TMdcDedx.cxx:19
source
Event
RootEventData
RootEventData-00-03-80
src
TMdcDedx.cxx
Generated by
1.9.6