bug fix in reconstruction of simulated data
authoralla <Alla.Maevskaya@cern.ch>
Tue, 11 Nov 2014 13:14:27 +0000 (17:14 +0400)
committeralla <Alla.Maevskaya@cern.ch>
Tue, 11 Nov 2014 13:14:27 +0000 (17:14 +0400)
T0/AliT0Reconstructor.cxx

index 182a9d7..9bbc79f 100644 (file)
@@ -238,7 +238,7 @@ void AliT0Reconstructor::Reconstruct(TTree*digitsTree, TTree*clustersTree) const
   }
   
   for (Int_t ipmt=0; ipmt<12; ipmt++){
-    if(time[ipmt] !=0 &&  time[ipmt] > 0 
+    if(time[ipmt] !=0  
        &&  adcmip[ipmt]>lowAmpThreshold && adcmip[ipmt]<highAmpThreshold )
       {
        if(time[ipmt]<besttimeC) besttimeC=time[ipmt]; //timeC
@@ -248,7 +248,7 @@ void AliT0Reconstructor::Reconstruct(TTree*digitsTree, TTree*clustersTree) const
   }
   for ( Int_t ipmt=12; ipmt<24; ipmt++)
     {
-      if(time[ipmt] != 0 &&  time[ipmt] > 0 
+      if(time[ipmt] != 0 
         && adcmip[ipmt]>lowAmpThreshold && adcmip[ipmt]<highAmpThreshold)
        {
          if(time[ipmt]<besttimeA) besttimeA=time[ipmt]; 
@@ -398,7 +398,7 @@ void AliT0Reconstructor::Reconstruct(AliRawReader* rawReader, TTree*recTree) con
        AliDebug(10,Form(" CDH BC ID %i, TRM BC ID %i \n", fBCID, trmbunch ));
        if( (trmbunch-fBCID)!=37  ) {
          AliDebug(0,Form("wrong :::: CDH BC ID %i, TRM BC ID %i \n", fBCID, trmbunch ));
-         //    type = -1;
+         type = -1;
        }
        for (Int_t in=0; in<12; in++)  
          {