]>
Commit | Line | Data |
---|---|---|
8d433671 | 1 | #ifndef ALIZDCV3_H |
2 | #define ALIZDCV3_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 and hits classes for set: ZDC // | |
8 | //////////////////////////////////////////////// | |
9 | ||
10 | #include "AliZDC.h" | |
11 | ||
12 | //____________________________________________________________________________ | |
13 | class AliZDCv3 : public AliZDC { | |
14 | ||
15 | public: | |
16 | AliZDCv3(); | |
17 | AliZDCv3(const char *name, const char *title); | |
18 | virtual ~AliZDCv3() {} | |
19 | virtual void CreateGeometry(); | |
20 | virtual void CreateBeamLine(); | |
21 | virtual void CreateZDC(); | |
22 | virtual void CreateMaterials(); | |
23 | virtual Int_t IsVersion() const {return 1;} | |
f853b9aa | 24 | virtual void AddAlignableVolumes() const; |
8d433671 | 25 | virtual void Init(); |
26 | virtual void InitTables(); | |
27 | virtual void StepManager(); | |
28 | ||
f2d7b073 | 29 | void SetVCollSideCAperture(Float_t aperture) |
30 | {if(aperture<3.5) fVCollSideCAperture = aperture; | |
31 | else printf("\n\n AliZDCv3: WARNING! SideA TCTVB aperture set to max.: 3.5 cm\n\n");} | |
32 | void SetVCollSideCCentre(Float_t centre) {fVCollSideCCentreY = centre;} | |
33 | ||
34 | void SetVCollSideAAperture(Float_t aperture) | |
35 | {if(aperture<3.5) fVCollSideAAperture = aperture; | |
36 | else printf("\n\n AliZDCv3: WARNING! SideA TCTVB aperture set to max.: 3.5 cm\n\n");} | |
37 | void SetVCollSideACentre(Float_t centre) {fVCollSideACentreY = centre;} | |
38 | ||
30f5a47b | 39 | void SetLumiLength(Float_t length) {fLumiLength = length;} |
925008a9 | 40 | |
796c8b58 | 41 | void SetYZNC(Float_t yZNC) {fPosZNC[1] = yZNC;} |
25e05e8a | 42 | void SetYZNA(Float_t yZNA) {fPosZNA[1] = yZNA;} |
796c8b58 | 43 | |
44 | void SetYZPC(Float_t yZPC) {fPosZPC[1] = yZPC;} | |
25e05e8a | 45 | void SetYZPA(Float_t yZPA) {fPosZPA[1] = yZPA;} |
796c8b58 | 46 | |
8d433671 | 47 | |
48 | protected: | |
49 | ||
50 | // Sensitive media | |
51 | Int_t fMedSensF1; // Sensitive medium F1 | |
52 | Int_t fMedSensF2; // Sensitive medium F2 | |
53 | Int_t fMedSensZP; // Sensitive medium for ZP | |
54 | Int_t fMedSensZN; // Sensitive medium for ZN | |
55 | Int_t fMedSensZEM; // Sensitive medium for EM ZDC | |
56 | Int_t fMedSensGR; // Other sensitive medium | |
57 | Int_t fMedSensPI; // Beam pipe and magnet coils | |
f853b9aa | 58 | Int_t fMedSensTDI; // Cu materials along beam pipe |
30f5a47b | 59 | Int_t fMedSensVColl; // W jaws of vertical collimators |
60 | Int_t fMedSensLumi; // luminometer medium | |
8d433671 | 61 | |
62 | // Parameters for light tables | |
63 | Int_t fNalfan; // Number of Alfa (neutrons) | |
64 | Int_t fNalfap; // Number of Alfa (protons) | |
65 | Int_t fNben; // Number of beta (neutrons) | |
66 | Int_t fNbep; // Number of beta (protons) | |
67 | Float_t fTablen[4][90][18]; // Neutrons light table | |
68 | Float_t fTablep[4][90][28]; // Protons light table | |
69 | ||
70 | // Parameters for hadronic calorimeters geometry | |
71 | // NB -> parameters used in CreateZDC() and in StepManager() | |
72 | // (other parameters are defined in CreateZDC()) | |
73 | Float_t fDimZN[3]; // Dimensions of proton detector | |
74 | Float_t fDimZP[3]; // Dimensions of proton detector | |
f853b9aa | 75 | Float_t fPosZNC[3]; // Position of neutron detector side C |
76 | Float_t fPosZNA[3]; // Position of neutron detector side A | |
77 | Float_t fPosZPC[3]; // Position of proton detector side C | |
78 | Float_t fPosZPA[3]; // Position of proton detector side A | |
8d433671 | 79 | Float_t fFibZN[3]; // Fibers for neutron detector |
80 | Float_t fFibZP[3]; // Fibers for proton detector | |
81 | ||
82 | // Parameters for EM calorimeter geometry | |
83 | // NB -> parameters used in CreateZDC() and in StepManager() | |
84 | // (other parameters are defined in CreateZDC()) | |
85 | Float_t fPosZEM[3]; // Position of EM detector | |
86 | Float_t fZEMLength; // ZEM length | |
87 | ||
f853b9aa | 88 | // Parameters for proton accepancy studies |
30f5a47b | 89 | Int_t fpLostITC, fpLostD1C, fpcVCollC, fpDetectedC, fnDetectedC; // Side C |
90 | Int_t fpLostITA, fpLostD1A, fpLostTDI, fpcVCollA, fpDetectedA, fnDetectedA; // Side A | |
8d433671 | 91 | |
925008a9 | 92 | // Parameters to describe vertical collimator aperture |
f2d7b073 | 93 | Float_t fVCollSideCAperture; // Semi-aperture of TCTVB jaws |
94 | Float_t fVCollSideCCentreY; // Centre of TCTVB jaw apertures | |
95 | Float_t fVCollSideAAperture; // Semi-aperture of TCTVB jaws | |
96 | Float_t fVCollSideACentreY; // Centre of TCTVB jaw apertures | |
f853b9aa | 97 | |
30f5a47b | 98 | Float_t fLumiLength; // Luminometer length |
99 | ||
f2d7b073 | 100 | ClassDef(AliZDCv3,7) // Zero Degree Calorimeter version 1 |
8d433671 | 101 | }; |
102 | ||
103 | #endif |