]> git.uio.no Git - u/mrichter/AliRoot.git/blobdiff - EVE/Alieve/TPCSectorData.cxx
fixed typo in ESDListNames
[u/mrichter/AliRoot.git] / EVE / Alieve / TPCSectorData.cxx
index 0c5e0aa89c3717f555c8ef591980b8c24c10d57b..98c6bca742534bff270d5cdbdb7b5f9660ece399 100644 (file)
@@ -44,7 +44,7 @@ void TPCSectorData::InitStatics()
   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];
@@ -243,7 +243,7 @@ void TPCSectorData::EndPad(Bool_t autoPedestal, Short_t threshold)
     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;
@@ -461,8 +461,6 @@ TPCSectorData::SegmentInfo::SegmentInfo() :
 // TPCSectorData::PadRowHack
 /**************************************************************************/
 
-#include <set>
-
 TPCSectorData::PadRowHack* TPCSectorData::GetPadRowHack(Int_t r, Int_t p)
 {
   if(fPadRowHackSet == 0) return 0;