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
•
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Macros
Pages
Loading...
Searching...
No Matches
ScintSingle.hh
Go to the documentation of this file.
1
//---------------------------------------------------------------------------//
2
// BOOST --- BESIII Object_Oriented Simulation Tool //
3
//---------------------------------------------------------------------------//
4
//Description:
5
//Author: Dengzy
6
//Created: Mar, 2004
7
//Modified:
8
//Comment:
9
//---------------------------------------------------------------------------//
10
// $Id: ScintSingle.hh
11
12
#ifndef ScintSingle_h
13
#define ScintSingle_h 1
14
15
#include <vector>
16
using namespace
std
;
17
18
class
ScintSingle
19
{
20
public
:
21
22
ScintSingle
()
23
{
24
hitIndexes =
new
vector<G4int>;
25
}
22
ScintSingle
() {
…
}
26
ScintSingle
(
const
ScintSingle
& right)
27
{
28
partId = right.partId;
29
scinNb = right.scinNb;
30
hitIndexes =right.hitIndexes;
31
}
26
ScintSingle
(
const
ScintSingle
& right) {
…
}
32
const
ScintSingle
&
operator=
(
const
ScintSingle
& right)
33
{
34
partId = right.partId;
35
scinNb = right.scinNb;
36
hitIndexes =right.hitIndexes;
37
return
*
this
;
38
}
32
const
ScintSingle
&
operator=
(
const
ScintSingle
& right) {
…
}
39
~ScintSingle
()
40
{
41
delete
hitIndexes;
42
}
39
~ScintSingle
() {
…
}
43
44
G4int
GetPartId
() {
return
partId;}
45
G4int
GetScinNb
() {
return
scinNb;}
46
G4double
GetEdep
() {
return
edep;}
47
vector<G4int>*
GetHitIndexes
() {
return
hitIndexes;}
48
vector<G4int>*
GetHitIndexes_mrpc
() {
return
hitIndexes;}
49
G4int
GetModule_mrpc
() {
return
scinNb;}
50
51
void
SetPartId
(G4int
id
) {partId = id;}
52
void
SetScinNb
(G4int nb) {scinNb = nb;}
53
void
SetEdep
(G4double e) {edep = e;}
54
void
AddEdep
(G4double e) {edep += e;}
55
private
:
56
57
G4int partId;
58
G4int scinNb;
59
G4double edep;
60
vector<G4int>* hitIndexes;
61
};
18
class
ScintSingle
{
…
};
62
63
#endif
64
ScintSingle
Definition
ScintSingle.hh:19
ScintSingle::GetHitIndexes_mrpc
vector< G4int > * GetHitIndexes_mrpc()
Definition
ScintSingle.hh:48
ScintSingle::operator=
const ScintSingle & operator=(const ScintSingle &right)
Definition
ScintSingle.hh:32
ScintSingle::SetEdep
void SetEdep(G4double e)
Definition
ScintSingle.hh:53
ScintSingle::GetModule_mrpc
G4int GetModule_mrpc()
Definition
ScintSingle.hh:49
ScintSingle::GetPartId
G4int GetPartId()
Definition
ScintSingle.hh:44
ScintSingle::SetScinNb
void SetScinNb(G4int nb)
Definition
ScintSingle.hh:52
ScintSingle::GetHitIndexes
vector< G4int > * GetHitIndexes()
Definition
ScintSingle.hh:47
ScintSingle::~ScintSingle
~ScintSingle()
Definition
ScintSingle.hh:39
ScintSingle::GetScinNb
G4int GetScinNb()
Definition
ScintSingle.hh:45
ScintSingle::ScintSingle
ScintSingle(const ScintSingle &right)
Definition
ScintSingle.hh:26
ScintSingle::SetPartId
void SetPartId(G4int id)
Definition
ScintSingle.hh:51
ScintSingle::GetEdep
G4double GetEdep()
Definition
ScintSingle.hh:46
ScintSingle::ScintSingle
ScintSingle()
Definition
ScintSingle.hh:22
ScintSingle::AddEdep
void AddEdep(G4double e)
Definition
ScintSingle.hh:54
std
Definition
RootEventData/RootEventData_rootcint.cxx:38
7.1.2
Simulation
BOOST
TofSim
TofSim-00-02-40
TofSim
ScintSingle.hh
Generated by
1.12.0