]> git.uio.no Git - u/mrichter/AliRoot.git/blob - ZDC/AliZDCv2.h
Runloader is updated when moving to next file (quick fix).
[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() const;
25   virtual void  AddAlignableVolumes() const;
26   virtual void  Init();
27   virtual void  InitTables();
28   virtual void  StepManager();
29   
30  
31 protected:
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
41   Int_t   fMedSensTDI;        // TDI Cu shielding 
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
56   Float_t fPosZN[3];    // Position of neutron detector
57   Float_t fPosZP[3];    // Position of proton detector
58   Float_t fFibZN[3];    // Fibers for neutron detector
59   Float_t fFibZP[3];    // Fibers for proton detector
60
61   // Parameters for EM calorimeter geometry
62   // NB -> parameters used in CreateZDC() and in StepManager()
63   // (other parameters are defined in CreateZDC())
64   Float_t fPosZEM[3]; // Position of EM detector
65   Float_t fZEMLength; // ZEM length
66   
67   // Parameters for tracking studies
68   Int_t fpLostIT, fpLostD1, fpLostTDI, fpDetected, fnDetected; // For spectators acceptance
69   
70    ClassDef(AliZDCv2,4)  // Zero Degree Calorimeter version 1
71 }; 
72  
73 #endif