]> git.uio.no Git - u/mrichter/AliRoot.git/blobdiff - PHOS/AliPHOSIhepAnalyze.h
Redundant Print removed
[u/mrichter/AliRoot.git] / PHOS / AliPHOSIhepAnalyze.h
index ae03e9ea60d7e89b3379d7b3c44ece00a781c4fc..25579c22c99d27fe800e4ea7a8f45273de734430 100644 (file)
@@ -17,6 +17,7 @@
 // --- Standard library ---
 
 // --- AliRoot header files ---
+class AliRunLoader;
 
 class AliPHOSIhepAnalyze : public TObject {
 
@@ -24,15 +25,21 @@ class AliPHOSIhepAnalyze : public TObject {
 
   AliPHOSIhepAnalyze() ;              // ctor
   AliPHOSIhepAnalyze(Text_t * name) ; // ctor
-  virtual ~AliPHOSIhepAnalyze() {
-    // dtor
-  } 
-   
+  AliPHOSIhepAnalyze(const AliPHOSIhepAnalyze & obj) : TObject(obj), fRunLoader(0), fFileName()
+  {
+    // cpy ctor: no implementation yet
+    // requested by the Coding Convention
+    Fatal("cpy ctor", "not implemented") ;
+  }
+  virtual ~AliPHOSIhepAnalyze() {}  ; // dtor
+  AliPHOSIhepAnalyze & operator = (const AliPHOSIhepAnalyze & /*rvalue*/)  {
+    Fatal("operator =", "not implemented") ; return *this ; }
+
   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); 
+  virtual void HitsCPV(Int_t event); 
   const TString GetFileName() const { return fFileName; }
 
  private:
@@ -40,8 +47,9 @@ class AliPHOSIhepAnalyze : public TObject {
   Bool_t IsCharged(Int_t pdgCode);
 
  private:
-
-  TString fFileName; //Name of file analyzed
+  AliRunLoader *fRunLoader; // run loader
+  TString fFileName;        // filename with headers (e.g. galice.root)
 
 ClassDef(AliPHOSIhepAnalyze,1)  // PHOSv1 event analyzis algorithm