7587f5a5 |
1 | #ifndef ALIPHOSV1_H |
2 | #define ALIPHOSV1_H |
3 | /* Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. * |
4 | * See cxx source for full Copyright notice */ |
5 | |
6 | //////////////////////////////////////////////// |
7 | // Manager class for PHOS // |
8 | // Version SUBATECH |
9 | // Author : Odd Harald Oddland & |
10 | // Gines Martinez Feb-2000 |
11 | // The main goal of this version of AliPHOS is to calculted the |
12 | // induced charged in the PIN diode, taking into account light |
13 | // tracking in the PbWO4 crystal, induced signal in the |
14 | // PIN due to MIPS particle and electronic noise. |
15 | // In this respect, this class derived from AliPHOSv0 and |
16 | // only the StepManager function has been "surcharged" |
17 | //////////////////////////////////////////////////////////////////// |
18 | |
19 | // --- ROOT system --- |
20 | |
21 | |
22 | // --- AliRoot header files --- |
23 | #include "AliPHOSv0.h" |
24 | |
25 | |
26 | class AliPHOSv1 : public AliPHOSv0 { |
27 | |
28 | public: |
29 | |
30 | AliPHOSv1(void) ; |
31 | AliPHOSv1(const char *name, const char *title="") ; |
32 | AliPHOSv1(AliPHOSReconstructioner * Reconstructioner, const char *name, const char *title="") ; |
33 | virtual ~AliPHOSv1(void) ; |
34 | |
35 | virtual void StepManager(void) ; // does the tracking through PHOS and a preliminary digitalization |
36 | |
37 | |
38 | private: |
39 | // |
40 | // Number of electrons created in the PIN due to light collected in the PbWo4 crystal is calculated using |
41 | // following formula |
42 | // NumberOfElectrons = EnergyLost * LightYield * PINEfficiency * |
43 | // exp (-LightYieldAttenuation * DistanceToPINdiodeFromTheHit) * |
44 | // RecalibrationFactor ; |
45 | // LightYield is obtained as a Poissonian distribution with a mean at 700000 photons per GeV fromValery Antonenko |
46 | // PINEfficiency is 0.1875 from Odd Harald Odland work |
47 | // k_0 is 0.0045 from Valery Antonenko |
48 | // |
49 | Float_t fLightYieldMean ; // Mean of the Poisson distribution which is the mean lightyield in the PbOW4 xtal per GeV |
50 | Float_t fIntrinsicPINEfficiency ; |
51 | Float_t fLightYieldAttenuation ; |
52 | Float_t fRecalibrationFactor ; |
a333c916 |
53 | Float_t fElectronsPerGeV ; //Number of electrons per GeV created in the PIN by a ionizing particle |
7587f5a5 |
54 | |
55 | ClassDef(AliPHOSv1,1) // PHOS v1 main class , version subatech with light transportation, MIPS in PIN and electronic noise |
56 | |
57 | }; |
58 | |
59 | #endif // AliPHOSV1_H |