Minor changes
[u/mrichter/AliRoot.git] / ZDC / AliZDCv3.h
CommitLineData
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//____________________________________________________________________________
13class AliZDCv3 : public AliZDC {
14
15public:
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;}
24 virtual void DrawModule() const;
f853b9aa 25 virtual void AddAlignableVolumes() const;
8d433671 26 virtual void Init();
27 virtual void InitTables();
28 virtual void StepManager();
29
30
31protected:
32
33 // Sensitive media
34 Int_t fMedSensF1; // Sensitive medium F1
35 Int_t fMedSensF2; // Sensitive medium F2
36 Int_t fMedSensZP; // Sensitive medium for ZP
37 Int_t fMedSensZN; // Sensitive medium for ZN
38 Int_t fMedSensZEM; // Sensitive medium for EM ZDC
39 Int_t fMedSensGR; // Other sensitive medium
40 Int_t fMedSensPI; // Beam pipe and magnet coils
f853b9aa 41 Int_t fMedSensTDI; // Cu materials along beam pipe
8d433671 42
43 // Parameters for light tables
44 Int_t fNalfan; // Number of Alfa (neutrons)
45 Int_t fNalfap; // Number of Alfa (protons)
46 Int_t fNben; // Number of beta (neutrons)
47 Int_t fNbep; // Number of beta (protons)
48 Float_t fTablen[4][90][18]; // Neutrons light table
49 Float_t fTablep[4][90][28]; // Protons light table
50
51 // Parameters for hadronic calorimeters geometry
52 // NB -> parameters used in CreateZDC() and in StepManager()
53 // (other parameters are defined in CreateZDC())
54 Float_t fDimZN[3]; // Dimensions of proton detector
55 Float_t fDimZP[3]; // Dimensions of proton detector
f853b9aa 56 Float_t fPosZNC[3]; // Position of neutron detector side C
57 Float_t fPosZNA[3]; // Position of neutron detector side A
58 Float_t fPosZPC[3]; // Position of proton detector side C
59 Float_t fPosZPA[3]; // Position of proton detector side A
8d433671 60 Float_t fFibZN[3]; // Fibers for neutron detector
61 Float_t fFibZP[3]; // Fibers for proton detector
62
63 // Parameters for EM calorimeter geometry
64 // NB -> parameters used in CreateZDC() and in StepManager()
65 // (other parameters are defined in CreateZDC())
66 Float_t fPosZEM[3]; // Position of EM detector
67 Float_t fZEMLength; // ZEM length
68
f853b9aa 69 // Parameters for proton accepancy studies
8cbab886 70 Int_t fpLostITC, fpLostD1C, fpDetectedC, fnDetectedC, fnLumiC; // Side C
71 Int_t fpLostITA, fpLostD1A, fpLostTDI, fpDetectedA, fnDetectedA, fnLumiA, fnTrou; // Side A
8d433671 72
f853b9aa 73
8cbab886 74 ClassDef(AliZDCv3,3) // Zero Degree Calorimeter version 1
8d433671 75};
76
77#endif