]> git.uio.no Git - u/mrichter/AliRoot.git/blobdiff - PWGGA/CaloTrackCorrelations/AliAnaPhoton.cxx
put different cluster parameters (time, n cells, n SM) in the AOD particle, recover...
[u/mrichter/AliRoot.git] / PWGGA / CaloTrackCorrelations / AliAnaPhoton.cxx
index 6068fb46c6afad2f973f034155be15e389c672e8..41def4aa60950a5d5db463349feea6dd8d7e95a9 100755 (executable)
@@ -2371,7 +2371,11 @@ void  AliAnaPhoton::MakeAnalysisFillAOD()
     
     aodph.SetM02(calo->GetM02());
     aodph.SetNLM(nMaxima);
-    
+    aodph.SetTime(calo->GetTOF()*1e9);
+    aodph.SetNCells(calo->GetNCells());
+    Int_t nSM = GetModuleNumber(calo);
+    aodph.SetSModNumber(nSM);
+
     //-------------------------------------
     // PID selection or bit setting
     //-------------------------------------
@@ -2409,7 +2413,6 @@ void  AliAnaPhoton::MakeAnalysisFillAOD()
     fhClusterCutsE [9]->Fill(calo->E());
     fhClusterCutsPt[9]->Fill(fMomentum.Pt());
     
-    Int_t   nSM  = GetModuleNumber(calo);
     if(nSM < GetCaloUtils()->GetNumberOfSuperModulesUsed() && nSM >=0)
     {
       fhEPhotonSM ->Fill(fMomentum.E (),nSM);