|
|
|||
File indexing completed on 2026-04-27 07:33:13
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 ExErrorDetectorConstruction.hh 0027 /// \brief Definition of the ExErrorDetectorConstruction class 0028 0029 #ifndef ExErrorDetectorConstruction_hh 0030 #define ExErrorDetectorConstruction_hh 1 0031 0032 #include "ExErrorMagneticField.hh" 0033 0034 #include "G4VUserDetectorConstruction.hh" 0035 #include "globals.hh" 0036 0037 class G4Box; 0038 class G4LogicalVolume; 0039 class G4VPhysicalVolume; 0040 class G4Material; 0041 class ExErrorDetectorMessenger; 0042 class G4UserLimits; 0043 0044 /// Detector construction class 0045 /// 0046 /// Creates a simplified typical HEP detector: 0047 /// An air beamline ( BEAM ) 0048 /// An air central detector ( CDET ) 0049 /// A copper calorimeter, divided in four ( ECAL ) 0050 /// An aluminium calorimeter, divided in ten ( HCAL ) 0051 /// An air muon detector ( MUON ) 0052 /// 0053 /// History: 0054 /// Created: May 2007 0055 /// \author P. Arce 0056 //------------------------------------------------------------------------ 0057 0058 class ExErrorDetectorConstruction : public G4VUserDetectorConstruction 0059 { 0060 public: 0061 ExErrorDetectorConstruction(); 0062 ~ExErrorDetectorConstruction(); 0063 0064 virtual G4VPhysicalVolume* Construct(); 0065 0066 void SetMagField(G4double); 0067 0068 private: 0069 G4double fXBEAM; 0070 G4double fXCDET; 0071 G4double fXECAL; 0072 G4double fXSOLN; 0073 G4double fXHCAL; 0074 G4double fXMUON; 0075 G4double fNdivECAL; 0076 G4double fNdivHCAL; 0077 G4double fYZLength; 0078 G4double fXHalfWorldLength; 0079 0080 G4UserLimits* fUserLimits; 0081 0082 ExErrorMagneticField* fMagField; // pointer to the magnetic field 0083 0084 ExErrorDetectorMessenger* fDetectorMessenger; // pointer to the Messenger 0085 }; 0086 0087 //....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo...... 0088 0089 #endif
| [ Source navigation ] | [ Diff markup ] | [ Identifier search ] | [ general search ] |
|
This page was automatically generated by the 2.3.7 LXR engine. The LXR team |
|