25 |
tdc = t.tdc; |
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.; |
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 |