X-Git-Url: http://git.uio.no/git/?a=blobdiff_plain;f=TRD%2FAliTRDPreprocessor.cxx;h=888f8ed0f1f972b829eb68414e2d654dd5da5a24;hb=373e138c60e4a9fcac9e8a9965c7ab0a6cda408b;hp=7025aff3e286828481ea870eb16fb978919776c6;hpb=f059e2be83b39410306a1bb9152c70373f006be7;p=u%2Fmrichter%2FAliRoot.git diff --git a/TRD/AliTRDPreprocessor.cxx b/TRD/AliTRDPreprocessor.cxx index 7025aff3e28..888f8ed0f1f 100644 --- a/TRD/AliTRDPreprocessor.cxx +++ b/TRD/AliTRDPreprocessor.cxx @@ -453,8 +453,6 @@ Bool_t AliTRDPreprocessor::ExtractPedestals() if(calPed){ - Int_t ldc = 0; - // analyse //calPed->AnalyseHisto(); @@ -463,7 +461,6 @@ Bool_t AliTRDPreprocessor::ExtractPedestals() AliTRDCalROC *rocMean = calPed->GetCalRocMean(idet, kFALSE); if ( rocMean ) { calPedSum.SetCalRocMean(rocMean,idet); - ldc = (Int_t) (idet / 30); } AliTRDCalROC *rocRMS = calPed->GetCalRocRMS(idet, kFALSE); if ( rocRMS ) { @@ -479,16 +476,9 @@ Bool_t AliTRDPreprocessor::ExtractPedestals() } }// det loop - if((ldc==0) || (ldc==1) || (ldc==2)) ldc = 1; - if((ldc==3) || (ldc==4) || (ldc==5)) ldc = 2; - if((ldc==6) || (ldc==7) || (ldc==8)) ldc = 3; - if((ldc==9) || (ldc==10) || (ldc==11)) ldc = 4; - if((ldc==12) || (ldc==13) || (ldc==14)) ldc = 5; - if((ldc==15) || (ldc==16) || (ldc==17)) ldc = 6; - // store as reference data TString name("PadStatus"); - name += ldc; + name += index; if(!StoreReferenceData("DAQData",(const char *)name,(TObject *) calPed,&metaData)){ Log(Form("Error storing AliTRDCalibPadStatus object %d as reference data",(Int_t)index)); error = kTRUE;