public:
AliZDCv1();
AliZDCv1(const char *name, const char *title);
- virtual ~AliZDCv1() {}
+ virtual ~AliZDCv1() {}
virtual void CreateGeometry();
virtual void CreateBeamLine();
virtual void CreateZDC();
virtual void CreateMaterials();
virtual Int_t IsVersion() const {return 1;}
- virtual void DrawModule();
+ virtual void DrawModule() const;
virtual void Init();
virtual void InitTables();
virtual void StepManager();
- void NoShower(){fNoShower=1;};
- void Shower() {fNoShower=0;};
+
protected:
- //Sensitive media
- Int_t fMedSensF1; // Sensitive medium F1
- Int_t fMedSensF2; // Sensitive medium F2
- Int_t fMedSensZP; // Sensitive medium for ZP
- Int_t fMedSensZN; // Sensitive medium for ZN
- Int_t fMedSensZEM; // Sensitive medium for EM ZDC
- Int_t fMedSensGR; // Other sensitive medium
- Int_t fMedSensPI; // Beam pipe and magnet coils
- //Parameter for light tables
- Int_t fNalfan; // Number of Alfa neutrons
- Int_t fNalfap; // Number of Alfa protons
- Int_t fNben; // Number of beta neutrons
- Int_t fNbep; // Number of beta protons
- Float_t fTablen[4][90][18]; // Table neutrons
- Float_t fTablep[4][90][28]; // Table protons
-public:
- //Flag for fast simulation (no shower)
- Int_t fNoShower;
+ // Sensitive media
+ Int_t fMedSensF1; // Sensitive medium F1
+ Int_t fMedSensF2; // Sensitive medium F2
+ Int_t fMedSensZP; // Sensitive medium for ZP
+ Int_t fMedSensZN; // Sensitive medium for ZN
+ Int_t fMedSensZEM; // Sensitive medium for EM ZDC
+ Int_t fMedSensGR; // Other sensitive medium
+// Int_t fMedSensPI; // Beam pipe and magnet coils
+// Int_t fMedSensTDI; // TDI Cu shielding
+
+ // Parameters for light tables
+ Int_t fNalfan; // Number of Alfa (neutrons)
+ Int_t fNalfap; // Number of Alfa (protons)
+ Int_t fNben; // Number of beta (neutrons)
+ Int_t fNbep; // Number of beta (protons)
+ Float_t fTablen[4][90][18]; // Neutrons light table
+ Float_t fTablep[4][90][28]; // Protons light table
+
+ // Parameters for hadronic calorimeters geometry
+ // NB -> parameters used in CreateZDC() and in StepManager()
+ // (other parameters are defined in CreateZDC())
+ Float_t fDimZP[3]; // Dimensions of proton detector
+ Float_t fPosZN[3]; // Position of neutron detector
+ Float_t fPosZP[3]; // Position of proton detector
+ Float_t fFibZN[3]; // Fibers for neutron detector
+ Float_t fFibZP[3]; // Fibers for proton detector
+
+ // Parameters for EM calorimeter geometry
+ // NB -> parameters used in CreateZDC() and in StepManager()
+ // (other parameters are defined in CreateZDC())
+ Float_t fPosZEM[3]; // Position of EM detector
+ Float_t fZEMLength; // ZEM length
+
+ // Parameters for tracking studies
+// Int_t fpLostIT, fpLostD1, fpLostTDI, fpDetected;
+
ClassDef(AliZDCv1,1) // Zero Degree Calorimeter version 1
};