Back to home page

EIC code displayed by LXR

 
 

    


File indexing completed on 2025-04-10 08:05:40

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 /// \file eventgenerator/HepMC/HepMCEx01/src/ExN04DetectorParameterDef.icc
0027 /// \brief The file with detector paremeter definistions
0028 //
0029 //
0030 
0031 fexpHall_x = 600.*cm;
0032 fexpHall_y = 600.*cm;
0033 fexpHall_z = 600.*cm;
0034 
0035 ftrkTubs_rmax =  50.*cm;
0036 ftrkTubs_rmin =  20.*cm;
0037 ftrkTubs_dz   = 100.*cm;
0038 ftrkTubs_sphi =   0.*deg;
0039 ftrkTubs_dphi = 360.*deg;
0040 
0041 fnotrkLayers = 5;
0042 ftracker_radius[0] = 25.*cm;
0043 ftracker_radius[1] = 30.*cm;
0044 ftracker_radius[2] = 35.*cm;
0045 ftracker_radius[3] = 40.*cm;
0046 ftracker_radius[4] = 45.*cm;
0047 ftracker_thick     =  0.5*cm;
0048 for( int il=0; il < 5; il++ ) {
0049   ftracker_length[il] = ftracker_radius[il];
0050 }
0051 
0052 fcaloTubs_rmax = 300.*cm;
0053 fcaloTubs_rmin =  50.*cm;
0054 fcaloTubs_dz   = 200.*cm;
0055 fcaloTubs_sphi =   0.*deg;
0056 fcaloTubs_dphi = 360.*deg;
0057 
0058 fabsorber_thick = 3.*cm;
0059 fscinti_thick = 2.*cm;
0060 fnocaloLayers = int( (fcaloTubs_rmax - fcaloTubs_rmin) /
0061                     (fabsorber_thick + fscinti_thick) );
0062 
0063 fsegmentsinPhi = 48;
0064 fcaloCell_rmax = fcaloTubs_rmax;
0065 fcaloCell_rmin = fcaloTubs_rmin;
0066 fcaloCell_dz   = fcaloTubs_dz;
0067 fcaloCell_sphi = fcaloTubs_sphi;
0068 fcaloCell_dphi = fcaloTubs_dphi / fsegmentsinPhi;
0069 
0070 fsegmentsinZ = 20;
0071 fcaloRing_rmax = fcaloCell_rmax;
0072 fcaloRing_rmin = fcaloCell_rmin;
0073 fcaloRing_dz   = fcaloCell_dz / fsegmentsinZ ;
0074 fcaloRing_sphi = fcaloCell_sphi;
0075 fcaloRing_dphi = fcaloCell_dphi;
0076 
0077 fnomucounter = 4;
0078 fmuBox_radius = 350.*cm;
0079 fmuBox_width  = fmuBox_radius - 5.*cm;
0080 fmuBox_thick  = 1.*cm;
0081 fmuBox_length = fexpHall_z - 10.*cm;