Difference between revisions of "LH2 target"
Jump to navigation
Jump to search
(Created page with "===Detector Material and Construction=== Using GEANT4, the '''ExampleN02''' file was edited to run for a NH3 target. The file '''ExN02DetectorConstruction.cc''' was edited with …") |
|||
| Line 1: | Line 1: | ||
| + | ===Detector Material and Construction=== | ||
| + | Using GEANT4, the '''ExampleN02''' file was edited to run for a NH3 target. The file '''ExN02DetectorConstruction.cc''' was edited with | ||
| + | |||
| + | <pre> | ||
| + | //--------- Material definition --------- | ||
| + | |||
| + | G4double a, z; | ||
| + | G4double density, temperature, pressure; | ||
| + | |||
| + | //Liquid Hydrogen | ||
| + | G4Material* LH2 = new G4Material("Hydrogen", z=2., a=2.02*g/mole, density=0.07*g/cm3, kStateGas,3*kelvin,1.7e5*pascal); | ||
| + | </pre> | ||
| + | |||
| + | The target is a cylinder with a 1.5 cm diameter and 1 cm thickness following dimensions listed on page 8 of [[File:PHY02-33.pdf ]] | ||
| + | |||
| + | <pre> | ||
| + | //--------- Sizes of the principal geometrical components (solids) --------- | ||
| + | |||
| + | NbOfChambers = 1; | ||
| + | ChamberWidth = 1.5*cm; | ||
| + | ChamberSpacing = 40*cm; | ||
| + | |||
| + | fTrackerLength = (NbOfChambers+1)*ChamberSpacing; // Full length of Tracker | ||
| + | fTargetLength = 1.0 * cm; // Full length of Target | ||
| + | |||
| + | TargetMater = NH3; | ||
| + | ChamberMater = BadVacuum; | ||
| + | |||
| + | |||
| + | //fWorldLength= 1.2 *(fTargetLength+fTrackerLength); | ||
| + | fWorldLength= 1.2 *(10+fTrackerLength)+100 *cm; | ||
| + | |||
| + | G4double targetSize = 0.5*fTargetLength; // Half length of the Target | ||
| + | G4double trackerSize = 0.5*fTrackerLength; // Half length of the Tracker | ||
| + | </pre> | ||
| + | |||
===Detector Material and Construction=== | ===Detector Material and Construction=== | ||
Using GEANT4, the '''ExampleN02''' file was edited to run for a NH3 target. The file '''ExN02DetectorConstruction.cc''' was edited with | Using GEANT4, the '''ExampleN02''' file was edited to run for a NH3 target. The file '''ExN02DetectorConstruction.cc''' was edited with | ||
Revision as of 22:39, 28 March 2016
Detector Material and Construction
Using GEANT4, the ExampleN02 file was edited to run for a NH3 target. The file ExN02DetectorConstruction.cc was edited with
//--------- Material definition ---------
G4double a, z;
G4double density, temperature, pressure;
//Liquid Hydrogen
G4Material* LH2 = new G4Material("Hydrogen", z=2., a=2.02*g/mole, density=0.07*g/cm3, kStateGas,3*kelvin,1.7e5*pascal);
The target is a cylinder with a 1.5 cm diameter and 1 cm thickness following dimensions listed on page 8 of File:PHY02-33.pdf
//--------- Sizes of the principal geometrical components (solids) --------- NbOfChambers = 1; ChamberWidth = 1.5*cm; ChamberSpacing = 40*cm; fTrackerLength = (NbOfChambers+1)*ChamberSpacing; // Full length of Tracker fTargetLength = 1.0 * cm; // Full length of Target TargetMater = NH3; ChamberMater = BadVacuum; //fWorldLength= 1.2 *(fTargetLength+fTrackerLength); fWorldLength= 1.2 *(10+fTrackerLength)+100 *cm; G4double targetSize = 0.5*fTargetLength; // Half length of the Target G4double trackerSize = 0.5*fTrackerLength; // Half length of the Tracker
Detector Material and Construction
Using GEANT4, the ExampleN02 file was edited to run for a NH3 target. The file ExN02DetectorConstruction.cc was edited with
//--------- Material definition ---------
G4double a, z;
G4double density, temperature, pressure;
//Liquid Hydrogen
G4Material* LH2 = new G4Material("Hydrogen", z=2., a=2.02*g/mole, density=0.07*g/cm3, kStateGas,3*kelvin,1.7e5*pascal);
The target is a cylinder with a 1.5 cm diameter and 1 cm thickness following dimensions listed on page 8 of File:PHY02-33.pdf
//--------- Sizes of the principal geometrical components (solids) --------- NbOfChambers = 1; ChamberWidth = 1.5*cm; ChamberSpacing = 40*cm; fTrackerLength = (NbOfChambers+1)*ChamberSpacing; // Full length of Tracker fTargetLength = 1.0 * cm; // Full length of Target TargetMater = NH3; ChamberMater = BadVacuum; //fWorldLength= 1.2 *(fTargetLength+fTrackerLength); fWorldLength= 1.2 *(10+fTrackerLength)+100 *cm; G4double targetSize = 0.5*fTargetLength; // Half length of the Target G4double trackerSize = 0.5*fTrackerLength; // Half length of the Tracker