|
||||
File indexing completed on 2025-01-31 09:21:43
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 // 0027 // -------------------------------------------------------------- 0028 // GEANT 4 - ULTRA experiment example 0029 // -------------------------------------------------------------- 0030 // 0031 // Code developed by: 0032 // B. Tome, M.C. Espirito-Santo, A. Trindade, P. Rodrigues 0033 // 0034 // ********************************************** 0035 // * UltraDetectorConstruction.hh 0036 // ********************************************** 0037 // 0038 // Class used in the definition of the Ultra setup consisting of: 0039 // - the UVscope detector 0040 // - an optional reflecting surface 0041 // Optical photons can reach the UVscope either directly or after reflection in the 0042 // surface, which can be polished or diffusing. 0043 // The main part of the UVscope definition is the Fresnel lens construction based 0044 // on the UltraFresnelLens class. 0045 // 0046 #ifndef UltraDetectorConstruction_h 0047 #define UltraDetectorConstruction_h 1 0048 0049 #include "globals.hh" 0050 #include "G4VUserDetectorConstruction.hh" 0051 0052 0053 class G4VPhysicalVolume; 0054 class G4LogicalVolume; 0055 class G4SDManager; 0056 class G4OpticalSurface; 0057 class UltraDetectorMessenger; 0058 class UltraScintSD; 0059 class UltraPMTSD; 0060 class UltraFresnelLens; 0061 0062 class UltraDetectorConstruction : public G4VUserDetectorConstruction 0063 { 0064 0065 public: 0066 UltraDetectorConstruction(); 0067 ~UltraDetectorConstruction(); 0068 0069 public: 0070 G4VPhysicalVolume* Construct(); 0071 void ConstructSDandField(); 0072 void SetReflectionType(G4String); 0073 0074 inline G4double GetLambdaMin() const {return lambda_min;} 0075 inline G4double GetLambdaMax() const {return lambda_max;} 0076 0077 private: 0078 0079 // Methods to build ULTRA 0080 void ConstructUVscope(); 0081 void ConstructReflector(); 0082 void SetReflectorOpticalProperties(); 0083 0084 // Material definitions 0085 void ConstructTableMaterials(); 0086 0087 private: 0088 UltraDetectorMessenger *fDetectorMessenger; 0089 G4VPhysicalVolume *fWorld_phys ; 0090 UltraFresnelLens *FresnelLens ; 0091 G4OpticalSurface *fReflectorOpticalSurface; 0092 G4LogicalVolume *logicalPMT; 0093 G4LogicalVolume *fReflectorLog; 0094 G4String fReflectionType; 0095 G4bool fIsReflectorConstructed; 0096 0097 G4double lambda_min ; 0098 G4double lambda_max ; 0099 }; 0100 0101 #endif
[ Source navigation ] | [ Diff markup ] | [ Identifier search ] | [ general search ] |
This page was automatically generated by the 2.3.7 LXR engine. The LXR team |