File indexing completed on 2025-01-31 09:22:41
0001
0002
0003
0004
0005
0006
0007
0008
0009
0010
0011
0012
0013
0014
0015
0016
0017
0018
0019
0020
0021
0022
0023
0024
0025
0026
0027
0028
0029
0030
0031
0032
0033
0034
0035
0036
0037
0038
0039
0040
0041
0042 #ifndef DMXDetectorConstruction_h
0043 #define DMXDetectorConstruction_h 1
0044
0045 #include "G4VUserDetectorConstruction.hh"
0046 #include "globals.hh"
0047 #include "G4Cache.hh"
0048
0049 class G4LogicalVolume;
0050 class G4VPhysicalVolume;
0051 class G4Material;
0052
0053 class G4UserLimits;
0054
0055 class DMXScintSD;
0056 class DMXPmtSD;
0057
0058 class DMXDetectorMessenger;
0059
0060 class DMXDetectorConstruction : public G4VUserDetectorConstruction
0061 {
0062 public:
0063
0064 DMXDetectorConstruction();
0065 ~DMXDetectorConstruction();
0066
0067 public:
0068
0069 G4VPhysicalVolume* Construct();
0070 void ConstructSDandField();
0071
0072 void SetRoomEnergyCut(G4double);
0073 void SetEnergyCut(G4double);
0074 void SetTimeCut(G4double);
0075 void SetRoomTimeCut(G4double);
0076
0077 private:
0078
0079 void DefineMaterials();
0080
0081 G4UserLimits* theUserLimitsForRoom;
0082 G4UserLimits* theUserLimitsForDetector;
0083
0084
0085 G4double theMaxTimeCuts;
0086 G4double theMaxStepSize;
0087 G4double theDetectorStepSize;
0088 G4double theMinEkine;
0089 G4double theRoomMinEkine;
0090
0091 G4double theRoomTimeCut;
0092
0093
0094 #include "DMXDetectorMaterial.ihh" // materials used
0095
0096 G4double sourceZ;
0097
0098 G4LogicalVolume* world_log;
0099 G4VPhysicalVolume* world_phys;
0100
0101 #include "DMXDetectorRoom.ihh"
0102
0103 G4LogicalVolume* lab_log;
0104 G4VPhysicalVolume* lab_phys;
0105
0106 G4LogicalVolume* LN2jacket_log;
0107 G4VPhysicalVolume* LN2jacket_phys;
0108 G4LogicalVolume* LN2vacuum_log;
0109 G4VPhysicalVolume* LN2vacuum_phys;
0110 G4LogicalVolume* LN2vessel_log;
0111 G4VPhysicalVolume* LN2vessel_phys;
0112 G4LogicalVolume* LN2_log;
0113 G4VPhysicalVolume* LN2_phys;
0114 G4LogicalVolume* jacket_log;
0115 G4VPhysicalVolume* jacket_phys;
0116 G4LogicalVolume* jacketflange_log;
0117 G4VPhysicalVolume* topjacketflange_phys;
0118 G4VPhysicalVolume* bottomjacketflange_phys;
0119 G4LogicalVolume* vacuum_log;
0120 G4VPhysicalVolume* vacuum_phys;
0121 G4LogicalVolume* copper_log;
0122 G4VPhysicalVolume* copper_phys;
0123 G4LogicalVolume* coppertop_log;
0124 G4VPhysicalVolume* coppertop_phys;
0125 G4LogicalVolume* vessel_log;
0126 G4VPhysicalVolume* vessel_phys;
0127 G4LogicalVolume* vesseltop_log1;
0128 G4VPhysicalVolume* vesseltop_phys1;
0129 G4LogicalVolume* vesseltop_log2;
0130 G4VPhysicalVolume* vesseltop_phys2;
0131 G4LogicalVolume* vesselbottom_log1;
0132 G4VPhysicalVolume* vesselbottom_phys1;
0133 G4LogicalVolume* vesselbottom_log2;
0134 G4VPhysicalVolume* vesselbottom_phys2;
0135 G4LogicalVolume* pmtvesselbottom_log1;
0136 G4VPhysicalVolume* pmtvesselbottom_phys1;
0137 G4LogicalVolume* pmtvesselbottom_log2;
0138 G4VPhysicalVolume* pmtvesselbottom_phys2;
0139 G4LogicalVolume* GXe_log;
0140 G4VPhysicalVolume* GXe_phys;
0141 G4LogicalVolume* gaslag_log;
0142 G4VPhysicalVolume* gaslag_phys;
0143 G4LogicalVolume* CuShield_log;
0144 G4VPhysicalVolume* CuShield_phys;
0145 G4LogicalVolume* LXe_log;
0146 G4VPhysicalVolume* LXe_phys;
0147 G4LogicalVolume* liqLag_log;
0148 G4VPhysicalVolume* liqLag_phys;
0149 G4LogicalVolume* alpha_log;
0150 G4VPhysicalVolume* alpha_phys;
0151 G4LogicalVolume* americium_log;
0152 G4VPhysicalVolume* americium_phys;
0153 G4LogicalVolume* ring_log;
0154 G4VPhysicalVolume* ring_phys_gas[2];
0155 G4VPhysicalVolume* ring_phys_liq[6];
0156 G4LogicalVolume* mirror_log;
0157 G4VPhysicalVolume* mirror_phys;
0158 G4LogicalVolume* grid1_log;
0159 G4VPhysicalVolume* grid1_phys;
0160 G4LogicalVolume* grid2_log;
0161 G4VPhysicalVolume* grid2_phys;
0162 G4LogicalVolume* pmt_log;
0163 G4VPhysicalVolume* pmt_phys;
0164 G4LogicalVolume* phcath_log;
0165 G4VPhysicalVolume* phcath_phys;
0166
0167 G4Cache<DMXScintSD*> LXeSD;
0168 G4Cache<DMXPmtSD*> pmtSD;
0169
0170
0171 DMXDetectorMessenger* detectorMessenger;
0172
0173 };
0174
0175 #endif
0176