]> git.uio.no Git - u/mrichter/AliRoot.git/blob - PHOS/AliPHOSv3.h
added initialization in the default ctor
[u/mrichter/AliRoot.git] / PHOS / AliPHOSv3.h
1 #ifndef ALIPHOSV3_H
2 #define ALIPHOSV3_H
3 /* Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. *
4  * See cxx source for full Copyright notice                               */
5
6 //_________________________________________________________________________
7 // Implementation version v1 of PHOS Manager class 
8 // Layout EMC + PPSD has name GPS2  
9 // The main goal of this version of AliPHOS is to calculte the 
10 //  induced charged in the PIN diode, taking into account light
11 //  tracking in the PbWO4 crystal, induced signal in the 
12 //  PIN due to MIPS particle and electronic noise.
13 // This is done in the StepManager 
14 //                  
15 //*-- Author:  Odd Harald Oddland & Gines Martinez (SUBATECH)
16
17 // --- ROOT system ---
18
19
20 // --- AliRoot header files ---
21 #include "AliPHOSv1.h"
22
23
24 class AliPHOSv3 : public AliPHOSv1 {
25
26 public:
27
28   AliPHOSv3(void) ; 
29   AliPHOSv3(const char *name, const char *title="") ;
30   //  AliPHOSv3(AliPHOSReconstructioner * Reconstructioner, const char *name, const char *title="") ;
31   virtual ~AliPHOSv3(void) {
32     // dtor
33   } 
34                             
35   virtual Int_t   IsVersion(void) const { 
36     // Gives the version number 
37     return 3 ; 
38   }
39   virtual TString Version(void){ 
40     // returns the version number 
41     return TString("v3") ; 
42   }   
43   virtual void   StepManager(void) ;    
44   
45 private:
46   
47   Float_t fLightYieldMean ;         // Mean lightyield in the PbOW4 xtal per GeV (Poisson distribution)
48   Float_t fIntrinsicPINEfficiency ; // Photo efficiency of the PIN diode   
49   Float_t fLightYieldAttenuation ;  // Attenuation of the light through the crystal
50   Float_t fRecalibrationFactor ;    // Recalibration factor
51   Float_t fElectronsPerGeV ;        // Number of electrons per GeV created in the PIN by a ionizing particle
52
53   ClassDef(AliPHOSv3,1)  // Implementation of PHOS manager class for layout EMC+PPSD with light transport, MIPS in PIN and electronic noise
54
55 };
56
57 #endif // AliPHOSV3_H