]> git.uio.no Git - u/mrichter/AliRoot.git/blobdiff - PHOS/AliPHOSIhepAnalyze.h
Transition to NewIO
[u/mrichter/AliRoot.git] / PHOS / AliPHOSIhepAnalyze.h
index ae03e9ea60d7e89b3379d7b3c44ece00a781c4fc..23330615815906a51e43eb0e502f8c084b19cc52 100644 (file)
@@ -17,6 +17,7 @@
 // --- Standard library ---
 
 // --- AliRoot header files ---
+class AliRunLoader;
 
 class AliPHOSIhepAnalyze : public TObject {
 
@@ -24,24 +25,22 @@ class AliPHOSIhepAnalyze : public TObject {
 
   AliPHOSIhepAnalyze() ;              // ctor
   AliPHOSIhepAnalyze(Text_t * name) ; // ctor
-  virtual ~AliPHOSIhepAnalyze() {
-    // dtor
-  } 
-   
+
   void AnalyzeCPV1(Int_t Nevents); // resolutions, mult and cluster lengths for CPV
   void AnalyzeEMC1(Int_t Nevents); // resolutions, mult and cluster lengths for EMC
   void AnalyzeCPV2(Int_t Nevents); // delta(gen)/delta(rec) between hits 
   void CpvSingle(Int_t Nevents); // signle particle analysis
   virtual void HitsCPV(TClonesArray& hits, Int_t event); 
-  const TString GetFileName() const { return fFileName; }
+  TString GetFileName() { return fFileName; }
 
  private:
 
-  Bool_t IsCharged(Int_t pdgCode);
+  Bool_t IsCharged(Int_t pdg_code);
 
  private:
-
-  TString fFileName; //Name of file analyzed
+  AliRunLoader *fRunLoader;
+  TString fFileName;
 
 ClassDef(AliPHOSIhepAnalyze,1)  // PHOSv1 event analyzis algorithm