CGEM BOSS
6.6.5.h
BESIII Offline Software System
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
}
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
}
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
}
60
61
62
int
BesTofDigi::operator==
(
const
BesTofDigi
& right)
const
63
{
64
return
(
this
==&right) ? 1 : 0;
65
}
66
67
68
void
BesTofDigi::Draw
()
69
{
70
}
71
72
73
void
BesTofDigi::Print
()
74
{
75
}
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
6.6.5.h
Simulation
BOOST
TofSim
TofSim-00-02-12
src
BesTofDigi.cc
Generated by
1.12.0