Geant4 Cross Reference |
1 // 2 // ******************************************************************** 3 // * License and Disclaimer * 4 // * * 5 // * The Geant4 software is copyright of the Copyright Holders of * 6 // * the Geant4 Collaboration. It is provided under the terms and * 7 // * conditions of the Geant4 Software License, included in the file * 8 // * LICENSE and available at http://cern.ch/geant4/license . These * 9 // * include a list of copyright holders. * 10 // * * 11 // * Neither the authors of this software system, nor their employing * 12 // * institutes,nor the agencies providing financial support for this * 13 // * work make any representation or warranty, express or implied, * 14 // * regarding this software system or assume any liability for its * 15 // * use. Please see the license in the file LICENSE and URL above * 16 // * for the full disclaimer and the limitation of liability. * 17 // * * 18 // * This code implementation is the result of the scientific and * 19 // * technical work of the GEANT4 collaboration. * 20 // * By using, copying, modifying or distributing the software (or * 21 // * any work based on the software) you agree to acknowledge its * 22 // * use in resulting scientific publications, and indicate your * 23 // * acceptance of all terms of the Geant4 Software license. * 24 // ******************************************************************** 25 // 26 // Author: Mathieu Fontaine Rachid Mazini 27 // fontaine@lps.umontreal.ca Rachid.Mazini@cern.ch 28 // Language: C++ 29 // Tested on: g++ 30 // Prerequisites: None 31 // Purpose: Header file for FCALHadModule.cc, which defines 32 // the geometry of the FCAL HadModule 0. 33 // Developped: 10-March-2000 M.F. 34 // 35 //---------------------------------------------------------------------------- 36 37 #ifndef FCALHadModule_h 38 #define FCALHadModule_h 1 39 40 #include "globals.hh" 41 #include "G4LogicalVolume.hh" 42 #include "G4SDManager.hh" 43 #include "FCALHadModuleSD.hh" 44 45 class FCALHadModule 46 { 47 public: 48 49 FCALHadModule(); 50 ~FCALHadModule(); 51 52 public: 53 54 G4LogicalVolume * Construct(); 55 56 void InitializeGeometry(); 57 G4int GetF2TileID(G4int); 58 59 private: 60 G4int NF2LarGap; 61 G4int* F2LArGapID; 62 G4int* F2LArIX; 63 G4int* F2LArJY; 64 G4int* F2LArITile; 65 G4double* F2LArGapPosX; 66 G4double* F2LArGapPosY; 67 68 private: 69 70 G4double HadModuleRMin, HadModuleRMax, HadModuleLenght; 71 G4double HadModuleStartPhi, HadModuleDPhi; 72 G4double FCAL2HadSmart; 73 74 G4double WAbsorberRMin, WAbsorberRMax, WAbsorberLenght; 75 G4double WAbsorberStartPhi, WAbsorberDPhi; 76 77 G4double CuPlateLenght, CuPlateAPosZ, CuPlateBPosZ; 78 79 G4int NCableTroff; 80 G4double F2TroffRmin, F2TroffRmax, F2TroffMainLenght; 81 G4double F2TroffABLenght, F2TroffStartPhi, F2TroffDphi; 82 G4double F2TroffRotZ, F2TroffABPosZ; 83 84 G4double F2LArGapRmin, F2LArGapRmax, F2LArGapLenght; 85 G4double F2LArGapStartPhi, F2LArGapDphi; 86 G4double F2RodRmin, F2RodRmax, F2RodLenght, F2RodStartPhi, F2RodDphi; 87 88 FCALHadModuleSD* FcalHadModuleSD; 89 90 }; 91 92 #endif /* FCALHadModule.hh */ 93 94