diff --git a/NPSimulation/src/Target.cc b/NPSimulation/src/Target.cc index 4d7973141db1caa41d1b866bb490cd4f5b91e633..e49953a671e9d17e341f1b01f26a40a247430e41 100644 --- a/NPSimulation/src/Target.cc +++ b/NPSimulation/src/Target.cc @@ -77,6 +77,7 @@ G4Material* Target::GetMaterialFromLibrary(G4String MaterialName, G4double Tempe if (Pressure == 1) { G4cout << "CryoTarget pressure set to 1 bar" << G4endl; + if (Temperature == 24) { density = 0.0020182 * g / cm3; G4cout << "CryoTarget temp set to 24K" << G4endl; @@ -91,14 +92,17 @@ G4Material* Target::GetMaterialFromLibrary(G4String MaterialName, G4double Tempe density = 0.001863 * g / cm3; G4cout << "CryoTarget temp set to 26K" << G4endl; } + + else if (Temperature == 30) { + density = 0.00020475 * g / cm3; + G4cout << "CryoTarget temp set to 30K" << G4endl; + } else { G4cout << ">>> !!!!WARNING INVALID TEMP FOR CRYOGENIC TARGET!!!! <<<" << G4endl; } } - - else if (Pressure == 0.5) { G4cout << "CryoTarget pressure set to 0.5 bar" << G4endl; @@ -117,6 +121,17 @@ G4Material* Target::GetMaterialFromLibrary(G4String MaterialName, G4double Tempe G4cout << "CryoTarget temp set to 26K" << G4endl; } + + else if (Pressure == 0.7) { + G4cout << "CryoTarget pressure set to 0.7 bar" << G4endl; + + if (Temperature == 26) { + density = 0.0013125 * g / cm3; + G4cout << "CryoTarget temp set to 26K" << G4endl; + } + } + + else { G4cout << ">>> !!!!WARNING INVALID TEMP FOR CRYOGENIC TARGET!!!! <<<" << G4endl; }