Back to home page

EIC code displayed by LXR

 
 

    


File indexing completed on 2025-01-18 09:16:57

0001 //
0002 // ********************************************************************
0003 // * License and Disclaimer                                           *
0004 // *                                                                  *
0005 // * The  Geant4 software  is  copyright of the Copyright Holders  of *
0006 // * the Geant4 Collaboration.  It is provided  under  the terms  and *
0007 // * conditions of the Geant4 Software License,  included in the file *
0008 // * LICENSE and available at  http://cern.ch/geant4/license .  These *
0009 // * include a list of copyright holders.                             *
0010 // *                                                                  *
0011 // * Neither the authors of this software system, nor their employing *
0012 // * institutes,nor the agencies providing financial support for this *
0013 // * work  make  any representation or  warranty, express or implied, *
0014 // * regarding  this  software system or assume any liability for its *
0015 // * use.  Please see the license in the file  LICENSE  and URL above *
0016 // * for the full disclaimer and the limitation of liability.         *
0017 // *                                                                  *
0018 // * This  code  implementation is the result of  the  scientific and *
0019 // * technical work of the GEANT4 collaboration.                      *
0020 // * By using,  copying,  modifying or  distributing the software (or *
0021 // * any work based  on the software)  you  agree  to acknowledge its *
0022 // * use  in  resulting  scientific  publications,  and indicate your *
0023 // * acceptance of all terms of the Geant4 Software license.          *
0024 // ********************************************************************
0025 //
0026 //   Author:            Mathieu Fontaine           Rachid Mazini
0027 //                      fontaine@lps.umontreal.ca  Rachid.Mazini@cern.ch
0028 //   Language:          C++
0029 //   Tested on:         g++
0030 //   Prerequisites:     None
0031 //   Purpose:           Header file for FCALFrontVolume.cc, which defines
0032 //                      the  volumes in the testbeam front.
0033 //   Developped:        10-March-2000   M.F.
0034 //
0035 //----------------------------------------------------------------------------
0036 
0037 
0038 #ifndef FCALTestbeamSetup_h
0039 #define FCALTestbeamSetup_h 1
0040 
0041 #include "G4VUserDetectorConstruction.hh"
0042 #include "globals.hh"
0043 
0044 //class FCALFrontVolumes;
0045 //class FCALTailVolumes;
0046 //class FCALCryostatVolumes;
0047 
0048 class G4LogicalVolume;
0049 class G4VPhysicalVolume;
0050 
0051 class FCALTestbeamSetup : public G4VUserDetectorConstruction
0052 {
0053 
0054 public:
0055 
0056   FCALTestbeamSetup();
0057   ~FCALTestbeamSetup();
0058 
0059 public:
0060 
0061   G4VPhysicalVolume* Construct();
0062   void ConstructSDandField();
0063     
0064 private:
0065 
0066   G4double MotherSizeX, MotherSizeY, MotherSizeZ;
0067 
0068   G4double MWPCSizeX, MWPCSizeY, MWPCSizeZ;
0069   G4double MWPCPosX, MWPCPosY, MWPCPosZ[5];
0070 
0071   G4double ScintS1andS3SizeX, ScintS1andS3SizeY, ScintS1andS3SizeZ;
0072   G4double ScintS2SizeX, ScintS2SizeY, ScintS2SizeZ;
0073   G4double ScintS1_S3PosX, ScintS1_S3PosY, ScintS1PosZ,ScintS2PosZ, ScintS3PosZ;
0074 
0075   G4double HoleCntrSizeX, HoleCntrSizeY, HoleCntrScintSizeZ, HoleCntrAbsrbSizeZ;
0076   G4double HoleCntrScintPosX, HoleCntrScintPosY, HoleCntrScintPosZ;
0077   G4double HoleCntrPbPosX, HoleCntrPbPosY, HoleCntrPbPosZ;
0078   G4double HoleCntrAlPosX, HoleCntrAlPosY, HoleCntrAlPosZ;
0079   G4double ScintHoleRmin, ScintHoleRmax, ScintHoleLenght;
0080   G4double AbsrbHoleRmin, AbsrbHoleRmax, AbsrbHoleLenght;
0081   G4double HoleStartPhi, HoleDPhi;
0082   G4double HolePosX, HolePosY, HolePosZ;
0083 
0084   G4double LeadWallSizeX, LeadWallSizeY, LeadWallSizeZ;
0085   G4double LeadWallSlitSizeX, LeadWallSlitSizeY, LeadWallSlitSizeZ;
0086   G4double LeadWallPosX,LeadWallPosY, LeadWallPosZ;
0087 
0088   G4double IronWallSizeX, IronWallSizeY, IronWallSizeZ;
0089   G4double IronWallSlitSizeX, IronWallSlitSizeY, IronWallSlitSizeZ;
0090   G4double IronWallPosX,IronWallPosY, IronWallPosZ;
0091 
0092   G4int NBigScint, NSmallScint, NBigIron, NSmallIron;
0093   G4double BigScintSizeX, BigScintSizeY, SmallScintSizeX, SmallScintSizeY, ScintSizeZ;
0094   G4double ScintPosX, ScintPosY, ScintPosZ[7];
0095   G4double BigIronSizeX, BigIronSizeY, SmallIronSizeX, SmallIronSizeY, IronSizeZ;
0096   G4double IronPosX, IronPosY, IronPosZ[6];
0097 
0098   G4double ConcWallSizeX, ConcWallSizeY, ConcWallSizeZ; 
0099   G4double ConcWallPosX, ConcWallPosY, ConcWallAPosZ, ConcWallBPosZ;
0100   G4double ConcWallInsSizeX, ConcWallInsSizeY, ConcWallInsSizeZ;
0101   G4double ConcWallInsPosZ;
0102 
0103   G4double MuCntrSIzeX, MuCntrSIzeY, MuCntrSIzeZ;
0104   G4double MuCntrPosX, MuCntrPosY, MuCntrPosZ;
0105   
0106 
0107   G4double CryostatPosX, CryostatPosY, CryostatPosZ;
0108 
0109 
0110   //FCALTestbeamSetupSD* FCALTBSetupSD;  // Senstive detector
0111 
0112   /* 
0113   G4double TailPosX;
0114   G4double TailPosY;
0115   G4double TailPosZ;
0116 
0117   G4double FrontPosX;
0118   G4double FrontPosY;
0119   G4double FrontPosZ;
0120   */
0121   /*
0122   G4double EMModulePosX;
0123   G4double EMModulePosY;
0124   G4double EMModulePosZ;
0125 
0126   G4double HadModulePosX;
0127   G4double HadModulePosY;
0128   G4double HadModulePosZ;
0129   */
0130 
0131 };
0132 
0133 #endif   /* FCALTestbeamSetup.hh */
0134