/* 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.)
+ *
*/
#include "AliDetector.h"
#include "AliLog.h"
#include "AliPHOSGeometry.h"
+class AliPHOSAlignData;
class AliPHOS : public AliDetector {
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
Double_t GetRawFormatTimeMax() const { return fgTimeMax ; }
Double_t GetRawFormatTimePeak() const { return fgTimePeak ; }
Double_t GetRawFormatTimeTrigger() const { return fgTimeTrigger ; }
- static Double_t RawResponseFunction(Double_t *x, Double_t *par) ;
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();
protected:
- 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