Transition to NewIO
[u/mrichter/AliRoot.git] / ZDC / AliZDCv2.h
CommitLineData
4663d63d 1#ifndef ALIZDCV2_H
2#define ALIZDCV2_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 AliZDCv2 : public AliZDC {
14
15public:
16 AliZDCv2();
17 AliZDCv2(const char *name, const char *title);
47388856 18 virtual ~AliZDCv2() {}
4663d63d 19 virtual void CreateGeometry();
20 virtual void CreateBeamLine();
21 virtual void CreateZDC();
22 virtual void CreateMaterials();
4663d63d 23 virtual Int_t IsVersion() const {return 1;}
24 virtual void DrawModule();
25 virtual void Init();
26 virtual void InitTables();
27 virtual void StepManager();
28
4663d63d 29
30protected:
31
32 // Sensitive media
33 Int_t fMedSensF1; // Sensitive medium F1
34 Int_t fMedSensF2; // Sensitive medium F2
35 Int_t fMedSensZP; // Sensitive medium for ZP
36 Int_t fMedSensZN; // Sensitive medium for ZN
37 Int_t fMedSensZEM; // Sensitive medium for EM ZDC
38 Int_t fMedSensGR; // Other sensitive medium
8d5b6659 39 Int_t fMedSensPI; // Beam pipe and magnet coils
40 Int_t fMedSensTDI; // TDI Cu shielding
4663d63d 41
42 // Parameters for light tables
43 Int_t fNalfan; // Number of Alfa (neutrons)
44 Int_t fNalfap; // Number of Alfa (protons)
45 Int_t fNben; // Number of beta (neutrons)
46 Int_t fNbep; // Number of beta (protons)
47 Float_t fTablen[4][90][18]; // Neutrons light table
48 Float_t fTablep[4][90][28]; // Protons light table
49
50 // Parameters for hadronic calorimeters geometry
51 // NB -> parameters used in CreateZDC() and in StepManager()
52 // (other parameters are defined in CreateZDC())
410749b4 53 Float_t fDimZN[3]; // Dimensions of proton detector
4663d63d 54 Float_t fDimZP[3]; // Dimensions of proton detector
55 Float_t fPosZN[3]; // Position of neutron detector
56 Float_t fPosZP[3]; // Position of proton detector
57 Float_t fFibZN[3]; // Fibers for neutron detector
58 Float_t fFibZP[3]; // Fibers for proton detector
59
60 // Parameters for EM calorimeter geometry
61 // NB -> parameters used in CreateZDC() and in StepManager()
62 // (other parameters are defined in CreateZDC())
63 Float_t fPosZEM[3]; // Position of EM detector
47388856 64 Float_t fZEMLength; // ZEM length
4663d63d 65
66 // Parameters for tracking studies
8d5b6659 67 Int_t fpLostIT, fpLostD1, fpLostTDI, fpDetected;
4663d63d 68
ccfa7576 69 ClassDef(AliZDCv2,2) // Zero Degree Calorimeter version 1
4663d63d 70};
71
72#endif