--- calo/flight/CaloBragg/src/CaloBragg.cpp 2008/10/14 13:08:30 1.4 +++ calo/flight/CaloBragg/src/CaloBragg.cpp 2009/12/14 14:37:58 1.7 @@ -25,6 +25,7 @@ // debug = false; usetrack = false; + usepl18x = false; // }; @@ -124,6 +125,9 @@ for ( Int_t i=0; iGetCaloLevel1()->istrip; i++ ){ // mip = L2->GetCaloLevel1()->DecodeEstrip(i,view,plane,strip); + // + if ( !usepl18x && view==0 && plane==18 ) mip = 0.; + // epiano[plane][view]+=mip; // // @@ -184,7 +188,7 @@ Float_t sum4 = 0.; Float_t qm = 0.; while ( RN < 4 && ind < 44 ){ - qm = TMath::KOrdStat(44,ordplane,ind,work); + qm = TMath::KOrdStat((Long64_t)44,ordplane,(Long64_t)ind,work); if (qm >= 0.7 ){ if ( RN < 4 ){ sum4 += qm;