BOSS
7.1.2
BESIII Offline Software System
Toggle main menu visibility
Main Page
Related Pages
Namespaces
Namespace List
Namespace Members
All
_
a
b
c
d
e
f
g
h
i
k
l
m
n
o
p
r
s
t
u
v
w
x
z
Functions
a
c
d
e
f
g
i
l
m
n
o
p
r
s
t
u
v
w
Variables
a
b
c
d
e
f
g
h
i
k
l
m
n
o
p
r
s
t
v
w
x
z
Typedefs
c
d
e
g
h
i
l
m
n
o
p
r
s
t
Enumerations
Enumerator
a
b
c
d
e
f
i
k
l
m
n
o
p
r
s
t
u
w
x
z
Classes
Class List
Class Index
Class Hierarchy
Class Members
All
:
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
~
Functions
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
~
Variables
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Typedefs
a
b
c
d
e
f
g
h
i
m
n
p
r
s
t
v
w
Enumerations
b
c
d
e
f
g
h
i
k
l
m
n
p
r
s
t
v
Enumerator
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
r
s
t
u
v
w
x
z
Related Symbols
:
a
b
c
d
e
f
g
i
k
l
m
n
o
p
r
s
t
v
w
x
Files
File List
File Members
All
!
$
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Functions
!
a
b
c
d
e
f
g
h
i
j
l
m
n
o
p
q
r
s
t
u
v
w
x
Variables
!
$
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Typedefs
a
b
c
d
e
f
h
i
j
k
l
m
n
p
r
s
t
u
v
w
z
Enumerations
Enumerator
a
b
c
d
e
f
g
h
i
k
m
n
o
p
r
s
t
u
w
Macros
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
z
▼
BOSS
Used Packages
Requirements
►
How to use the ERS package
Todo List
►
Namespaces
►
Classes
▼
Files
▼
File List
▼
7.1.2
►
Analysis
►
BesCxxPolicy
►
BesExamples
►
BesPolicy
▼
Calibration
▼
CalibData
▼
CalibData-00-02-02
►
CalibData
▼
src
►
Dedx
►
Dll
►
Emc
►
EsTime
►
Ets
►
Mdc
►
Muc
▼
Tof
bTofCalibBase.cxx
bTofCommonCalibBase.cxx
etfBunchCalibBase.cxx
etfCalibBase.cxx
eTofCalibBase.cxx
TofCalibData.cxx
tofCalibInfoBase.cxx
TofElecData.cxx
TofSimData.cxx
CalibBase.cxx
CalibBase1.cxx
►
CalibModel.cxx
CalibModelSvc.cxx
DacCol.cxx
mainpage.h
►
CalibSvc
►
calibUtil
►
facilities
►
rdbModel
►
xmlBase
►
Control
►
Database
►
DetectorDescription
►
DistBoss
►
DQA
►
Emc
►
Event
►
EventDisplay
►
EventFilter
►
EvtPreSelect
►
External
►
Generator
►
InstallArea
►
LumTauAlg
►
MagneticField
►
Mdc
►
Muc
►
OfflineEvtFilter
►
Reconstruction
►
RootPolicy
►
Simulation
►
Tof
►
Trigger
►
Utilities
►
Validation
►
File Members
•
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Macros
Pages
Loading...
Searching...
No Matches
TofElecData.cxx
Go to the documentation of this file.
1
// $Header: /bes/bes/BossCvs/Calibration/CalibData/src/Tof/TofElecData.cxx,v 1.1 2009/09/22 07:28:05 huangb Exp $
2
3
/** @class Mdctxpar
4
* Implementation of Mdcspres calibration TCDS class
5
*/
6
7
8
#include "GaudiKernel/MsgStream.h"
9
#include "
CalibData/Tof/TofElecData.h
"
10
namespace
CalibData
{
11
12
TofElecData::TofElecData
(std::vector<BarrelElec>* bTofCal,std::vector<EndcapElec>* eTofCal){
13
if
(bTofCal){
14
m_bTofElecData =
new
std::vector<BarrelElec>(*bTofCal);
15
}
16
if
(eTofCal){
17
m_eTofElecData =
new
std::vector<EndcapElec>(*eTofCal);
18
}
19
}
12
TofElecData::TofElecData
(std::vector<BarrelElec>* bTofCal,std::vector<EndcapElec>* eTofCal) {
…
}
20
21
StatusCode
TofElecData::update
(
CalibBase1
& other, MsgStream* log)
22
{
23
TofElecData
& other1 =
dynamic_cast<
TofElecData
&
>
(other);
24
std::cout<<
"========================================"
<<
"\n"
<<
"here is the update in the TofElecData"
<<
"\n"
<<
"=================================================="
<<std::endl;
25
CalibBase1::update
(other, log);
26
delete
m_bTofElecData;
27
m_bTofElecData =
new
std::vector<BarrelElec>(*(other1.m_bTofElecData));
28
delete
m_eTofElecData;
29
m_eTofElecData =
new
std::vector<EndcapElec>(*(other1.m_eTofElecData));
30
return
StatusCode::SUCCESS;
31
}
21
StatusCode
TofElecData::update
(
CalibBase1
& other, MsgStream* log) {
…
}
32
33
void
TofElecData::sim
(
TofElecData
* other1){
34
// if(!m_bTofElecData->empty()) delete m_bTofElecData;
35
if
(m_bTofElecData)
delete
m_bTofElecData;
36
m_bTofElecData =
new
std::vector<BarrelElec>(*(other1->m_bTofElecData));
37
if
(m_eTofElecData)
delete
m_eTofElecData;
38
m_eTofElecData =
new
std::vector<EndcapElec>(*(other1->m_eTofElecData));
39
}
33
void
TofElecData::sim
(
TofElecData
* other1) {
…
}
40
41
//get the CalibData
42
43
BarrelElec
TofElecData::getBTof
(
int
cnt)
const
{
44
std::vector<BarrelElec>::iterator it = m_bTofElecData->begin();
45
for
(
int
i=0;i!=cnt;i++,it++)
46
{
47
}
48
return
*it;
49
}
43
BarrelElec
TofElecData::getBTof
(
int
cnt)
const
{
…
}
50
51
52
EndcapElec
TofElecData::getETof
(
int
cnt)
const
{
53
std::vector<EndcapElec>::iterator it = m_eTofElecData->begin();
54
for
(
int
i=0;i!=cnt;i++,it++)
55
{
56
}
57
return
*it;
58
}
52
EndcapElec
TofElecData::getETof
(
int
cnt)
const
{
…
}
59
60
}
61
62
TofElecData.h
CalibData::BarrelElec
Definition
Calibration/CalibData/CalibData-00-02-02/CalibData/Tof/BarrelElec.h:8
CalibData::CalibBase1
Definition
CalibBase1.h:27
CalibData::CalibBase1::update
virtual StatusCode update(CalibBase1 &obj, MsgStream *)
Definition
CalibBase1.cxx:33
CalibData::EndcapElec
Definition
Calibration/CalibData/CalibData-00-02-02/CalibData/Tof/EndcapElec.h:7
CalibData::TofElecData
Definition
TofElecData.h:18
CalibData::TofElecData::update
virtual StatusCode update(CalibBase1 &other, MsgStream *log)
Definition
TofElecData.cxx:21
CalibData::TofElecData::sim
void sim(TofElecData *other1)
Definition
TofElecData.cxx:33
CalibData::TofElecData::TofElecData
TofElecData()
Definition
TofElecData.h:21
CalibData::TofElecData::getETof
EndcapElec getETof(int cnt) const
Definition
TofElecData.cxx:52
CalibData::TofElecData::getBTof
BarrelElec getBTof(int cnt) const
Definition
TofElecData.cxx:43
CalibData
Definition
Calibration/CalibData/CalibData-00-02-02/CalibData/CalibBase.h:27
7.1.2
Calibration
CalibData
CalibData-00-02-02
src
Tof
TofElecData.cxx
Generated by
1.12.0