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 FCALEMModule.cc, which defines 32 // the geometry of the FCAL EMModule 0. 33 // Developped: 10-March-2000 M.F. 34 // 35 //---------------------------------------------------------------------------- 36 37 #ifndef FCALEMModule_h 38 #define FCALEMModule_h 1 39 40 #include "globals.hh" 41 #include "G4LogicalVolume.hh" 42 #include "FCALEMModuleSD.hh" 43 44 45 class FCALEMModule 46 { 47 public: 48 49 FCALEMModule(); 50 ~FCALEMModule(); 51 52 public: 53 54 G4LogicalVolume * Construct(); 55 56 void InitializeGeometry(); 57 G4int GetF1TileID(G4int); 58 G4double GetF1LArGapPosX(G4int); 59 60 private: 61 G4int NF1LarGap; 62 G4int* F1LArGapID; 63 G4int* F1LArIX; 64 G4int* F1LArJY; 65 G4int* F1LArITile; 66 G4double* F1LArGapPosX; 67 G4double* F1LArGapPosY; 68 69 private: 70 71 G4double EmModuleRMin, EmModuleRMax, EmModuleLenght, 72 EmModuleStartPhi, EmModuleDPhi; 73 G4double FCALEmSmart; 74 75 G4int NCableTroff; 76 G4double F1CableTroffRMin, F1CableTroffRMax, F1CableTroffLenght, F1CableTroffStartPhi, 77 F1CableTroffDPhi; 78 G4double F1CableTroffRotZ; 79 80 G4double F1LArGapRmin, F1LArGapRmax, F1LArGapLenght, F1LArGapStartPhi, F1LArGapDPhi; 81 82 FCALEMModuleSD* FcalEmModuleSD; 83 84 // G4double GapPosX, GapPosY; 85 //G4int GapID, IX, IY, ITile; 86 87 }; 88 89 #endif /* FCALEMModule.hh */ 90 91