if(fgParam != 0) return;
fgParam = new AliTPCParamSR;
- fgZLength = fgParam->GetZLength();
+ fgZLength = fgParam->GetZLength(0)+0.275;
fgNAllRows = fgParam->GetNRowLow() + fgParam->GetNRowUp();
fgNAllPads = 0;
fgRowBegs = new Int_t[fgNAllRows + 1];
Short_t* wpos = beg;
Short_t* rpos = beg;
while(rpos < end) {
- if(rpos[1] > threshold) {
+ if(rpos[1] >= threshold) {
wpos[0] = rpos[0];
wpos[1] = rpos[1];
wpos += 2;
// TPCSectorData::PadRowHack
/**************************************************************************/
-#include <set>
-
TPCSectorData::PadRowHack* TPCSectorData::GetPadRowHack(Int_t r, Int_t p)
{
if(fPadRowHackSet == 0) return 0;