// Implementation version v1 of EMCAL Manager class
//*--
//*-- Author: Sahal Yacoob (LBL / UCT)
-//*-- and : Jennifer Klay
+//*-- and : Jennifer Klay (LBL)
//#include <assert.h>
// --- ROOT system ---
#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 id, Float_t *hits, TLorentzVector *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,1)//Implementation of EMCAL manager class for layout EMC+PPSD
+public:
+
+ AliEMCALv1(void) ;
+ AliEMCALv1(const char *name, const char *title="") ;
+ // cpy ctor: no implementation yet
+ // requested by the Coding Convention
+ AliEMCALv1(const AliEMCALv0 & emcal) {
+ Fatal("cpy ctor", "not implemented") ; }
+ 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 const TString Version(void)const {return TString("v0");}
+ // assignement operator requested by coding convention but not needed
+ AliEMCALv1 & operator = (const AliEMCALv0 & rvalue){
+ Fatal("operator =", "not implemented") ;
+ 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,4)//Implementation of EMCAL manager class to produce hits in a Central Calorimeter
};
+
#endif // AliEMCALV1_H