]> git.uio.no Git - u/mrichter/AliRoot.git/blobdiff - PHOS/AliPHOSReconstructioner.cxx
more debug output and bugfix for sub event number
[u/mrichter/AliRoot.git] / PHOS / AliPHOSReconstructioner.cxx
index 86855cd6084a2f7cb43144dcfbcb40b94095d68a..be93fe0d18f2c849c90c66d22b3bbbccc564eff7 100644 (file)
 
 // --- ROOT system ---
 
-#include "TClonesArray.h"
-#include "TROOT.h"
-#include "TTree.h"
-#include "TFile.h"
-
 // --- Standard library ---
+#include "Riostream.h"
 
 // --- AliRoot header files ---
-#include "AliRun.h"
 #include "AliRunLoader.h"
 #include "AliPHOSReconstructioner.h"
 #include "AliPHOSClusterizerv1.h"
@@ -75,8 +70,7 @@
 #include "AliPHOSSDigitizer.h"
 #include "AliPHOSTrackSegmentMakerv1.h"
 #include "AliPHOSPIDv1.h"
-#include "AliPHOSFastRecParticle.h"
-#include "AliPHOSCpvRecPoint.h"
+
 #include "AliPHOSLoader.h"
 
 ClassImp(AliPHOSReconstructioner)
@@ -166,10 +160,12 @@ TTask("AliPHOSReconstructioner",evFoldName)
   fIsInitialized = kTRUE ;
 } 
 //____________________________________________________________________________
-void AliPHOSReconstructioner::Exec(Option_t *option)
+void AliPHOSReconstructioner::Exec(Option_t opt)
 {
-  //chesk, if the names of branches, which should be made conicide with already
+  //check, if the names of branches, which should be made conicide with already
   //existing
+  if (!opt) 
+    return ; 
   if(!fIsInitialized)
     Init() ;
 }
@@ -212,7 +208,7 @@ AliPHOSReconstructioner::~AliPHOSReconstructioner()
   // Delete data members if any
 } 
 
-void AliPHOSReconstructioner::Print(Option_t * option)const {
+void AliPHOSReconstructioner::Print()const {
   // Print reconstructioner data  
 
   TString message ;