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
►
Control
►
Database
►
DetectorDescription
►
DistBoss
►
DQA
►
Emc
►
Event
►
EventDisplay
►
EventFilter
►
EvtPreSelect
►
External
►
Generator
►
InstallArea
►
LumTauAlg
►
MagneticField
►
Mdc
►
Muc
►
OfflineEvtFilter
►
Reconstruction
►
RootPolicy
▼
Simulation
►
BesEventMixer
▼
BOOST
►
BesSim
►
EmcSim
►
GenSim
►
MdcSim
►
MdcTunningSvc
►
MucSim
►
PhySim
►
PrintMcInfo
►
SimUtil
▼
TofSim
▼
TofSim-00-02-40
►
dat
▼
src
BesTofConstruction.cc
►
BesTofDigi.cc
BesTofDigitizer.cc
BesTofDigitizerBrV1.cc
BesTofDigitizerBrV2.cc
BesTofDigitizerEcV1.cc
BesTofDigitizerEcV2.cc
BesTofDigitizerEcV3.cc
BesTofDigitizerEcV4.cc
BesTofDigitizerV.cc
BesTofGeoParameter.cc
►
BesTofHit.cc
BesTofSD.cc
►
PartProduce.cc
►
TofSim
►
TruSim
►
G4Svc
►
McTestAlg
►
Realization
►
SimHelpers
►
Tof
►
Trigger
►
Utilities
►
Validation
►
File Members
•
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Macros
Pages
Loading...
Searching...
No Matches
BesTofDigi.cc
Go to the documentation of this file.
1
//---------------------------------------------------------------------------//
2
// BOOST --- BESIII Object_Oriented Simulation Tool //
3
//---------------------------------------------------------------------------//
4
//Description: The class for Tof digi info
5
//Author: Dengzy
6
//Created: Mar, 2004
7
//Modified: Liu Yong @ Dec, 2008
8
//Comment:
9
//---------------------------------------------------------------------------//
10
// $Id: BesTofDigi.cc
11
12
#include "
BesTofDigi.hh
"
13
14
G4Allocator<BesTofDigi>
BesTofDigiAllocator
;
15
16
BesTofDigi::BesTofDigi
()
17
{
18
m_trackIndex = 0;
19
m_partId = -9;
20
m_scinNb = -9;
21
m_forwADC = -999;
22
m_backADC = -999;
23
m_forwTDC = -999;
24
m_backTDC = -999;
25
26
27
}
16
BesTofDigi::BesTofDigi
() {
…
}
28
29
BesTofDigi::~BesTofDigi
() {}
30
31
BesTofDigi::BesTofDigi
(
const
BesTofDigi
& right)
32
:G4VDigi()
33
{
34
m_trackIndex = right.m_trackIndex;
35
m_partId=right.m_partId;
36
m_scinNb=right.m_scinNb;
37
m_forwADC=right.m_forwADC;
38
m_backADC=right.m_backADC;
39
m_forwTDC=right.m_forwTDC;
40
m_backTDC=right.m_backTDC;
41
42
43
44
}
31
BesTofDigi::BesTofDigi
(
const
BesTofDigi
& right) {
…
}
45
46
47
const
BesTofDigi
&
BesTofDigi::operator=
(
const
BesTofDigi
& right)
48
{
49
m_trackIndex=right.m_trackIndex;
50
m_partId=right.m_partId;
51
m_scinNb=right.m_scinNb;
52
m_forwADC=right.m_forwADC;
53
m_backADC=right.m_backADC;
54
m_forwTDC=right.m_forwTDC;
55
m_backTDC=right.m_backTDC;
56
57
58
return
*
this
;
59
}
47
const
BesTofDigi
&
BesTofDigi::operator=
(
const
BesTofDigi
& right) {
…
}
60
61
62
int
BesTofDigi::operator==
(
const
BesTofDigi
& right)
const
63
{
64
return
(
this
==&right) ? 1 : 0;
65
}
62
int
BesTofDigi::operator==
(
const
BesTofDigi
& right)
const
{
…
}
66
67
68
void
BesTofDigi::Draw
()
69
{
70
}
68
void
BesTofDigi::Draw
() {
…
}
71
72
73
void
BesTofDigi::Print
()
74
{
75
}
73
void
BesTofDigi::Print
() {
…
}
76
77
BesTofDigiAllocator
G4Allocator< BesTofDigi > BesTofDigiAllocator
Definition
BesTofDigi.cc:14
BesTofDigi.hh
BesTofDigi
Definition
BesTofDigi.hh:20
BesTofDigi::Draw
virtual void Draw()
Definition
BesTofDigi.cc:68
BesTofDigi::~BesTofDigi
virtual ~BesTofDigi()
Definition
BesTofDigi.cc:29
BesTofDigi::BesTofDigi
BesTofDigi()
Definition
BesTofDigi.cc:16
BesTofDigi::operator==
virtual G4int operator==(const BesTofDigi &) const
Definition
BesTofDigi.cc:62
BesTofDigi::Print
virtual void Print()
Definition
BesTofDigi.cc:73
BesTofDigi::operator=
const BesTofDigi & operator=(const BesTofDigi &)
Definition
BesTofDigi.cc:47
7.1.2
Simulation
BOOST
TofSim
TofSim-00-02-40
src
BesTofDigi.cc
Generated by
1.12.0