]> git.uio.no Git - u/mrichter/AliRoot.git/blobdiff - PHOS/AliPHOS.h
CDB is passed via environment variable
[u/mrichter/AliRoot.git] / PHOS / AliPHOS.h
index 4cdfa9b58a24a0fbd1be16197eb86d7ab97289fd..c4c22d7edc813f11a32310780312c2772e0c85c0 100644 (file)
@@ -7,6 +7,15 @@
 /* History of cvs commits:
  *
  * $Log$
+ * Revision 1.64  2005/11/03 13:09:19  hristov
+ * Removing meaningless const declarations (linuxicc)
+ *
+ * Revision 1.63  2005/07/26 13:32:39  kharlov
+ * Restoring raw data fit from version of 29-Aug-2004
+ *
+ * Revision 1.62  2005/07/06 10:10:32  hristov
+ * Moving the functions used to initialize TF1 and TF2 to the pivate part of the class
+ *
  * Revision 1.61  2005/05/28 12:10:07  schutz
  * Copy constructor is corrected (by T.P.)
  *
@@ -30,6 +39,7 @@ class TRandom ;
 #include "AliDetector.h" 
 #include "AliLog.h"
 #include "AliPHOSGeometry.h" 
+class AliPHOSAlignData;
 
 class AliPHOS : public AliDetector {
 
@@ -56,6 +66,8 @@ public:
   virtual void  FinishRun() {;}
   virtual AliPHOSGeometry * GetGeometry() const 
   {return AliPHOSGeometry::GetInstance(GetTitle(),"") ;  }
+  virtual AliPHOSGeometry * GetGeometry(AliPHOSAlignData *alignda) const 
+  {return AliPHOSGeometry::GetInstance(GetTitle(),"",alignda) ;  }
   virtual void    Hits2SDigits();
   virtual Int_t   IsVersion(void) const = 0 ;  
   // Raw Read Out
@@ -72,6 +84,8 @@ public:
   Double_t GetRawFormatTimePeak() const { return fgTimePeak ; }    
   Double_t GetRawFormatTimeTrigger() const { return fgTimeTrigger ; }   
   static Double_t RawResponseFunctionMax(Double_t charge, Double_t gain) ;
+  static Double_t RawResponseFunction(Double_t *x, Double_t *par) ; 
+  Bool_t   RawSampledResponse(Double_t dtime, Double_t damp, Int_t * adcH, Int_t * adcL) const ; 
   //
   virtual AliLoader* MakeLoader(const char* topfoldername);
   virtual void    SetTreeAddress();   
@@ -82,8 +96,6 @@ public:
 
 protected:
 
-  static Double_t RawResponseFunction(Double_t *x, Double_t *par) ; 
-  Bool_t   RawSampledResponse(const Double_t dtime, const Double_t damp, Int_t * adcH, Int_t * adcL) const ; 
   
   
   static Double_t fgCapa ;              // capacitor of the preamplifier for the raw RO signal