#include "Geant4/G4Ions.hh"
#include "Geant4/G4OpticalPhoton.hh"
#include "Geant4/G4VProcess.hh"
#include "larsim/LegacyLArG4/NestAlg.h"
#include "larsim/LegacyLArG4/G4ThermalElectron.hh"
#include "CLHEP/Random/RandGauss.h"
#include "CLHEP/Random/RandFlat.h"
Go to the source code of this file.
#define BORDER 0*CLHEP::cm |
#define Density_LAr 1.393 |
#define Density_LKr 2.413 |
#define Density_LNe 1.207 |
#define EMASS 9.109e-31*CLHEP::kg |
#define GASGAP 0.25*CLHEP::cm |
#define MAX_ENE 1.*CLHEP::TeV |
#define MillerDriftSpeed true |
#define MIN_ENE -1*CLHEP::eV |
print PMT<< EOF< solids >< tubename="PMTVolume"rmax="(6*2.54)"z="(11.0*2.54)"deltaphi="2*(3.1415926535897)"aunit="rad"lunit="cm"/>< tubename="PMT_TPBCoating"rmax="(6.0*2.54)"z="0.01"deltaphi="2*(3.1415926535897)"aunit="rad"lunit="cm"/>< tubename="PMT_AcrylicPlate"rmax="(6.0*2.54)"z="(0.2)"deltaphi="2*(3.1415926535897)"aunit="rad"lunit="cm"/>< tubename="PMT_Stalk"rmax="(1.25*2.54)"z="(3.0*2.54)"deltaphi="2*(3.1415926535897)"aunit="rad"lunit="cm"/>< tubename="PMT_SteelBase"rmax="(6.0*2.54)"z="(1.5*2.54)"deltaphi="2*(3.1415926535897)"aunit="rad"lunit="cm"/>< tubename="PMT_Underside"rmax="2.54*4.0"z="2.54*2.5"deltaphi="2*3.1415926535897"aunit="rad"lunit="cm"/>< tubename="PMT_Lens"rmax="2.54*4.0"z="2.54*2.5"deltaphi="2*3.1415926535897"aunit="rad"lunit="cm"/></solids >< structure >< volumename="vol_PMT_TPBCoating">< materialrefref="TPB"/>< solidrefref="PMT_TPBCoating"/></volume >< volumename="vol_PMT_AcrylicPlate">< materialrefref="Acrylic"/>< solidrefref="PMT_AcrylicPlate"/></volume >< volumename="vol_PMT_Stalk">< materialrefref="Glass"/>< solidrefref="PMT_Stalk"/></volume >< volumename="vol_PMT_SteelBase">< materialrefref="STEEL_STAINLESS_Fe7Cr2Ni"/>< solidrefref="PMT_SteelBase"/></volume >< volumename="vol_PMT_Underside">< materialrefref="Glass"/>< solidrefref="PMT_Underside"/></volume >< volumename="volOpDetSensitive">< materialrefref="LAr"/>< solidrefref="PMT_Lens"/></volume >< volumename="volPMT">< materialrefref="LAr"/>< solidrefref="PMTVolume"/>< physvol >< volumerefref="vol_PMT_TPBCoating"/>< positionname="pos_PMT_TPBCoating"unit="cm"x="0"y="0"z="(5.5*2.54)-(0.5*0.005)"/></physvol >< physvol >< volumerefref="vol_PMT_AcrylicPlate"/>< positionname="pos_PMT_AcrylicPlate"unit="cm"x="0"y="0"z="(5.5*2.54)-0.01-(0.5*0.2)"/></physvol >< physvol >< volumerefref="vol_PMT_Stalk"/>< positionname="pos_PMT_Stalk"unit="cm"x="0"y="0"z="(3.0*2.54)-(5.5*2.54)"/></physvol >< physvol >< volumerefref="vol_PMT_SteelBase"/>< positionname="pos_PMT_SteelBase"unit="cm"x="0"y="0"z="(0.75*2.54)-(5.5*2.54)"/></physvol >< physvol >< volumerefref="volOpDetSensitive"/>< positionname="pos_PMT_Lens"unit="cm"x="0"y="0"z="(7.0*2.54)-(5.5*2.54)"/></physvol >< physvol >< volumerefref="vol_PMT_Underside"/>< positionname="pos_PMT_Underside"unit="cm"x="0"y="0"z="(7.0*2.54)-(5.5*2.54)"/></physvol ></volume ></structure > EOF sub gen_cryostat() 0 |
#define R_MAX 1*CLHEP::km |
#define R_TOL 0.2*CLHEP::mm |
G4double UnivScreenFunc |
( |
G4double |
E, |
|
|
G4double |
Z, |
|
|
G4double |
A |
|
) |
| |
Definition at line 1253 of file NestAlg.cxx.
1254 G4double a_0 = 5.29e-11*
CLHEP::m; G4double
a = 0.626*a_0*pow(Z,(-1./3.));
1255 G4double epsilon_0 = 8.854e-12*(CLHEP::farad/
CLHEP::m);
1256 G4double epsilon = (a*
E*2.*CLHEP::twopi*epsilon_0)/(2*pow(CLHEP::eplus,2.)*pow(Z,2.));
1257 G4double zeta_0 = pow(Z,(1./6.)); G4double m_N =
A*1.66e-27*CLHEP::kg;
1258 G4double hbar = 6.582e-16*CLHEP::eV*
CLHEP::s;
1262 G4double s_n = log(1+1.1383*epsilon)/(2.*(epsilon +
1263 0.01321*pow(epsilon,0.21226) +
1264 0.19593*sqrt(epsilon)));
1265 G4double s_e = (a_0*zeta_0/
a)*hbar*sqrt(8*epsilon*2.*CLHEP::twopi*epsilon_0/
1266 (a*m_N*pow(CLHEP::eplus,2.)));
1267 return 1.38e5*0.5*(1+tanh(50*epsilon-0.25))*epsilon*(s_e/s_n);
tuple m
now if test mode generate materials, CRT shell, world, gdml header else just generate CRT shell for u...
then echo File list $list not found else cat $list while read file do echo $file sed s
G4bool OutElectrons =true |
G4bool SinglePhase =false |
G4bool ThomasImelTail =true |