]> git.uio.no Git - u/mrichter/AliRoot.git/blobdiff - PHOS/AliPHOSGetter.h
New naming of online calibration directory
[u/mrichter/AliRoot.git] / PHOS / AliPHOSGetter.h
index 76d8ebd33a5eb8a89ec957b2a9b174685d56fc0d..d38934b519df34205d1df82e15ffe5b135030aac 100644 (file)
@@ -37,7 +37,6 @@ class TF1 ;
 #include "AliPHOSDigitizer.h"
 #include "AliPHOSSDigitizer.h"
 #include "AliPHOSCalibData.h"
-#include "AliPHOSAlignData.h"
 
 class AliPHOS ;  
 class AliPHOSGeometry ;
@@ -51,16 +50,11 @@ class AliRawReader ;
 class AliPHOSGetter : public TObject {
   
 public:  
-  AliPHOSGetter(){    // ctor: this is a singleton, the ctor should never be called but cint needs it as public
-    Fatal("ctor", "AliPHOSGetter is a singleton default ctor not callable") ;
-  } 
+  // ctor: this is a singleton, the ctor should never be called but cint needs it as public
+  AliPHOSGetter() ;
 
 public:
-  AliPHOSGetter(const AliPHOSGetter & obj) : TObject(obj) {
-    // cpy ctor requested by Coding Convention 
-    Fatal("cpy ctor", "not implemented") ;
-  } 
-  
+  AliPHOSGetter(const AliPHOSGetter & obj) ;
   AliPHOSGetter & operator = (const AliPHOSGetter & ) {
     // assignement operator requested by coding convention, but not needed
     Fatal("operator =", "not implemented") ;
@@ -93,7 +87,7 @@ public:
   
   //========== Methods to read something from file ==========
   virtual void   Event(Int_t event, const char * opt = "HSDRTP") ;    
-  void   Event(AliRawReader *rawReader, const char * opt = "W") ;    
+  void   Event(AliRawReader *rawReader, const char * opt = "W",Bool_t isOldRCUFormat = kFALSE) ;    
   virtual void   Track(Int_t itrack) ;
  
   
@@ -155,11 +149,7 @@ public:
   virtual AliPHOSClusterizer * Clusterizer() ;
   virtual TString               GetRecPointsFileName() const { return PhosLoader()->GetRecPointsFileName() ; } 
   virtual Int_t                 LoadRecPoints(Option_t* opt="") const { return PhosLoader()->LoadRecPoints(opt) ; }
-  virtual Int_t                 LoadClusterizer(Option_t* opt="") const {
-    return  PhosLoader()->LoadClusterizer(opt) ; }
   virtual Int_t                 WriteRecPoints(Option_t* opt="") const { return PhosLoader()->WriteRecPoints(opt) ; }
-  virtual Int_t                 WriteClusterizer(Option_t* opt="") const {
-    return  PhosLoader()->WriteClusterizer(opt) ; }
   
   //========== TrackSegments   TClonesArray * TrackSegments(const char * name = 0) { 
   virtual TClonesArray *           TrackSegments() const;
@@ -188,15 +178,9 @@ public:
     return  PhosLoader()->WritePID(opt) ; }
 
   //========== Raw ===========
-  virtual Int_t ReadRaw(AliRawReader *rawReader) ; 
+  virtual Int_t ReadRaw(AliRawReader *rawReader,Bool_t isOldRCUFormat) ; 
 
   void SetDebug(Int_t level) {fgDebug = level;} // Set debug level 
-  virtual void PostClusterizer(AliPHOSClusterizer * clu) 
-    const{PhosLoader()->PostClusterizer(clu) ; }
-  virtual void PostPID(AliPHOSPID * pid) 
-    const{PhosLoader()->PostPID(pid) ; }
-  virtual void PostTrackSegmentMaker(AliPHOSTrackSegmentMaker * tr) 
-    const{PhosLoader()->PostTrackSegmentMaker(tr) ; }
   virtual void PostSDigitizer (AliPHOSSDigitizer * sdigitizer) 
     const {PhosLoader()->PostSDigitizer(sdigitizer);}    
   virtual void PostDigitizer (AliPHOSDigitizer * digitizer)    
@@ -209,9 +193,8 @@ public:
   virtual AliESD * ESD() const { return fESD ; }
   
 protected :
-  AliPHOSGetter(Int_t /*i*/){    // special constructor for onflight 
-
-  } 
+  AliPHOSGetter(Int_t /*i*/) ;
+  
 protected:
   static AliPHOSGetter * fgObjGetter; // pointer to the unique instance of the singleton