]> git.uio.no Git - u/mrichter/AliRoot.git/blobdiff - PHOS/AliPHOSReconstructor.cxx
Charged jets (pPb): Improved trackcut analysis
[u/mrichter/AliRoot.git] / PHOS / AliPHOSReconstructor.cxx
index 2ec509d2531ae03aacffa040e75441137a69de85..3dc6b251233cc0b969eeb6ec194d214076d4ce49 100644 (file)
@@ -273,13 +273,10 @@ void AliPHOSReconstructor::FillESD(TTree* digitsTree, TTree* clustersTree,
     if(dig->GetId() <= knEMC && 
        Calibrate(dig->GetEnergy(),dig->GetId()) > GetRecoParam()->GetEMCMinE() ){
       Int_t primary = dig->GetPrimary(1) ;
-      //For real data always primary==-1, we use this field to mark cells with overflow
-      //in HG channel. This is not needed in MC simulations,
-      if(primary==-1 && dig->IsLG())
-       primary=-2 ;
       phsCells.SetCell(idignew,dig->GetId(), Calibrate(dig->GetEnergy(),dig->GetId()),
                                              CalibrateT(dig->GetTime(),dig->GetId(),dig->IsLG()),
-                                             primary) ;
+                                             primary,0.,!dig->IsLG()) ;
+                                            
       idignew++;
     }
   }