1) Cut on min. amplitude (>10 ADC) in High and Low gain introduced;
authorpolicheh <policheh@f7af4fe6-9843-0410-8265-dc069ae4e863>
Mon, 9 Nov 2009 11:14:59 +0000 (11:14 +0000)
committerpolicheh <policheh@f7af4fe6-9843-0410-8265-dc069ae4e863>
Mon, 9 Nov 2009 11:14:59 +0000 (11:14 +0000)
2) Time range reduced.

PHOS/AliPHOSRcuDA1.cxx

index a3e911e..18b9139 100644 (file)
@@ -142,7 +142,7 @@ void AliPHOSRcuDA1::FillHistograms(Float_t e[64][56][2], Float_t t[64][56][2])
     for (Int_t iZ=0; iZ<56; iZ++) {
       
       // HG/LG
-      if(e[iX][iZ][0]>1 && e[iX][iZ][1]>1 ) {
+      if(e[iX][iZ][0]>10. && e[iX][iZ][1]>10. && e[iX][iZ][1]<900.) {
        
        if(fHgLgRatio[iX][iZ]) {
          //printf("iX=%d iZ=%d,e[iX][iZ][1]=%.3f,e[iX][iZ][0]=%.3f, t1=%.3f,t0=%.3f\n",
@@ -172,7 +172,7 @@ void AliPHOSRcuDA1::FillHistograms(Float_t e[64][56][2], Float_t t[64][56][2])
        else {
          sprintf(hname,"%d_%d_%d_%d",fMod,iX,iZ,iGain);
          sprintf(htitl,"Energy vs TOF for crystal %d_%d_%d and gain %d",fMod,iX,iZ,iGain);
-         fTimeEnergy[iX][iZ][iGain] = new TH2F(hname,htitl,100,0.,1024.,100,0.,100);
+         fTimeEnergy[iX][iZ][iGain] = new TH2F(hname,htitl,100,0.,1024.,50,0.,50.);
          fTimeEnergy[iX][iZ][iGain]->Fill(e[iX][iZ][iGain],t[iX][iZ][iGain]);
          fHistoArray.Add(fTimeEnergy[iX][iZ][iGain]);
        }