]> git.uio.no Git - u/mrichter/AliRoot.git/blobdiff - PHOS/AliPHOSGetter.h
Number of maxima in parent cluster added
[u/mrichter/AliRoot.git] / PHOS / AliPHOSGetter.h
index a62c49151883c2f107acbe60d0cfce678b98a04e..0a7f911cd65d0a73f5b730f072ba4b5e04683c74 100644 (file)
@@ -44,25 +44,26 @@ class AliPHOSSDigitizer ;
 class AliPHOSClusterizer ;
 class AliPHOSTrackSegmentMaker ;
 class AliPHOSPID ;
-class AliPHOSCalibrationDB ;
+//class AliPHOSCalibrationDB ;
+class AliPHOSConTableDB ;
+class AliPHOSBeamTestEvent ;
 
 class AliPHOSGetter : public TObject {
   
  public:
   
   AliPHOSGetter(){    // ctor: this is a singleton, the ctor should never be called but cint needs it as public
-    Error("ctor", "AliPHOSGetter is a singleton default ctor not callable") ;
-    abort() ; 
+    Fatal("ctor", "AliPHOSGetter is a singleton default ctor not callable") ;
   } 
   AliPHOSGetter(const AliPHOSGetter & obj) {
     // cpy ctor requested by Coding Convention 
     // but not yet needed
-    abort() ; 
+    Fatal("cpy ctor", "not implemented") ;
   } 
   
   AliPHOSGetter & operator = (const AliPHOSGetter & ) {
     // assignement operator requested by coding convention, but not needed
-    abort() ;
+    Fatal("operator =", "not implemented") ;
     return *this ; 
   }
   virtual ~AliPHOSGetter() ; 
@@ -77,6 +78,8 @@ class AliPHOSGetter : public TObject {
   const Int_t  MaxEvent() const    { return static_cast<Int_t>(gAlice->TreeE()->GetEntries()) ; }
   const Int_t  EventNumber() const { return static_cast<Int_t>(gAlice->GetEvNumber()) ; }
   const Bool_t BranchExists(const TString tree) const ; 
+  const UShort_t EventPattern(void) ;
+  const Float_t BeamEnergy(void) ;
   
   //========== PHOSGeometry and PHOS ============= 
   const AliPHOS *         PHOS() ;  
@@ -94,7 +97,9 @@ class AliPHOSGetter : public TObject {
   const TTask * QATasks(const char * name = 0) const { return ReturnT("QATasks", name) ; }
   
   //-----------------now getter's data--------------------------------------
-  
+//  AliPHOSCalibrationDB * CalibrationDB(){return  fcdb; }
+//  void ReadCalibrationDB(const char * name, const char * filename) ;
+
   //=========== Primaries ============
   TTree *           TreeK(TString filename="") ; 
   TClonesArray *    Primaries(void) const { return dynamic_cast<TClonesArray*>(ReturnO("Primaries")) ; }
@@ -123,8 +128,6 @@ class AliPHOSGetter : public TObject {
   //const AliPHOSDigit *  Digit(Int_t index) { return static_cast<const AliPHOSDigit *>(Digits()->At(index)) ;} !!! why no such method ?
   const TTask *           Digitizer(const char * name = 0) const { 
     return ReturnT("Digitizer", name) ;   }
-  AliPHOSCalibrationDB * CalibrationDB(){return  fcdb; }
-  void ReadCalibrationDB(const char * name, const char * filename) ;
   
   //========== RecPoints =============
   TObjArray *                EmcRecPoints(const char * name = 0) {
@@ -220,6 +223,7 @@ private:
 
   static TFile * fFile;           //! 
   Bool_t         fToSplit ;              //! Do we work in the split mode
+  AliPHOSBeamTestEvent * fBTE ;           //! Header if BeamTest Event
   TString        fHeaderFile ;           //! File in which gAlice lives
   TString        fBranchTitle ;          //!
   TString        fTrackSegmentsTitle ;   //! 
@@ -246,7 +250,7 @@ private:
   TFolder *      fQAFolder ;          //!Folder that contains the QA objects  
   TFolder *      fTasksFolder ;       //!Folder that contains the Tasks (sdigitizer, digitizer, reconstructioner)
 
-  AliPHOSCalibrationDB * fcdb ;       //!
+//  AliPHOSCalibrationDB * fcdb ;       //!
    
   static AliPHOSGetter * fgObjGetter; // pointer to the unique instance of the singleton