CGEM BOSS 6.6.5.g
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
14G4Allocator<BesTofDigi> BesTofDigiAllocator;
15
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
30
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
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
62int BesTofDigi::operator==(const BesTofDigi& right) const
63{
64 return (this==&right) ? 1 : 0;
65}
66
67
69{
70}
71
72
74{
75}
76
77
G4Allocator< BesTofDigi > BesTofDigiAllocator
Definition: BesTofDigi.cc:14
virtual void Draw()
Definition: BesTofDigi.cc:68
virtual ~BesTofDigi()
Definition: BesTofDigi.cc:29
virtual G4int operator==(const BesTofDigi &) const
Definition: BesTofDigi.cc:62
virtual void Print()
Definition: BesTofDigi.cc:73
const BesTofDigi & operator=(const BesTofDigi &)
Definition: BesTofDigi.cc:47