|
|
|||
File indexing completed on 2026-03-28 07:49:10
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 0029 #ifndef FlashMinibeamTemplate_H 0030 #define FlashMinibeamTemplate_H 1 0031 0032 #include "FlashDetectorConstruction.hh" 0033 #include "G4Box.hh" 0034 #include "G4Cons.hh" 0035 #include "G4LogicalVolume.hh" 0036 #include "G4SubtractionSolid.hh" 0037 #include "G4Tubs.hh" 0038 #include "G4VUserDetectorConstruction.hh" 0039 #include "G4VisAttributes.hh" 0040 #include "globals.hh" 0041 0042 class G4VPhysicalVolume; 0043 class G4Region; 0044 class G4UserLimits; 0045 class FlashMinibeamTemplate { 0046 public: 0047 FlashMinibeamTemplate(G4VPhysicalVolume *, G4double, G4double); 0048 ~FlashMinibeamTemplate(); 0049 void ConstructCollimator(); 0050 G4double hight; 0051 private: 0052 G4double maxStep; 0053 G4Region *TemplateRegion; 0054 G4UserLimits* fStepLimit; 0055 G4VPhysicalVolume *motherPhys; 0056 G4double X_center; 0057 G4double y_center; 0058 G4double z_center; 0059 G4double d_between_holes; 0060 G4double hole_side ; 0061 G4double radius; 0062 G4double field_side; 0063 G4Material * TEFLON; 0064 G4Material * TUNGSTEN; 0065 void SetMaterial(); 0066 void ConstructColl_full(); 0067 void ConstructColl_template(); 0068 void Construct_hole(); 0069 void ConstructColl_template_planar(); 0070 G4VisAttributes *blue; 0071 G4VisAttributes *red; 0072 0073 // G4LogicalVolume * LeafLV; 0074 }; 0075 #endif
| [ Source navigation ] | [ Diff markup ] | [ Identifier search ] | [ general search ] |
|
This page was automatically generated by the 2.3.7 LXR engine. The LXR team |
|