]> git.uio.no Git - u/mrichter/AliRoot.git/blobdiff - EMCAL/AliEMCALv1.h
In the STepManager fluctuations due to light collection and attenuation has been...
[u/mrichter/AliRoot.git] / EMCAL / AliEMCALv1.h
index c3f145bf88e2fdec74d240ab3e2afe1c9795f98c..94facad2bd0e7fed0a2ca2f34de6f0bd44ae9946 100644 (file)
@@ -21,27 +21,37 @@ class TFile;
 #include "AliEMCALv0.h"
 
 class AliEMCALv1 : public AliEMCALv0 {
- public:
-    AliEMCALv1(void) ; 
-    AliEMCALv1(const char *name, const char *title="") ;
-    // cpy ctor: no implementation yet
-    // requested by the Coding Convention
-    AliEMCALv1(const AliEMCALv0 & emcal) {abort();}
-    virtual ~AliEMCALv1(void) ;
-    virtual void  AddHit( Int_t shunt, Int_t primary, Int_t track, Int_t iparent, Float_t ienergy,
-                         Int_t id, Float_t *hits, Float_t *p);
-    // Gives the version number 
-    virtual Int_t  IsVersion(void) const {return 1;}
-    virtual void StepManager(void) ;
-    virtual TString Version(void){return TString("v0");}
-    // assignement operator requested by coding convention but not needed  
-    AliEMCALv1 & operator = (const AliEMCALv0 & rvalue){abort();return *this;}
   
- protected:
-    ClassDef(AliEMCALv1,2)//Implementation of EMCAL manager class to produce hits in a Central Calorimeter 
+public:
 
- private:
-    Double_t fSamplingFraction ; // Sampling Fraction of Calorimeter E = f*Elos  
+  AliEMCALv1(void) ; 
+  AliEMCALv1(const char *name, const char *title="") ;
+  // cpy ctor: no implementation yet
+  // requested by the Coding Convention
+  AliEMCALv1(const AliEMCALv0 & emcal) {abort();}
+  virtual ~AliEMCALv1(void) ;
+  virtual void  AddHit( Int_t shunt, Int_t primary, Int_t track, Int_t iparent, Float_t ienergy,
+                       Int_t id, Float_t *hits, Float_t *p);
+  // Gives the version number 
+  virtual Int_t  IsVersion(void) const {return 1;}
+  virtual void StepManager(void) ;
+  virtual TString Version(void){return TString("v0");}
+  // assignement operator requested by coding convention but not needed  
+  AliEMCALv1 & operator = (const AliEMCALv0 & rvalue){abort();return *this;}
+    
+private:
+
+  Float_t fLightYieldMean ;         // Mean lightyield in a plastic layer per GeV (Poisson distribution)
+  Float_t fIntrinsicAPDEfficiency ; // Photo efficiency of the APD diode   
+  Float_t fLightYieldAttenuation ;  // Attenuation of the light through the light fiber
+  Float_t fRecalibrationFactor ;    // Recalibration factor
+  Float_t fAPDGain ;                // APD Gain
+  Float_t fLightFactor ;            //! a calculated factor
+  Float_t fAPDFactor ;              //! a calculated factor
+
+  ClassDef(AliEMCALv1,3)//Implementation of EMCAL manager class to produce hits in a Central Calorimeter 
 
 };
+
 #endif // AliEMCALV1_H