]> git.uio.no Git - u/mrichter/AliRoot.git/blobdiff - PHOS/AliPHOSv1.h
calculate angle of primary decay
[u/mrichter/AliRoot.git] / PHOS / AliPHOSv1.h
index 3d5c6af030d4625d3c632ebc7c10a002fe0226a0..e0ffa0e1ce54eed5d1a974c443d97287e4536b17 100644 (file)
 //_________________________________________________________________________
 // Implementation version v1 of PHOS Manager class 
 // Layout EMC + CPV  has name IHEP
-//*--                  
-//*-- Author: Yves Schutz (SUBATECH)
+//--                  
+//-- Author: Yves Schutz (SUBATECH)
 
 // --- ROOT system ---
 class TClonesArray ;
-class TLorentzVector ;
 class TFile;
+#include <TLorentzVector.h>
 
 // --- AliRoot header files ---
 #include "AliPHOSv0.h"
@@ -54,42 +54,12 @@ public:
   Float_t    CPVPadResponseFunction(Float_t qhit, Float_t zg, Float_t xg) ;
   Double_t   CPVCumulPadResponse(Double_t x, Double_t y) ;
 
-  //Variables conserning light yeild and APD efficiency
-  Float_t GetLightYieldMean()         const { return  fLightYieldMean ;}
-  Float_t GetLightYieldAttenuation()  const { return  fLightYieldAttenuation ;}
-  Float_t GetRecalibrationFactor()    const { return  fRecalibrationFactor ;}
-  Float_t GetAPDGain()                const { return  fAPDGain ;}
-  Float_t GetIntrinsicPINEfficiency() const { return  fIntrinsicPINEfficiency ;}
-  Float_t GetElectronsPerGeV()        const { return  fElectronsPerGeV ;}
-
-  void    SetLightYieldMean(Float_t LightYieldMean) 
-                                   {fLightYieldMean = LightYieldMean;}
-  void    SetLightYieldAttenuation(Float_t LightYieldAttenuation)
-                                   {fLightYieldAttenuation = LightYieldAttenuation;}
-  void    SetIntrinsicPINEfficiency(Float_t IntrinsicPINEfficiency) 
-                                   {fIntrinsicPINEfficiency = IntrinsicPINEfficiency;}
-  void    SetRecalibrationFactor(Float_t RecalibrationFactor) 
-                                   {fRecalibrationFactor = RecalibrationFactor;}
-  void    SetElectronsPerGeV(Float_t ElectronsPerGeV) 
-                                   {fElectronsPerGeV = ElectronsPerGeV;}
-  void    SetAPDGain(Float_t APDGain)   {fAPDGain = APDGain;}
-
-protected:
-
-  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
-  Float_t fAPDGain ;                // APD Gain
-  Float_t fLightFactor ;            //! a calculated factor
-  Float_t fAPDFactor ;              //! a calculated factor
-
  private:
   AliPHOSv1(AliPHOSv1 & phos);
   AliPHOSv1 & operator = (const AliPHOSv1 & /*rvalue*/);
+  TClonesArray fCPVDigits; //! Array of CPV digits per current CPV hit
 
-  ClassDef(AliPHOSv1,2)  // Implementation of PHOS manager class for layout EMC+PPSD
+  ClassDef(AliPHOSv1,5)  // Implementation of PHOS manager class for layout EMC+PPSD
 
 };