Changeset 1230 for trunk/examples/extended/optical/LXe/src
- Timestamp:
- Jan 8, 2010, 3:02:48 PM (15 years ago)
- Location:
- trunk/examples/extended/optical/LXe/src
- Files:
-
- 6 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/examples/extended/optical/LXe/src/LXeDetectorConstruction.cc
r807 r1230 140 140 LXe_mt->AddConstProperty("YIELDRATIO",1.0); 141 141 LXe->SetMaterialPropertiesTable(LXe_mt); 142 143 // Set the Birks Constant for the LXe scintillator 144 145 LXe->GetIonisation()->SetBirksConstant(0.126*mm/MeV); 142 146 143 147 G4double Glass_RIND[LXe_NUMENTRIES]={1.49,1.49,1.49}; … … 171 175 Pstyrene->SetMaterialPropertiesTable(MPTPStyrene); 172 176 177 // Set the Birks Constant for the Polystyrene scintillator 178 179 Pstyrene->GetIonisation()->SetBirksConstant(0.126*mm/MeV); 180 173 181 G4double RefractiveIndexFiber[WLS_NUMENTRIES]={ 1.60, 1.60, 1.60, 1.60}; 174 182 G4double AbsFiber[WLS_NUMENTRIES]={9.00*m,9.00*m,0.1*mm,0.1*mm}; … … 343 351 G4LogicalSkinSurface::CleanSurfaceTable(); 344 352 G4LogicalBorderSurface::CleanSurfaceTable(); 353 G4SurfaceProperty::CleanSurfacePropertyTable(); 345 354 346 355 //define new one -
trunk/examples/extended/optical/LXe/src/LXeEMPhysics.cc
r807 r1230 74 74 75 75 // Electron physics 76 theElectronMultipleScattering = new G4 MultipleScattering();76 theElectronMultipleScattering = new G4eMultipleScattering(); 77 77 theElectronIonisation = new G4eIonisation(); 78 78 theElectronBremsStrahlung = new G4eBremsstrahlung(); 79 79 80 80 //Positron physics 81 thePositronMultipleScattering = new G4 MultipleScattering();81 thePositronMultipleScattering = new G4eMultipleScattering(); 82 82 thePositronIonisation = new G4eIonisation(); 83 83 thePositronBremsStrahlung = new G4eBremsstrahlung(); -
trunk/examples/extended/optical/LXe/src/LXeMainVolume.cc
r807 r1230 266 266 //**Photocathode surface properties 267 267 G4double photocath_EFF[num]={1.,1.}; //Enables 'detection' of photons 268 G4double photocath_REFL[num]={0.,0.}; 268 G4double photocath_ReR[num]={1.92,1.92}; 269 G4double photocath_ImR[num]={1.69,1.69}; 269 270 G4MaterialPropertiesTable* photocath_mt = new G4MaterialPropertiesTable(); 270 271 photocath_mt->AddProperty("EFFICIENCY",Ephoton,photocath_EFF,num); 271 photocath_mt->AddProperty("REFLECTIVITY",Ephoton,photocath_REFL,num); 272 photocath_mt->AddProperty("REALRINDEX",Ephoton,photocath_ReR,num); 273 photocath_mt->AddProperty("IMAGINARYRINDEX",Ephoton,photocath_ImR,num); 272 274 G4OpticalSurface* photocath_opsurf= 273 275 new G4OpticalSurface("photocath_opsurf",glisur,polished, -
trunk/examples/extended/optical/LXe/src/LXeMuonPhysics.cc
r807 r1230 63 63 { 64 64 fMuPlusIonisation = new G4MuIonisation(); 65 fMuPlusMultipleScattering = new G4Mu ltipleScattering();65 fMuPlusMultipleScattering = new G4MuMultipleScattering(); 66 66 fMuPlusBremsstrahlung=new G4MuBremsstrahlung(); 67 67 fMuPlusPairProduction= new G4MuPairProduction(); 68 68 69 69 fMuMinusIonisation = new G4MuIonisation(); 70 fMuMinusMultipleScattering = new G4Mu ltipleScattering;70 fMuMinusMultipleScattering = new G4MuMultipleScattering; 71 71 fMuMinusBremsstrahlung = new G4MuBremsstrahlung(); 72 72 fMuMinusPairProduction = new G4MuPairProduction(); -
trunk/examples/extended/optical/LXe/src/LXePMTSD.cc
r807 r1230 65 65 66 66 //_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_ 67 G4bool LXePMTSD::ProcessHits(G4Step* aStep,G4TouchableHistory* ROhist){68 return ProcessHits_constStep(aStep,ROhist);67 G4bool LXePMTSD::ProcessHits(G4Step* ,G4TouchableHistory* ){ 68 return false; 69 69 } 70 70 … … 120 120 } 121 121 122 123 122 return true; 124 123 } -
trunk/examples/extended/optical/LXe/src/LXePhysicsList.cc
r807 r1230 26 26 #include "LXePhysicsList.hh" 27 27 28 #include "globals.hh"29 #include "G4ParticleDefinition.hh"30 #include "G4ProcessManager.hh"31 #include "G4ProcessVector.hh"32 #include "G4ParticleTypes.hh"33 #include "G4ParticleTable.hh"34 35 #include "G4Material.hh"36 #include "G4MaterialTable.hh"37 #include "G4ios.hh"38 #include <iomanip>39 40 28 #include "LXeGeneralPhysics.hh" 41 29 #include "LXeEMPhysics.hh" 42 30 #include "LXeMuonPhysics.hh" 43 #include "LXeOpticalPhysics.hh" 31 32 #include "G4OpticalPhysics.hh" 44 33 45 34 LXePhysicsList::LXePhysicsList(): G4VModularPhysicsList() … … 47 36 // default cut value (1.0mm) 48 37 defaultCutValue = 1.0*mm; 49 // SetVerboseLevel(1);50 38 51 39 // General Physics … … 56 44 57 45 // Muon Physics 58 RegisterPhysics( 46 RegisterPhysics( new LXeMuonPhysics("muon")); 59 47 60 // Optical Physics 61 RegisterPhysics( new LXeOpticalPhysics("optical")); 48 // Optical Physics 49 G4OpticalPhysics* opticalPhysics = new G4OpticalPhysics(); 50 RegisterPhysics( opticalPhysics ); 51 52 opticalPhysics->SetWLSTimeProfile("delta"); 53 54 opticalPhysics->SetScintillationYieldFactor(1.0); 55 opticalPhysics->SetScintillationExcitationRatio(0.0); 56 57 opticalPhysics->SetMaxNumPhotonsPerStep(100); 58 opticalPhysics->SetMaxBetaChangePerStep(10.0); 59 60 opticalPhysics->SetTrackSecondariesFirst(true); 62 61 63 62 }
Note: See TracChangeset
for help on using the changeset viewer.