Back to home page

EIC code displayed by LXR

 
 

    


File indexing completed on 2025-01-31 09:22:21

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 #ifndef DETECTORCONSTRUCTION0_HH
0027 #define DETECTORCONSTRUCTION0_HH
0028 
0029 #include "G4String.hh"
0030 #include "G4Types.hh"
0031 
0032 #include <vector>
0033 #include <utility>
0034 
0035 /// Add module of silicon sensor with absorbers, readout, and support, for the
0036 /// electromagnetic calorimeter (EE).
0037 /// @param[in] aEEid ID of module in the setup (not all modules are identical)
0038 /// @param[out] aDzMap List of element names and air gap to be placed in front
0039 /// of the element
0040 /// @param[in] aAirBefore How much air should be added before the current module
0041 /// (before the first iron)
0042 /// @param[in] aAirMid How much air should be added in the middle (before the
0043 /// first PCB)
0044 void add_EE(G4int aEEid, std::vector<std::pair<G4String, G4double>> &aDzMap,
0045             G4double aAirBefore, G4double aAirMid);
0046 
0047 /// Add module of scintillator sensor with absorbers, readout, and support, for
0048 /// the hadronic calorimeter (FH).
0049 /// @param[in] aFHid ID of module in the setup (not all modules are identical)
0050 /// @param[out] aDzMap List of element names and air gap to be placed in front
0051 /// of the element
0052 /// @param[in] aAirBefore How much air should be added before the current module
0053 /// (before the first iron)
0054 /// @param[in] aAirMid How much air should be added in the middle (before the
0055 /// first PCB)
0056 void add_FH(G4int aFHid, std::vector<std::pair<G4String, G4double>> &aDzMap,
0057             G4double aAirBefore, G4double aAirMid);
0058 
0059 /// Define detector setup for test beam run in October 2018
0060 /// @param[out] aDzMap List of element names and air gap to be placed in front
0061 /// of the element
0062 /// @param[out] aViewpoint Targer point to be set in the visualisation
0063 void DetectorConstruction0(
0064     std::vector<std::pair<G4String, G4double>> &aDzMap,
0065     G4double &aViewpoint);
0066 
0067 #endif /* DETECTORCONSTRUCTION0_HH */