| 95 |
}; |
}; |
| 96 |
} |
} |
| 97 |
|
|
| 98 |
|
void CaloPreSampler::SplitInto(Int_t NoWpreSampler, Int_t NoWcalo){ |
| 99 |
|
this->SetNoWcalo(0); |
| 100 |
|
this->SetNoWpreSampler(0); |
| 101 |
|
if ( NoWpreSampler < NoWcalo ){ |
| 102 |
|
this->SetNoWpreSampler(NoWpreSampler); |
| 103 |
|
this->SetNoWcalo(NoWcalo); |
| 104 |
|
} else { |
| 105 |
|
this->SetNoWcalo(NoWcalo); |
| 106 |
|
this->SetNoWpreSampler(NoWpreSampler); |
| 107 |
|
}; |
| 108 |
|
} |
| 109 |
|
|
| 110 |
void CaloPreSampler::Clear(){ |
void CaloPreSampler::Clear(){ |
| 111 |
// |
// |
| 112 |
pcalo->Clear(); |
pcalo->Clear(); |
| 217 |
if ( nox && view == 0 ) mip = 0.; |
if ( nox && view == 0 ) mip = 0.; |
| 218 |
if ( noy && view == 1 ) mip = 0.; |
if ( noy && view == 1 ) mip = 0.; |
| 219 |
// |
// |
| 220 |
|
if ( emulate18 && view == 0 && plane == 18 ) mip = 0.; |
| 221 |
|
// |
| 222 |
// Selection mode: fill the matrix only for plane < (22 - N) REMEMBER N = number of W planes to be used as presampler, ie if N = 2 then we want to use planes from 0 to 19 |
// Selection mode: fill the matrix only for plane < (22 - N) REMEMBER N = number of W planes to be used as presampler, ie if N = 2 then we want to use planes from 0 to 19 |
| 223 |
// included so plane < (22 - 2) |
// included so plane < (22 - 2) |
| 224 |
// |
// |