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