]> git.uio.no Git - u/mrichter/AliRoot.git/blob - ZDC/AliZDCv2.h
Some function moved to AliZDC
[u/mrichter/AliRoot.git] / ZDC / AliZDCv2.h
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 //____________________________________________________________________________ 
13 class AliZDCv2 : public AliZDC {
14
15 public:
16   AliZDCv2();
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   virtual Int_t IsVersion() const {return 1;}
24   virtual void  DrawModule();
25   virtual void  Init();
26   virtual void  InitTables();
27   virtual void  StepManager();
28   
29  
30 protected:
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
39 //  Int_t   fMedSensPI;         // Beam pipe and magnet coils
40 //  Int_t   fMedSensTDI;        // TDI Cu shielding 
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())
53   Float_t fDimZP[3];    // Dimensions of proton detector
54   Float_t fPosZN[3];    // Position of neutron detector
55   Float_t fPosZP[3];    // Position of proton detector
56   Float_t fFibZN[3];    // Fibers for neutron detector
57   Float_t fFibZP[3];    // Fibers for proton detector
58
59   // Parameters for EM calorimeter geometry
60   // NB -> parameters used in CreateZDC() and in StepManager()
61   // (other parameters are defined in CreateZDC())
62   Float_t fPosZEM[3]; // Position of EM detector
63   Float_t fZEMLength; // ZEM length
64   
65   // Parameters for tracking studies
66 //  Int_t fpLostIT, fpLostD1, fpLostTDI, fpDetected;
67   
68    ClassDef(AliZDCv2,1)  // Zero Degree Calorimeter version 1
69 }; 
70  
71 #endif