-#ifndef PHOSv3_H
-#define PHOSv3_H
-////////////////////////////////////////////////////////
-// Manager and hits classes for set:PHOS version 1 //
-////////////////////////////////////////////////////////
-
-// --- galice header files ---
-#include "AliPHOS.h"
+#ifndef ALIPHOSV3_H
+#define ALIPHOSV3_H
+/* Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. *
+ * See cxx source for full Copyright notice */
+
+//_________________________________________________________________________
+// Implementation version v1 of PHOS Manager class
+// Layout EMC + PPSD has name GPS2
+// The main goal of this version of AliPHOS is to calculte the
+// induced charged in the PIN diode, taking into account light
+// tracking in the PbWO4 crystal, induced signal in the
+// PIN due to MIPS particle and electronic noise.
+// This is done in the StepManager
+//
+//*-- Author: Odd Harald Oddland & Gines Martinez (SUBATECH)
+
+// --- ROOT system ---
+
+
+// --- AliRoot header files ---
+#include "AliPHOSv1.h"
+
+
+class AliPHOSv3 : public AliPHOSv1 {
+
+public:
+
+ AliPHOSv3(void) : AliPHOSv1() {
+ // ctor
+ }
+ AliPHOSv3(const char *name, const char *title="") ;
+ AliPHOSv3(AliPHOSReconstructioner * Reconstructioner, const char *name, const char *title="") ;
+ virtual ~AliPHOSv3(void) {
+ // dtor
+ }
+
+ virtual void StepManager(void) ; // does the tracking through PHOS and a preliminary digitalization
-class AliPHOSv3 : public AliPHOS {
+
+private:
+
+ Float_t fLightYieldMean ; // Mean lightyield in the PbOW4 xtal per GeV (Poisson distribution)
+ Float_t fIntrinsicPINEfficiency ; // Photo efficiency of the PIN diode
+ Float_t fLightYieldAttenuation ; // Attenuation of the light through the crystal
+ Float_t fRecalibrationFactor ; // Recalibration factor
+ Float_t fElectronsPerGeV ; // Number of electrons per GeV created in the PIN by a ionizing particle
- public:
- AliPHOSv3();
- AliPHOSv3(const char *name, const char *title);
- virtual ~AliPHOSv3(){}
- virtual void CreateGeometry();
- virtual Int_t IsVersion() const {return 3;}
- virtual void StepManager();
+ ClassDef(AliPHOSv3,1) // Implementation of PHOS manager class for layout EMC+PPSD with light transport, MIPS in PIN and electronic noise
- ClassDef(AliPHOSv3,1) //Hits manager for set:PHOS version 3
};
-
-#endif
+#endif // AliPHOSV3_H