SDD DA updated: baseline equalized to 20 for each hybrid. Added Carlos thresholds...
[u/mrichter/AliRoot.git] / ITS / AliITSPreprocessorSDD.cxx
index 4d859654533146b400b239a7fc7a576890a3d0c3..aa15a56c4aa101f1ba198405fffe91e0fe69f5c1 100644 (file)
@@ -13,7 +13,7 @@
  * provided "as is" without express or implied warranty.                  *
  **************************************************************************/
 
-/* $Id$ */
+/* $Id:$ */
 
 ///////////////////////////////////////////////////////////////////
 //                                                               //
@@ -84,6 +84,7 @@ Bool_t AliITSPreprocessorSDD::ProcessPulser(AliITSDDLModuleMapSDD* ddlmap){
   Char_t inpFileName[100];
   Float_t baseline,rawnoise,cmn,corn,gain;
   Int_t isgoodan,i,im,is,isgoodmod,basmin,basoff;
+  Int_t th,tl;
   Int_t numOfBadChannels[kNumberOfSDD];
   
   TList* sourceList = GetFileSources(kDAQ, "SDD_Calib");
@@ -123,6 +124,8 @@ Bool_t AliITSPreprocessorSDD::ProcessPulser(AliITSDDLModuleMapSDD* ddlmap){
          continue;
        }
        fscanf(basFil,"%d %d %d\n",&im,&is,&isgoodmod);
+       fscanf(basFil,"%d\n",&th);
+       fscanf(basFil,"%d\n",&tl);
        if(!isgoodmod) cal->SetBad();
        for(Int_t ian=0;ian<(kNumberOfChannels/2);ian++){
          fscanf(basFil,"%d %d %f %d %d %f %f %f %f\n",&i,&isgoodan,&baseline,&basmin,&basoff,&rawnoise,&cmn,&corn,&gain);