3 /* Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. *
4 * See cxx source for full Copyright notice */
6 ////////////////////////////////////////////////
7 // Manager and hits classes for set:ZDC //
8 ////////////////////////////////////////////////
12 //____________________________________________________________________________
13 class AliZDCv2 : public AliZDC {
17 AliZDCv2(const char *name, const char *title);
18 virtual ~AliZDCv2() {}
19 virtual void CreateGeometry();
20 virtual void CreateBeamLine();
21 virtual void CreateZDC();
22 virtual void CreateMaterials();
23 Int_t Digitize(Int_t Det, Int_t Quad, Int_t Light);
24 virtual void SDigits2Digits();
25 virtual void Hits2Digits(Int_t ntracks = 0);
26 virtual void MakeBranch(Option_t* opt, char *file=0);
27 virtual Int_t IsVersion() const {return 1;}
28 virtual void DrawModule();
30 virtual void InitTables();
31 virtual void StepManager();
33 // // Digitization parameters setters and getters
35 // void SetPMGain(Int_t Det, Int_t PMDet, Int_t PMGain)
36 // {fPMGain[Det][PMDet] = PMGain;}
37 // Float_t GetPMGain(Int_t Det, Int_t PMDet)
38 // {return fPMGain[Det][PMDet];}
39 // // Conversion factor from charge to ADC channels
40 // // F = 1.6E-19 / Resolution [Coulomb/ch]
41 // void SetADCRes(Int_t ADCRes) {fADCRes = ADCRes;}
42 // Float_t GetADCRes() {return fADCRes;}
47 Int_t fMedSensF1; // Sensitive medium F1
48 Int_t fMedSensF2; // Sensitive medium F2
49 Int_t fMedSensZP; // Sensitive medium for ZP
50 Int_t fMedSensZN; // Sensitive medium for ZN
51 Int_t fMedSensZEM; // Sensitive medium for EM ZDC
52 Int_t fMedSensGR; // Other sensitive medium
53 // Int_t fMedSensPI; // Beam pipe and magnet coils
54 // Int_t fMedSensTDI; // TDI Cu shielding
56 // Parameters for light tables
57 Int_t fNalfan; // Number of Alfa (neutrons)
58 Int_t fNalfap; // Number of Alfa (protons)
59 Int_t fNben; // Number of beta (neutrons)
60 Int_t fNbep; // Number of beta (protons)
61 Float_t fTablen[4][90][18]; // Neutrons light table
62 Float_t fTablep[4][90][28]; // Protons light table
64 // Parameters for hadronic calorimeters geometry
65 // NB -> parameters used in CreateZDC() and in StepManager()
66 // (other parameters are defined in CreateZDC())
67 Float_t fDimZP[3]; // Dimensions of proton detector
68 Float_t fPosZN[3]; // Position of neutron detector
69 Float_t fPosZP[3]; // Position of proton detector
70 Float_t fFibZN[3]; // Fibers for neutron detector
71 Float_t fFibZP[3]; // Fibers for proton detector
73 // Parameters for EM calorimeter geometry
74 // NB -> parameters used in CreateZDC() and in StepManager()
75 // (other parameters are defined in CreateZDC())
76 Float_t fPosZEM[3]; // Position of EM detector
78 // Parameters for tracking studies
79 // Int_t fpLostIT, fpLostD1, fpLostTDI, fpDetected;
82 // // Parameters for conversion of light yield in ADC channels
83 // Float_t fPMGain[3][5]; // PM gain
84 // Float_t fADCRes; // ADC conversion factor
86 ClassDef(AliZDCv2,1) // Zero Degree Calorimeter version 1