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 FCALFrontVolume.cc, which defines 32 // the volumes in the testbeam front. 33 // Developped: 10-March-2000 M.F. 34 // 35 //---------------------------------------------------------------------------- 36 37 38 #ifndef FCALTestbeamSetup_h 39 #define FCALTestbeamSetup_h 1 40 41 #include "G4VUserDetectorConstruction.hh" 42 #include "globals.hh" 43 44 //class FCALFrontVolumes; 45 //class FCALTailVolumes; 46 //class FCALCryostatVolumes; 47 48 class G4LogicalVolume; 49 class G4VPhysicalVolume; 50 51 class FCALTestbeamSetup : public G4VUserDetectorConstruction 52 { 53 54 public: 55 56 FCALTestbeamSetup(); 57 ~FCALTestbeamSetup(); 58 59 public: 60 61 G4VPhysicalVolume* Construct(); 62 void ConstructSDandField(); 63 64 private: 65 66 G4double MotherSizeX, MotherSizeY, MotherSizeZ; 67 68 G4double MWPCSizeX, MWPCSizeY, MWPCSizeZ; 69 G4double MWPCPosX, MWPCPosY, MWPCPosZ[5]; 70 71 G4double ScintS1andS3SizeX, ScintS1andS3SizeY, ScintS1andS3SizeZ; 72 G4double ScintS2SizeX, ScintS2SizeY, ScintS2SizeZ; 73 G4double ScintS1_S3PosX, ScintS1_S3PosY, ScintS1PosZ,ScintS2PosZ, ScintS3PosZ; 74 75 G4double HoleCntrSizeX, HoleCntrSizeY, HoleCntrScintSizeZ, HoleCntrAbsrbSizeZ; 76 G4double HoleCntrScintPosX, HoleCntrScintPosY, HoleCntrScintPosZ; 77 G4double HoleCntrPbPosX, HoleCntrPbPosY, HoleCntrPbPosZ; 78 G4double HoleCntrAlPosX, HoleCntrAlPosY, HoleCntrAlPosZ; 79 G4double ScintHoleRmin, ScintHoleRmax, ScintHoleLenght; 80 G4double AbsrbHoleRmin, AbsrbHoleRmax, AbsrbHoleLenght; 81 G4double HoleStartPhi, HoleDPhi; 82 G4double HolePosX, HolePosY, HolePosZ; 83 84 G4double LeadWallSizeX, LeadWallSizeY, LeadWallSizeZ; 85 G4double LeadWallSlitSizeX, LeadWallSlitSizeY, LeadWallSlitSizeZ; 86 G4double LeadWallPosX,LeadWallPosY, LeadWallPosZ; 87 88 G4double IronWallSizeX, IronWallSizeY, IronWallSizeZ; 89 G4double IronWallSlitSizeX, IronWallSlitSizeY, IronWallSlitSizeZ; 90 G4double IronWallPosX,IronWallPosY, IronWallPosZ; 91 92 G4int NBigScint, NSmallScint, NBigIron, NSmallIron; 93 G4double BigScintSizeX, BigScintSizeY, SmallScintSizeX, SmallScintSizeY, ScintSizeZ; 94 G4double ScintPosX, ScintPosY, ScintPosZ[7]; 95 G4double BigIronSizeX, BigIronSizeY, SmallIronSizeX, SmallIronSizeY, IronSizeZ; 96 G4double IronPosX, IronPosY, IronPosZ[6]; 97 98 G4double ConcWallSizeX, ConcWallSizeY, ConcWallSizeZ; 99 G4double ConcWallPosX, ConcWallPosY, ConcWallAPosZ, ConcWallBPosZ; 100 G4double ConcWallInsSizeX, ConcWallInsSizeY, ConcWallInsSizeZ; 101 G4double ConcWallInsPosZ; 102 103 G4double MuCntrSIzeX, MuCntrSIzeY, MuCntrSIzeZ; 104 G4double MuCntrPosX, MuCntrPosY, MuCntrPosZ; 105 106 107 G4double CryostatPosX, CryostatPosY, CryostatPosZ; 108 109 110 //FCALTestbeamSetupSD* FCALTBSetupSD; // Senstive detector 111 112 /* 113 G4double TailPosX; 114 G4double TailPosY; 115 G4double TailPosZ; 116 117 G4double FrontPosX; 118 G4double FrontPosY; 119 G4double FrontPosZ; 120 */ 121 /* 122 G4double EMModulePosX; 123 G4double EMModulePosY; 124 G4double EMModulePosZ; 125 126 G4double HadModulePosX; 127 G4double HadModulePosY; 128 G4double HadModulePosZ; 129 */ 130 131 }; 132 133 #endif /* FCALTestbeamSetup.hh */ 134 135