Difference between revisions of "Day4 09/27/2011"

From New IAC Wiki
Jump to navigation Jump to search
Line 1: Line 1:
 
[https://wiki.iac.isu.edu/index.php/Simulations_of_Particle_Interactions_with_Matter._Dr._Forest._Fall_2011 go back]
 
[https://wiki.iac.isu.edu/index.php/Simulations_of_Particle_Interactions_with_Matter._Dr._Forest._Fall_2011 go back]
  
emacs note:
+
'''emacs note:'''
 
* C-x 1  //to remove bottom panel
 
* C-x 1  //to remove bottom panel
  
exampleN02
+
 
 +
'''ExN02ChamberParameterisation.cc change'''
 +
* NbOfChambers = 1;  //change number of chambers
 +
* add new materials
 +
  //Liquid Hydrogen
 +
  G4Material* LH2=
 +
  new G4Material("Hydrogen", z=1., a=1.01*g/mole, density = 0.07*g/cm3,
 +
                kStateGas, 3*kelvin, 1.7e5*pascal);
 +
 
 +
  //BadVacuum
 +
  density=universe_mean_density;
 +
  temperature=0.1*kelvin;
 +
  pressure=1.e-19*pascal;
 +
 
 +
  G4Material* BadVacuum=
 +
  new G4Material("Galactic", z=1., a=1.01*g/mole, density,
 +
                kStateGas, temperature, pressure);
 +
 
 +
 
 +
 
 +
'''exampleN02'''
 
* Idle> /tracking/verbose 2
 
* Idle> /tracking/verbose 2
 
* Idle> /run/beamOn 1
 
* Idle> /run/beamOn 1
 
* Idle> gun/energy 1 MeV
 
* Idle> gun/energy 1 MeV

Revision as of 22:21, 27 September 2011

go back

emacs note:

  • C-x 1 //to remove bottom panel


ExN02ChamberParameterisation.cc change

  • NbOfChambers = 1; //change number of chambers
  • add new materials
 //Liquid Hydrogen
 G4Material* LH2=
 new G4Material("Hydrogen", z=1., a=1.01*g/mole, density = 0.07*g/cm3,
                kStateGas, 3*kelvin, 1.7e5*pascal);
 //BadVacuum
 density=universe_mean_density;
 temperature=0.1*kelvin;
 pressure=1.e-19*pascal;
 G4Material* BadVacuum=
 new G4Material("Galactic", z=1., a=1.01*g/mole, density,
                kStateGas, temperature, pressure);


exampleN02

  • Idle> /tracking/verbose 2
  • Idle> /run/beamOn 1
  • Idle> gun/energy 1 MeV