Annotation of /DarthVader/AnticounterLevel2/src/AcLevel2.cpp
Parent Directory
|
Revision Log
Revision
1.2 -
(
hide annotations)
(
download)
Fri Jun 30 09:21:50 2006 UTC
(19 years ago)
by
mocchiut
Branch:
MAIN
CVS Tags:
v1r01beta
Changes since
1.1: +11 -0 lines
Memory leak bug fixed
1 |
mocchiut |
1.1 |
#include <TObject.h> |
2 |
|
|
#include <AcLevel2.h> |
3 |
|
|
ClassImp(AcLevel2); |
4 |
|
|
|
5 |
|
|
AcLevel2::AcLevel2() { |
6 |
|
|
status[0]=0; |
7 |
|
|
hitmap[0]=0; |
8 |
|
|
hitstatus[0]=0; |
9 |
|
|
trigger[0]=0; |
10 |
|
|
//OBT=0ULL; |
11 |
|
|
//pro_num=0; |
12 |
|
|
//pkt_num=0ULL; |
13 |
|
|
status[1]=0; |
14 |
|
|
hitmap[1]=0; |
15 |
|
|
hitstatus[1]=0; |
16 |
|
|
trigger[1]=0; |
17 |
|
|
} |
18 |
mocchiut |
1.2 |
|
19 |
|
|
void AcLevel2::Clear(){ |
20 |
|
|
status[0]=0; |
21 |
|
|
hitmap[0]=0; |
22 |
|
|
hitstatus[0]=0; |
23 |
|
|
trigger[0]=0; |
24 |
|
|
status[1]=0; |
25 |
|
|
hitmap[1]=0; |
26 |
|
|
hitstatus[1]=0; |
27 |
|
|
trigger[1]=0; |
28 |
|
|
} |