-
- virtual void StepManager(void) ; // does the tracking through PHOS and a preliminary digitalization
-
-
-private:
- //
- // Number of electrons created in the PIN due to light collected in the PbWo4 crystal is calculated using
- // following formula
- // NumberOfElectrons = EnergyLost * LightYield * PINEfficiency *
- // exp (-LightYieldAttenuation * DistanceToPINdiodeFromTheHit) *
- // RecalibrationFactor ;
- // LightYield is obtained as a Poissonian distribution with a mean at 700000 photons per GeV fromValery Antonenko
- // PINEfficiency is 0.1875 from Odd Harald Odland work
- // k_0 is 0.0045 from Valery Antonenko
- //
- Float_t fLightYieldMean ; // Mean of the Poisson distribution which is the mean lightyield in the PbOW4 xtal per GeV
- Float_t fIntrinsicPINEfficiency ;
- Float_t fLightYieldAttenuation ;
- Float_t fRecalibrationFactor ;
-
- ClassDef(AliPHOSv1,1) // PHOS v1 main class , version subatech with light transportation, MIPS in PIN and electronic noise
+
+ using AliPHOSv0::AddHit;
+ virtual void AddHit( Int_t shunt, Int_t primary, Int_t id, Float_t *hits) ;
+ virtual void FinishEvent() ;
+ virtual void FinishPrimary() ;
+ virtual Int_t IsVersion(void) const {
+ // Gives the version number
+ return 1 ;
+ }
+
+ virtual void StepManager(void) ;
+ virtual const TString Version(void)const { return TString("v1") ; }
+
+ void CPVDigitize (TLorentzVector p, Float_t *xy, TClonesArray *digits) ;
+ Float_t CPVPadResponseFunction(Float_t qhit, Float_t zg, Float_t xg) ;
+ Double_t CPVCumulPadResponse(Double_t x, Double_t y) ;
+
+ private:
+ AliPHOSv1(AliPHOSv1 & phos);
+ AliPHOSv1 & operator = (const AliPHOSv1 & /*rvalue*/);
+ TClonesArray fCPVDigits; //! Array of CPV digits per current CPV hit
+
+ ClassDef(AliPHOSv1,5) // Implementation of PHOS manager class for layout EMC+PPSD