15 |
pmt_id = 0; |
pmt_id = 0; |
16 |
adc = 0.; |
adc = 0.; |
17 |
tdc_tw = 0.; |
tdc_tw = 0.; |
18 |
|
tdc = 0.; |
19 |
} |
} |
20 |
|
|
21 |
ToFPMT::ToFPMT(const ToFPMT &t){ |
ToFPMT::ToFPMT(const ToFPMT &t){ |
22 |
pmt_id = t.pmt_id; |
pmt_id = t.pmt_id; |
23 |
adc = t.adc; |
adc = t.adc; |
24 |
tdc_tw = t.tdc_tw; |
tdc_tw = t.tdc_tw; |
25 |
|
tdc = t.tdc; |
26 |
} |
} |
27 |
|
|
28 |
void ToFPMT::Clear(){ |
void ToFPMT::Clear(Option_t *t){ |
29 |
pmt_id = 0; |
pmt_id = 0; |
30 |
adc = 0.; |
adc = 0.; |
31 |
tdc_tw = 0.; |
tdc_tw = 0.; |
32 |
|
tdc = 0.; |
33 |
} |
} |
34 |
|
|
35 |
|
|
53 |
// |
// |
54 |
}; |
}; |
55 |
|
|
56 |
void ToFTrkVar::Clear() { |
void ToFTrkVar::Clear(Option_t *t) { |
57 |
trkseqno = 0; |
trkseqno = 0; |
58 |
npmttdc = 0; |
npmttdc = 0; |
59 |
npmtadc = 0; |
npmtadc = 0; |
107 |
if(!ToFTrk)ToFTrk = new TClonesArray("ToFTrkVar",2); //ELENA |
if(!ToFTrk)ToFTrk = new TClonesArray("ToFTrkVar",2); //ELENA |
108 |
}//ELENA |
}//ELENA |
109 |
|
|
110 |
void ToFLevel2::Clear(){ |
void ToFLevel2::Clear(Option_t *t){ |
111 |
// |
// |
112 |
if(ToFTrk)ToFTrk->Delete(); //ELENA |
if(ToFTrk)ToFTrk->Delete(); //ELENA |
113 |
if(PMT)PMT->Delete(); //ELENA |
if(PMT)PMT->Delete(); //ELENA |
116 |
// |
// |
117 |
}; |
}; |
118 |
|
|
119 |
void ToFLevel2::Delete(){ //ELENA |
void ToFLevel2::Delete(Option_t *t){ //ELENA |
120 |
// |
// |
121 |
if(ToFTrk){ |
if(ToFTrk){ |
122 |
ToFTrk->Delete(); //ELENA |
ToFTrk->Delete(); //ELENA |