Import Geant4 10.3.0 source tree
This commit is contained in:
@@ -9,6 +9,19 @@ $Id: History 70524 2013-05-31 16:36:26Z gcosmo $
|
||||
Package History file
|
||||
--------------------
|
||||
|
||||
07 Nov 2016 - S.Incerti - tag microbeam-V10-02-04
|
||||
- correct warnings from clang compilers
|
||||
|
||||
21 Oct 2016 - S.Incerti - tag microbeam-V10-02-03
|
||||
- correct use of particleIterator as required by clang39
|
||||
|
||||
19 Oct 2016 - S.Incerti - tag microbeam-V10-02-02
|
||||
- relaxed conditions on max step size and magnetic
|
||||
field parameters in DetectorConstruction
|
||||
|
||||
25 Aug 2016 - S.Incerti - tag microbeam-V10-02-01
|
||||
- updated plot.C foor ROOT v6
|
||||
|
||||
02 Mar 2016 - S.Incerti - tag microbeam-V10-02-00
|
||||
- removed exp
|
||||
|
||||
|
||||
@@ -223,7 +223,7 @@ private:
|
||||
|
||||
// FROM NANOBEAM EX. TUNINGS
|
||||
|
||||
G4PropagatorInField * fPropInField;
|
||||
// G4PropagatorInField * fPropInField;
|
||||
|
||||
//
|
||||
|
||||
|
||||
Executable
+122
@@ -0,0 +1,122 @@
|
||||
//
|
||||
// ********************************************************************
|
||||
// * License and Disclaimer *
|
||||
// * *
|
||||
// * The Geant4 software is copyright of the Copyright Holders of *
|
||||
// * the Geant4 Collaboration. It is provided under the terms and *
|
||||
// * conditions of the Geant4 Software License, included in the file *
|
||||
// * LICENSE and available at http://cern.ch/geant4/license . These *
|
||||
// * include a list of copyright holders. *
|
||||
// * *
|
||||
// * Neither the authors of this software system, nor their employing *
|
||||
// * institutes,nor the agencies providing financial support for this *
|
||||
// * work make any representation or warranty, express or implied, *
|
||||
// * regarding this software system or assume any liability for its *
|
||||
// * use. Please see the license in the file LICENSE and URL above *
|
||||
// * for the full disclaimer and the limitation of liability. *
|
||||
// * *
|
||||
// * This code implementation is the result of the scientific and *
|
||||
// * technical work of the GEANT4 collaboration. *
|
||||
// * By using, copying, modifying or distributing the software (or *
|
||||
// * any work based on the software) you agree to acknowledge its *
|
||||
// * use in resulting scientific publications, and indicate your *
|
||||
// * acceptance of all terms of the Geant4 Software license. *
|
||||
// ********************************************************************
|
||||
//
|
||||
// This example is provided by the Geant4-DNA collaboration
|
||||
// Any report or published results obtained using the Geant4-DNA software
|
||||
// shall cite the following Geant4-DNA collaboration publication:
|
||||
// Med. Phys. 37 (2010) 4692-4708
|
||||
// The Geant4-DNA web site is available at http://geant4-dna.org
|
||||
//
|
||||
// If you use this example, please cite the following publication:
|
||||
// Rad. Prot. Dos. 133 (2009) 2-11
|
||||
|
||||
#ifdef G4MULTITHREADED
|
||||
#include "G4MTRunManager.hh"
|
||||
#else
|
||||
#include "G4RunManager.hh"
|
||||
#endif
|
||||
|
||||
#include "G4UImanager.hh"
|
||||
#include "G4UIExecutive.hh"
|
||||
|
||||
#ifdef G4VIS_USE
|
||||
#include "G4VisExecutive.hh"
|
||||
#endif
|
||||
|
||||
#include "ActionInitialization.hh"
|
||||
#include "DetectorConstruction.hh"
|
||||
#include "PhysicsList.hh"
|
||||
|
||||
int main(int argc,char** argv) {
|
||||
|
||||
// Detect interactive mode (if no arguments) and define UI session
|
||||
//
|
||||
G4UIExecutive* ui = 0;
|
||||
if ( argc == 1 ) {
|
||||
ui = new G4UIExecutive(argc, argv);
|
||||
}
|
||||
|
||||
// Choose the Random engine
|
||||
|
||||
G4Random::setTheEngine(new CLHEP::RanecuEngine);
|
||||
|
||||
// Construct the default run manager
|
||||
|
||||
#ifdef G4MULTITHREADED
|
||||
G4MTRunManager* runManager = new G4MTRunManager;
|
||||
// runManager->SetNumberOfThreads(2);
|
||||
#else
|
||||
G4RunManager* runManager = new G4RunManager;
|
||||
#endif
|
||||
|
||||
// Set mandatory user initialization classes
|
||||
|
||||
DetectorConstruction* detector = new DetectorConstruction;
|
||||
runManager->SetUserInitialization(detector);
|
||||
|
||||
runManager->SetUserInitialization(new PhysicsList);
|
||||
|
||||
// User action initialization
|
||||
|
||||
runManager->SetUserInitialization(new ActionInitialization(detector));
|
||||
|
||||
// Initialize G4 kernel
|
||||
|
||||
runManager->Initialize();
|
||||
|
||||
#ifdef G4VIS_USE
|
||||
G4VisManager* visManager = new G4VisExecutive;
|
||||
visManager->Initialize();
|
||||
#endif
|
||||
|
||||
// Get the pointer to the User Interface manager
|
||||
|
||||
// Get the pointer to the User Interface manager
|
||||
G4UImanager* UImanager = G4UImanager::GetUIpointer();
|
||||
|
||||
// Process macro or start UI session
|
||||
//
|
||||
if ( ! ui ) {
|
||||
// batch mode
|
||||
G4String command = "/control/execute ";
|
||||
G4String fileName = argv[1];
|
||||
UImanager->ApplyCommand(command+fileName);
|
||||
}
|
||||
else {
|
||||
// interactive mode
|
||||
UImanager->ApplyCommand("/control/execute vis.mac");
|
||||
ui->SessionStart();
|
||||
delete ui;
|
||||
}
|
||||
|
||||
#ifdef G4VIS_USE
|
||||
delete visManager;
|
||||
#endif
|
||||
delete runManager;
|
||||
|
||||
return 0;
|
||||
|
||||
}
|
||||
|
||||
@@ -4,7 +4,7 @@
|
||||
############################################
|
||||
|
||||
*************************************************************
|
||||
Geant4 version Name: geant4-10-03-beta-01 (30-June-2016)
|
||||
Geant4 version Name: geant4-10-03 (9-December-2016)
|
||||
Copyright : Geant4 Collaboration
|
||||
Reference : NIM A 506 (2003), 250-303
|
||||
WWW : http://cern.ch/geant4
|
||||
@@ -349,14 +349,14 @@ Registered model factories:
|
||||
drawByCharge
|
||||
drawByOriginVolume
|
||||
drawByParticleID
|
||||
drawByTouchedVolume
|
||||
drawByEncounteredVolume
|
||||
|
||||
Registered filter factories:
|
||||
attributeFilter
|
||||
chargeFilter
|
||||
originVolumeFilter
|
||||
particleFilter
|
||||
touchedVolumeFilter
|
||||
encounteredVolumeFilter
|
||||
|
||||
You have successfully registered the following user vis actions.
|
||||
Run Duration User Vis Actions: none
|
||||
@@ -373,112 +373,112 @@ Available colours:
|
||||
### === Ignore cuts flag: 0
|
||||
|
||||
phot: for gamma SubType= 12 BuildTable= 0
|
||||
LambdaPrime table from 200 keV to 10 TeV in 154 bins
|
||||
LambdaPrime table from 200 keV to 1 TeV in 134 bins
|
||||
===== EM models for the G4Region DefaultRegionForTheWorld ======
|
||||
LivermorePhElectric : Emin= 0 eV Emax= 10 TeV AngularGenSauterGavrila FluoActive
|
||||
LivermorePhElectric : Emin= 0 eV Emax= 1 TeV AngularGenSauterGavrila FluoActive
|
||||
|
||||
compt: for gamma SubType= 13 BuildTable= 1
|
||||
Lambda table from 100 eV to 1 MeV, 20 bins per decade, spline: 1
|
||||
LambdaPrime table from 1 MeV to 10 TeV in 140 bins
|
||||
LambdaPrime table from 1 MeV to 1 TeV in 120 bins
|
||||
===== EM models for the G4Region DefaultRegionForTheWorld ======
|
||||
LivermoreCompton : Emin= 0 eV Emax= 10 TeV FluoActive
|
||||
LivermoreCompton : Emin= 0 eV Emax= 1 TeV FluoActive
|
||||
|
||||
conv: for gamma SubType= 14 BuildTable= 1
|
||||
Lambda table from 1.022 MeV to 10 TeV, 20 bins per decade, spline: 1
|
||||
Lambda table from 1.022 MeV to 1 TeV, 22 bins per decade, spline: 1
|
||||
===== EM models for the G4Region DefaultRegionForTheWorld ======
|
||||
LivermoreConversion : Emin= 0 eV Emax= 80 GeV
|
||||
BetheHeitlerLPM : Emin= 80 GeV Emax= 10 TeV
|
||||
BetheHeitlerLPM : Emin= 80 GeV Emax= 1 TeV
|
||||
|
||||
Rayl: for gamma SubType= 11 BuildTable= 1
|
||||
Lambda table from 100 eV to 100 keV, 20 bins per decade, spline: 0
|
||||
LambdaPrime table from 100 keV to 10 TeV in 160 bins
|
||||
LambdaPrime table from 100 keV to 1 TeV in 140 bins
|
||||
===== EM models for the G4Region DefaultRegionForTheWorld ======
|
||||
LivermoreRayleigh : Emin= 0 eV Emax= 10 TeV CullenGenerator
|
||||
LivermoreRayleigh : Emin= 0 eV Emax= 1 TeV CullenGenerator
|
||||
|
||||
msc: for e- SubType= 10
|
||||
RangeFactor= 0.02, stepLimitType: 3, latDisplacement: 1, skin= 1, geomFactor= 2.5
|
||||
===== EM models for the G4Region DefaultRegionForTheWorld ======
|
||||
UrbanMsc : Emin= 0 eV Emax= 100 MeV Table with 120 bins Emin= 100 eV Emax= 100 MeV
|
||||
WentzelVIUni : Emin= 100 MeV Emax= 10 TeV Table with 100 bins Emin= 100 MeV Emax= 10 TeV
|
||||
WentzelVIUni : Emin= 100 MeV Emax= 1 TeV Table with 80 bins Emin= 100 MeV Emax= 1 TeV
|
||||
|
||||
eIoni: for e- SubType= 2
|
||||
dE/dx and range tables from 100 eV to 10 TeV in 220 bins
|
||||
Lambda tables from threshold to 10 TeV, 20 bins per decade, spline: 1
|
||||
dE/dx and range tables from 100 eV to 1 TeV in 200 bins
|
||||
Lambda tables from threshold to 1 TeV, 20 bins per decade, spline: 1
|
||||
finalRange(mm)= 0.1, dRoverRange= 0.2, integral: 1, fluct: 1, linLossLimit= 0.01
|
||||
===== EM models for the G4Region DefaultRegionForTheWorld ======
|
||||
LowEnergyIoni : Emin= 0 eV Emax= 100 keV deltaVI
|
||||
MollerBhabha : Emin= 100 keV Emax= 10 TeV deltaVI
|
||||
MollerBhabha : Emin= 100 keV Emax= 1 TeV deltaVI
|
||||
|
||||
eBrem: for e- SubType= 3
|
||||
dE/dx and range tables from 100 eV to 10 TeV in 220 bins
|
||||
Lambda tables from threshold to 10 TeV, 20 bins per decade, spline: 1
|
||||
LPM flag: 1 for E > 1 GeV, HighEnergyThreshold(GeV)= 10000
|
||||
dE/dx and range tables from 100 eV to 1 TeV in 200 bins
|
||||
Lambda tables from threshold to 1 TeV, 20 bins per decade, spline: 1
|
||||
LPM flag: 1 for E > 1 GeV, VertexHighEnergyTh(GeV)= 100000
|
||||
===== EM models for the G4Region DefaultRegionForTheWorld ======
|
||||
LowEnBrem : Emin= 0 eV Emax= 1 GeV AngularGen2BS
|
||||
eBremLPM : Emin= 1 GeV Emax= 10 TeV DipBustGen
|
||||
eBremLPM : Emin= 1 GeV Emax= 1 TeV DipBustGen
|
||||
|
||||
CoulombScat: for e-, integral: 1 SubType= 1 BuildTable= 1
|
||||
Lambda table from 100 MeV to 10 TeV, 20 bins per decade, spline: 1
|
||||
Lambda table from 100 MeV to 1 TeV, 20 bins per decade, spline: 1
|
||||
180 < Theta(degree) < 180 pLimit(GeV^1)= 0.139531
|
||||
===== EM models for the G4Region DefaultRegionForTheWorld ======
|
||||
eCoulombScattering : Emin= 100 MeV Emax= 10 TeV
|
||||
eCoulombScattering : Emin= 100 MeV Emax= 1 TeV
|
||||
|
||||
msc: for e+ SubType= 10
|
||||
RangeFactor= 0.02, stepLimitType: 3, latDisplacement: 1, skin= 1, geomFactor= 2.5
|
||||
===== EM models for the G4Region DefaultRegionForTheWorld ======
|
||||
UrbanMsc : Emin= 0 eV Emax= 100 MeV Table with 120 bins Emin= 100 eV Emax= 100 MeV
|
||||
WentzelVIUni : Emin= 100 MeV Emax= 10 TeV Table with 100 bins Emin= 100 MeV Emax= 10 TeV
|
||||
WentzelVIUni : Emin= 100 MeV Emax= 1 TeV Table with 80 bins Emin= 100 MeV Emax= 1 TeV
|
||||
|
||||
eIoni: for e+ SubType= 2
|
||||
dE/dx and range tables from 100 eV to 10 TeV in 220 bins
|
||||
Lambda tables from threshold to 10 TeV, 20 bins per decade, spline: 1
|
||||
dE/dx and range tables from 100 eV to 1 TeV in 200 bins
|
||||
Lambda tables from threshold to 1 TeV, 20 bins per decade, spline: 1
|
||||
finalRange(mm)= 0.1, dRoverRange= 0.2, integral: 1, fluct: 1, linLossLimit= 0.01
|
||||
===== EM models for the G4Region DefaultRegionForTheWorld ======
|
||||
MollerBhabha : Emin= 0 eV Emax= 10 TeV deltaVI
|
||||
MollerBhabha : Emin= 0 eV Emax= 1 TeV deltaVI
|
||||
|
||||
eBrem: for e+ SubType= 3
|
||||
dE/dx and range tables from 100 eV to 10 TeV in 220 bins
|
||||
Lambda tables from threshold to 10 TeV, 20 bins per decade, spline: 1
|
||||
LPM flag: 1 for E > 1 GeV, HighEnergyThreshold(GeV)= 10000
|
||||
dE/dx and range tables from 100 eV to 1 TeV in 200 bins
|
||||
Lambda tables from threshold to 1 TeV, 20 bins per decade, spline: 1
|
||||
LPM flag: 1 for E > 1 GeV, VertexHighEnergyTh(GeV)= 100000
|
||||
===== EM models for the G4Region DefaultRegionForTheWorld ======
|
||||
eBremSB : Emin= 0 eV Emax= 1 GeV DipBustGen
|
||||
eBremLPM : Emin= 1 GeV Emax= 10 TeV DipBustGen
|
||||
eBremLPM : Emin= 1 GeV Emax= 1 TeV DipBustGen
|
||||
|
||||
annihil: for e+, integral: 1 SubType= 5 BuildTable= 0
|
||||
===== EM models for the G4Region DefaultRegionForTheWorld ======
|
||||
eplus2gg : Emin= 0 eV Emax= 10 TeV
|
||||
eplus2gg : Emin= 0 eV Emax= 1 TeV
|
||||
|
||||
CoulombScat: for e+, integral: 1 SubType= 1 BuildTable= 1
|
||||
Lambda table from 100 MeV to 10 TeV, 20 bins per decade, spline: 1
|
||||
Lambda table from 100 MeV to 1 TeV, 20 bins per decade, spline: 1
|
||||
180 < Theta(degree) < 180 pLimit(GeV^1)= 0.139531
|
||||
===== EM models for the G4Region DefaultRegionForTheWorld ======
|
||||
eCoulombScattering : Emin= 100 MeV Emax= 10 TeV
|
||||
eCoulombScattering : Emin= 100 MeV Emax= 1 TeV
|
||||
|
||||
msc: for proton SubType= 10
|
||||
RangeFactor= 0.2, stepLimitType: 0, latDisplacement: 0
|
||||
RangeFactor= 0.2, stepLimitType: 0, latDisplacement: 1
|
||||
===== EM models for the G4Region DefaultRegionForTheWorld ======
|
||||
UrbanMsc : Emin= 0 eV Emax= 10 TeV Table with 220 bins Emin= 100 eV Emax= 10 TeV
|
||||
UrbanMsc : Emin= 0 eV Emax= 1 TeV Table with 200 bins Emin= 100 eV Emax= 1 TeV
|
||||
|
||||
hIoni: for proton SubType= 2
|
||||
dE/dx and range tables from 100 eV to 10 TeV in 220 bins
|
||||
Lambda tables from threshold to 10 TeV, 20 bins per decade, spline: 1
|
||||
dE/dx and range tables from 100 eV to 1 TeV in 200 bins
|
||||
Lambda tables from threshold to 1 TeV, 20 bins per decade, spline: 1
|
||||
finalRange(mm)= 0.05, dRoverRange= 0.2, integral: 1, fluct: 1, linLossLimit= 0.01
|
||||
===== EM models for the G4Region DefaultRegionForTheWorld ======
|
||||
Bragg : Emin= 0 eV Emax= 2 MeV deltaVI
|
||||
BetheBloch : Emin= 2 MeV Emax= 10 TeV deltaVI
|
||||
BetheBloch : Emin= 2 MeV Emax= 1 TeV deltaVI
|
||||
|
||||
hBrems: for proton SubType= 3
|
||||
dE/dx and range tables from 100 eV to 10 TeV in 220 bins
|
||||
Lambda tables from threshold to 10 TeV, 20 bins per decade, spline: 1
|
||||
dE/dx and range tables from 100 eV to 1 TeV in 200 bins
|
||||
Lambda tables from threshold to 1 TeV, 20 bins per decade, spline: 1
|
||||
===== EM models for the G4Region DefaultRegionForTheWorld ======
|
||||
hBrem : Emin= 0 eV Emax= 10 TeV
|
||||
hBrem : Emin= 0 eV Emax= 1 TeV
|
||||
|
||||
hPairProd: for proton SubType= 4
|
||||
dE/dx and range tables from 100 eV to 10 TeV in 220 bins
|
||||
Lambda tables from threshold to 10 TeV, 20 bins per decade, spline: 1
|
||||
Sampling table 13x1001 from 7.50618 GeV to 10 TeV
|
||||
dE/dx and range tables from 100 eV to 1 TeV in 200 bins
|
||||
Lambda tables from threshold to 1 TeV, 20 bins per decade, spline: 1
|
||||
Sampling table 9x1001 from 7.50618 GeV to 1 TeV
|
||||
===== EM models for the G4Region DefaultRegionForTheWorld ======
|
||||
hPairProd : Emin= 0 eV Emax= 10 TeV
|
||||
hPairProd : Emin= 0 eV Emax= 1 TeV
|
||||
|
||||
nuclearStopping: for proton SubType= 8 BuildTable= 0
|
||||
===== EM models for the G4Region DefaultRegionForTheWorld ======
|
||||
@@ -487,235 +487,235 @@ nuclearStopping: for proton SubType= 8 BuildTable= 0
|
||||
msc: for GenericIon SubType= 10
|
||||
RangeFactor= 0.2, stepLimitType: 0, latDisplacement: 0
|
||||
===== EM models for the G4Region DefaultRegionForTheWorld ======
|
||||
UrbanMsc : Emin= 0 eV Emax= 10 TeV
|
||||
UrbanMsc : Emin= 0 eV Emax= 1 TeV
|
||||
|
||||
ionIoni: for GenericIon SubType= 2
|
||||
dE/dx and range tables from 100 eV to 10 TeV in 220 bins
|
||||
Lambda tables from threshold to 10 TeV, 20 bins per decade, spline: 1
|
||||
dE/dx and range tables from 100 eV to 1 TeV in 200 bins
|
||||
Lambda tables from threshold to 1 TeV, 20 bins per decade, spline: 1
|
||||
finalRange(mm)= 0.001, dRoverRange= 0.1, integral: 1, fluct: 1, linLossLimit= 0.02
|
||||
===== EM models for the G4Region DefaultRegionForTheWorld ======
|
||||
ParamICRU73 : Emin= 0 eV Emax= 10 TeV deltaVI
|
||||
ParamICRU73 : Emin= 0 eV Emax= 1 TeV deltaVI
|
||||
|
||||
nuclearStopping: for GenericIon SubType= 8 BuildTable= 0
|
||||
===== EM models for the G4Region DefaultRegionForTheWorld ======
|
||||
ICRU49NucStopping : Emin= 0 eV Emax= 1 MeV
|
||||
|
||||
msc: for alpha SubType= 10
|
||||
RangeFactor= 0.2, stepLimitType: 0, latDisplacement: 0
|
||||
RangeFactor= 0.2, stepLimitType: 0, latDisplacement: 1
|
||||
===== EM models for the G4Region DefaultRegionForTheWorld ======
|
||||
UrbanMsc : Emin= 0 eV Emax= 10 TeV Table with 220 bins Emin= 100 eV Emax= 10 TeV
|
||||
UrbanMsc : Emin= 0 eV Emax= 1 TeV Table with 200 bins Emin= 100 eV Emax= 1 TeV
|
||||
|
||||
ionIoni: for alpha SubType= 2
|
||||
dE/dx and range tables from 100 eV to 10 TeV in 220 bins
|
||||
Lambda tables from threshold to 10 TeV, 20 bins per decade, spline: 1
|
||||
dE/dx and range tables from 100 eV to 1 TeV in 200 bins
|
||||
Lambda tables from threshold to 1 TeV, 20 bins per decade, spline: 1
|
||||
finalRange(mm)= 0.01, dRoverRange= 0.1, integral: 1, fluct: 1, linLossLimit= 0.02
|
||||
===== EM models for the G4Region DefaultRegionForTheWorld ======
|
||||
BraggIon : Emin= 0 eV Emax= 7.9452 MeV deltaVI
|
||||
BetheBloch : Emin= 7.9452 MeV Emax= 10 TeV deltaVI
|
||||
BetheBloch : Emin= 7.9452 MeV Emax= 1 TeV deltaVI
|
||||
|
||||
nuclearStopping: for alpha SubType= 8 BuildTable= 0
|
||||
===== EM models for the G4Region DefaultRegionForTheWorld ======
|
||||
ICRU49NucStopping : Emin= 0 eV Emax= 1 MeV
|
||||
|
||||
msc: for anti_proton SubType= 10
|
||||
RangeFactor= 0.2, stepLimitType: 0, latDisplacement: 0
|
||||
RangeFactor= 0.2, stepLimitType: 0, latDisplacement: 1
|
||||
===== EM models for the G4Region DefaultRegionForTheWorld ======
|
||||
UrbanMsc : Emin= 0 eV Emax= 10 TeV Table with 220 bins Emin= 100 eV Emax= 10 TeV
|
||||
UrbanMsc : Emin= 0 eV Emax= 1 TeV Table with 200 bins Emin= 100 eV Emax= 1 TeV
|
||||
|
||||
hIoni: for anti_proton SubType= 2
|
||||
dE/dx and range tables from 100 eV to 10 TeV in 220 bins
|
||||
Lambda tables from threshold to 10 TeV, 20 bins per decade, spline: 1
|
||||
dE/dx and range tables from 100 eV to 1 TeV in 200 bins
|
||||
Lambda tables from threshold to 1 TeV, 20 bins per decade, spline: 1
|
||||
finalRange(mm)= 0.05, dRoverRange= 0.2, integral: 1, fluct: 1, linLossLimit= 0.01
|
||||
===== EM models for the G4Region DefaultRegionForTheWorld ======
|
||||
ICRU73QO : Emin= 0 eV Emax= 2 MeV deltaVI
|
||||
BetheBloch : Emin= 2 MeV Emax= 10 TeV deltaVI
|
||||
BetheBloch : Emin= 2 MeV Emax= 1 TeV deltaVI
|
||||
|
||||
hBrems: for anti_proton SubType= 3
|
||||
dE/dx and range tables from 100 eV to 10 TeV in 220 bins
|
||||
Lambda tables from threshold to 10 TeV, 20 bins per decade, spline: 1
|
||||
dE/dx and range tables from 100 eV to 1 TeV in 200 bins
|
||||
Lambda tables from threshold to 1 TeV, 20 bins per decade, spline: 1
|
||||
===== EM models for the G4Region DefaultRegionForTheWorld ======
|
||||
hBrem : Emin= 0 eV Emax= 10 TeV
|
||||
hBrem : Emin= 0 eV Emax= 1 TeV
|
||||
|
||||
hPairProd: for anti_proton SubType= 4
|
||||
dE/dx and range tables from 100 eV to 10 TeV in 220 bins
|
||||
Lambda tables from threshold to 10 TeV, 20 bins per decade, spline: 1
|
||||
Sampling table 13x1001 from 7.50618 GeV to 10 TeV
|
||||
dE/dx and range tables from 100 eV to 1 TeV in 200 bins
|
||||
Lambda tables from threshold to 1 TeV, 20 bins per decade, spline: 1
|
||||
Sampling table 9x1001 from 7.50618 GeV to 1 TeV
|
||||
===== EM models for the G4Region DefaultRegionForTheWorld ======
|
||||
hPairProd : Emin= 0 eV Emax= 10 TeV
|
||||
hPairProd : Emin= 0 eV Emax= 1 TeV
|
||||
|
||||
nuclearStopping: for anti_proton SubType= 8 BuildTable= 0
|
||||
===== EM models for the G4Region DefaultRegionForTheWorld ======
|
||||
ICRU49NucStopping : Emin= 0 eV Emax= 1 MeV
|
||||
|
||||
msc: for kaon+ SubType= 10
|
||||
RangeFactor= 0.2, stepLimitType: 0, latDisplacement: 0
|
||||
RangeFactor= 0.2, stepLimitType: 0, latDisplacement: 1
|
||||
===== EM models for the G4Region DefaultRegionForTheWorld ======
|
||||
UrbanMsc : Emin= 0 eV Emax= 10 TeV Table with 220 bins Emin= 100 eV Emax= 10 TeV
|
||||
UrbanMsc : Emin= 0 eV Emax= 1 TeV Table with 200 bins Emin= 100 eV Emax= 1 TeV
|
||||
|
||||
hIoni: for kaon+ SubType= 2
|
||||
dE/dx and range tables from 100 eV to 10 TeV in 220 bins
|
||||
Lambda tables from threshold to 10 TeV, 20 bins per decade, spline: 1
|
||||
dE/dx and range tables from 100 eV to 1 TeV in 200 bins
|
||||
Lambda tables from threshold to 1 TeV, 20 bins per decade, spline: 1
|
||||
finalRange(mm)= 0.05, dRoverRange= 0.2, integral: 1, fluct: 1, linLossLimit= 0.01
|
||||
===== EM models for the G4Region DefaultRegionForTheWorld ======
|
||||
Bragg : Emin= 0 eV Emax= 1.05231 MeV deltaVI
|
||||
BetheBloch : Emin= 1.05231 MeV Emax= 10 TeV deltaVI
|
||||
BetheBloch : Emin= 1.05231 MeV Emax= 1 TeV deltaVI
|
||||
|
||||
hBrems: for kaon+ SubType= 3
|
||||
dE/dx and range tables from 100 eV to 10 TeV in 220 bins
|
||||
Lambda tables from threshold to 10 TeV, 20 bins per decade, spline: 1
|
||||
dE/dx and range tables from 100 eV to 1 TeV in 200 bins
|
||||
Lambda tables from threshold to 1 TeV, 20 bins per decade, spline: 1
|
||||
===== EM models for the G4Region DefaultRegionForTheWorld ======
|
||||
hBrem : Emin= 0 eV Emax= 10 TeV
|
||||
hBrem : Emin= 0 eV Emax= 1 TeV
|
||||
|
||||
hPairProd: for kaon+ SubType= 4
|
||||
dE/dx and range tables from 100 eV to 10 TeV in 220 bins
|
||||
Lambda tables from threshold to 10 TeV, 20 bins per decade, spline: 1
|
||||
Sampling table 14x1001 from 3.94942 GeV to 10 TeV
|
||||
dE/dx and range tables from 100 eV to 1 TeV in 200 bins
|
||||
Lambda tables from threshold to 1 TeV, 20 bins per decade, spline: 1
|
||||
Sampling table 10x1001 from 3.94942 GeV to 1 TeV
|
||||
===== EM models for the G4Region DefaultRegionForTheWorld ======
|
||||
hPairProd : Emin= 0 eV Emax= 10 TeV
|
||||
hPairProd : Emin= 0 eV Emax= 1 TeV
|
||||
|
||||
msc: for kaon- SubType= 10
|
||||
RangeFactor= 0.2, stepLimitType: 0, latDisplacement: 0
|
||||
RangeFactor= 0.2, stepLimitType: 0, latDisplacement: 1
|
||||
===== EM models for the G4Region DefaultRegionForTheWorld ======
|
||||
UrbanMsc : Emin= 0 eV Emax= 10 TeV Table with 220 bins Emin= 100 eV Emax= 10 TeV
|
||||
UrbanMsc : Emin= 0 eV Emax= 1 TeV Table with 200 bins Emin= 100 eV Emax= 1 TeV
|
||||
|
||||
hIoni: for kaon- SubType= 2
|
||||
dE/dx and range tables from 100 eV to 10 TeV in 220 bins
|
||||
Lambda tables from threshold to 10 TeV, 20 bins per decade, spline: 1
|
||||
dE/dx and range tables from 100 eV to 1 TeV in 200 bins
|
||||
Lambda tables from threshold to 1 TeV, 20 bins per decade, spline: 1
|
||||
finalRange(mm)= 0.05, dRoverRange= 0.2, integral: 1, fluct: 1, linLossLimit= 0.01
|
||||
===== EM models for the G4Region DefaultRegionForTheWorld ======
|
||||
ICRU73QO : Emin= 0 eV Emax= 1.05231 MeV deltaVI
|
||||
BetheBloch : Emin= 1.05231 MeV Emax= 10 TeV deltaVI
|
||||
BetheBloch : Emin= 1.05231 MeV Emax= 1 TeV deltaVI
|
||||
|
||||
hBrems: for kaon- SubType= 3
|
||||
dE/dx and range tables from 100 eV to 10 TeV in 220 bins
|
||||
Lambda tables from threshold to 10 TeV, 20 bins per decade, spline: 1
|
||||
dE/dx and range tables from 100 eV to 1 TeV in 200 bins
|
||||
Lambda tables from threshold to 1 TeV, 20 bins per decade, spline: 1
|
||||
===== EM models for the G4Region DefaultRegionForTheWorld ======
|
||||
hBrem : Emin= 0 eV Emax= 10 TeV
|
||||
hBrem : Emin= 0 eV Emax= 1 TeV
|
||||
|
||||
hPairProd: for kaon- SubType= 4
|
||||
dE/dx and range tables from 100 eV to 10 TeV in 220 bins
|
||||
Lambda tables from threshold to 10 TeV, 20 bins per decade, spline: 1
|
||||
Sampling table 14x1001 from 3.94942 GeV to 10 TeV
|
||||
dE/dx and range tables from 100 eV to 1 TeV in 200 bins
|
||||
Lambda tables from threshold to 1 TeV, 20 bins per decade, spline: 1
|
||||
Sampling table 10x1001 from 3.94942 GeV to 1 TeV
|
||||
===== EM models for the G4Region DefaultRegionForTheWorld ======
|
||||
hPairProd : Emin= 0 eV Emax= 10 TeV
|
||||
hPairProd : Emin= 0 eV Emax= 1 TeV
|
||||
|
||||
msc: for mu+ SubType= 10
|
||||
RangeFactor= 0.2, step limit type: 0, lateralDisplacement: 0, polarAngleLimit(deg)= 180
|
||||
RangeFactor= 0.2, step limit type: 0, lateralDisplacement: 1, polarAngleLimit(deg)= 180
|
||||
===== EM models for the G4Region DefaultRegionForTheWorld ======
|
||||
WentzelVIUni : Emin= 0 eV Emax= 10 TeV Table with 220 bins Emin= 100 eV Emax= 10 TeV
|
||||
WentzelVIUni : Emin= 0 eV Emax= 1 TeV Table with 200 bins Emin= 100 eV Emax= 1 TeV
|
||||
|
||||
muIoni: for mu+ SubType= 2
|
||||
dE/dx and range tables from 100 eV to 10 TeV in 220 bins
|
||||
Lambda tables from threshold to 10 TeV, 20 bins per decade, spline: 1
|
||||
dE/dx and range tables from 100 eV to 1 TeV in 200 bins
|
||||
Lambda tables from threshold to 1 TeV, 20 bins per decade, spline: 1
|
||||
finalRange(mm)= 0.05, dRoverRange= 0.2, integral: 1, fluct: 1, linLossLimit= 0.01
|
||||
===== EM models for the G4Region DefaultRegionForTheWorld ======
|
||||
Bragg : Emin= 0 eV Emax= 200 keV deltaVI
|
||||
BetheBloch : Emin= 200 keV Emax= 1 GeV deltaVI
|
||||
MuBetheBloch : Emin= 1 GeV Emax= 10 TeV
|
||||
MuBetheBloch : Emin= 1 GeV Emax= 1 TeV
|
||||
|
||||
muBrems: for mu+ SubType= 3
|
||||
dE/dx and range tables from 100 eV to 10 TeV in 220 bins
|
||||
Lambda tables from threshold to 10 TeV, 20 bins per decade, spline: 1
|
||||
dE/dx and range tables from 100 eV to 1 TeV in 200 bins
|
||||
Lambda tables from threshold to 1 TeV, 20 bins per decade, spline: 1
|
||||
===== EM models for the G4Region DefaultRegionForTheWorld ======
|
||||
MuBrem : Emin= 0 eV Emax= 10 TeV
|
||||
MuBrem : Emin= 0 eV Emax= 1 TeV
|
||||
|
||||
muPairProd: for mu+ SubType= 4
|
||||
dE/dx and range tables from 100 eV to 10 TeV in 220 bins
|
||||
Lambda tables from threshold to 10 TeV, 20 bins per decade, spline: 1
|
||||
Sampling table 17x1001 from 1 GeV to 10 TeV
|
||||
dE/dx and range tables from 100 eV to 1 TeV in 200 bins
|
||||
Lambda tables from threshold to 1 TeV, 20 bins per decade, spline: 1
|
||||
Sampling table 13x1001 from 1 GeV to 1 TeV
|
||||
===== EM models for the G4Region DefaultRegionForTheWorld ======
|
||||
muPairProd : Emin= 0 eV Emax= 10 TeV
|
||||
muPairProd : Emin= 0 eV Emax= 1 TeV
|
||||
|
||||
CoulombScat: for mu+, integral: 1 SubType= 1 BuildTable= 1
|
||||
Lambda table from threshold to 10 TeV, 20 bins per decade, spline: 1
|
||||
Lambda table from threshold to 1 TeV, 20 bins per decade, spline: 1
|
||||
180 < Theta(degree) < 180 pLimit(GeV^1)= 0.139531
|
||||
===== EM models for the G4Region DefaultRegionForTheWorld ======
|
||||
eCoulombScattering : Emin= 0 eV Emax= 10 TeV
|
||||
eCoulombScattering : Emin= 0 eV Emax= 1 TeV
|
||||
|
||||
msc: for mu- SubType= 10
|
||||
RangeFactor= 0.2, step limit type: 0, lateralDisplacement: 0, polarAngleLimit(deg)= 180
|
||||
RangeFactor= 0.2, step limit type: 0, lateralDisplacement: 1, polarAngleLimit(deg)= 180
|
||||
===== EM models for the G4Region DefaultRegionForTheWorld ======
|
||||
WentzelVIUni : Emin= 0 eV Emax= 10 TeV Table with 220 bins Emin= 100 eV Emax= 10 TeV
|
||||
WentzelVIUni : Emin= 0 eV Emax= 1 TeV Table with 200 bins Emin= 100 eV Emax= 1 TeV
|
||||
|
||||
muIoni: for mu- SubType= 2
|
||||
dE/dx and range tables from 100 eV to 10 TeV in 220 bins
|
||||
Lambda tables from threshold to 10 TeV, 20 bins per decade, spline: 1
|
||||
dE/dx and range tables from 100 eV to 1 TeV in 200 bins
|
||||
Lambda tables from threshold to 1 TeV, 20 bins per decade, spline: 1
|
||||
finalRange(mm)= 0.05, dRoverRange= 0.2, integral: 1, fluct: 1, linLossLimit= 0.01
|
||||
===== EM models for the G4Region DefaultRegionForTheWorld ======
|
||||
ICRU73QO : Emin= 0 eV Emax= 200 keV deltaVI
|
||||
BetheBloch : Emin= 200 keV Emax= 1 GeV deltaVI
|
||||
MuBetheBloch : Emin= 1 GeV Emax= 10 TeV
|
||||
MuBetheBloch : Emin= 1 GeV Emax= 1 TeV
|
||||
|
||||
muBrems: for mu- SubType= 3
|
||||
dE/dx and range tables from 100 eV to 10 TeV in 220 bins
|
||||
Lambda tables from threshold to 10 TeV, 20 bins per decade, spline: 1
|
||||
dE/dx and range tables from 100 eV to 1 TeV in 200 bins
|
||||
Lambda tables from threshold to 1 TeV, 20 bins per decade, spline: 1
|
||||
===== EM models for the G4Region DefaultRegionForTheWorld ======
|
||||
MuBrem : Emin= 0 eV Emax= 10 TeV
|
||||
MuBrem : Emin= 0 eV Emax= 1 TeV
|
||||
|
||||
muPairProd: for mu- SubType= 4
|
||||
dE/dx and range tables from 100 eV to 10 TeV in 220 bins
|
||||
Lambda tables from threshold to 10 TeV, 20 bins per decade, spline: 1
|
||||
Sampling table 17x1001 from 1 GeV to 10 TeV
|
||||
dE/dx and range tables from 100 eV to 1 TeV in 200 bins
|
||||
Lambda tables from threshold to 1 TeV, 20 bins per decade, spline: 1
|
||||
Sampling table 13x1001 from 1 GeV to 1 TeV
|
||||
===== EM models for the G4Region DefaultRegionForTheWorld ======
|
||||
muPairProd : Emin= 0 eV Emax= 10 TeV
|
||||
muPairProd : Emin= 0 eV Emax= 1 TeV
|
||||
|
||||
CoulombScat: for mu-, integral: 1 SubType= 1 BuildTable= 1
|
||||
Lambda table from threshold to 10 TeV, 20 bins per decade, spline: 1
|
||||
Lambda table from threshold to 1 TeV, 20 bins per decade, spline: 1
|
||||
180 < Theta(degree) < 180 pLimit(GeV^1)= 0.139531
|
||||
===== EM models for the G4Region DefaultRegionForTheWorld ======
|
||||
eCoulombScattering : Emin= 0 eV Emax= 10 TeV
|
||||
eCoulombScattering : Emin= 0 eV Emax= 1 TeV
|
||||
|
||||
msc: for pi+ SubType= 10
|
||||
RangeFactor= 0.2, stepLimitType: 0, latDisplacement: 0
|
||||
RangeFactor= 0.2, stepLimitType: 0, latDisplacement: 1
|
||||
===== EM models for the G4Region DefaultRegionForTheWorld ======
|
||||
UrbanMsc : Emin= 0 eV Emax= 10 TeV Table with 220 bins Emin= 100 eV Emax= 10 TeV
|
||||
UrbanMsc : Emin= 0 eV Emax= 1 TeV Table with 200 bins Emin= 100 eV Emax= 1 TeV
|
||||
|
||||
hIoni: for pi+ SubType= 2
|
||||
dE/dx and range tables from 100 eV to 10 TeV in 220 bins
|
||||
Lambda tables from threshold to 10 TeV, 20 bins per decade, spline: 1
|
||||
dE/dx and range tables from 100 eV to 1 TeV in 200 bins
|
||||
Lambda tables from threshold to 1 TeV, 20 bins per decade, spline: 1
|
||||
finalRange(mm)= 0.05, dRoverRange= 0.2, integral: 1, fluct: 1, linLossLimit= 0.01
|
||||
===== EM models for the G4Region DefaultRegionForTheWorld ======
|
||||
Bragg : Emin= 0 eV Emax= 297.505 keV deltaVI
|
||||
BetheBloch : Emin= 297.505 keV Emax= 10 TeV deltaVI
|
||||
BetheBloch : Emin= 297.505 keV Emax= 1 TeV deltaVI
|
||||
|
||||
hBrems: for pi+ SubType= 3
|
||||
dE/dx and range tables from 100 eV to 10 TeV in 220 bins
|
||||
Lambda tables from threshold to 10 TeV, 20 bins per decade, spline: 1
|
||||
dE/dx and range tables from 100 eV to 1 TeV in 200 bins
|
||||
Lambda tables from threshold to 1 TeV, 20 bins per decade, spline: 1
|
||||
===== EM models for the G4Region DefaultRegionForTheWorld ======
|
||||
hBrem : Emin= 0 eV Emax= 10 TeV
|
||||
hBrem : Emin= 0 eV Emax= 1 TeV
|
||||
|
||||
hPairProd: for pi+ SubType= 4
|
||||
dE/dx and range tables from 100 eV to 10 TeV in 220 bins
|
||||
Lambda tables from threshold to 10 TeV, 20 bins per decade, spline: 1
|
||||
Sampling table 16x1001 from 1.11656 GeV to 10 TeV
|
||||
dE/dx and range tables from 100 eV to 1 TeV in 200 bins
|
||||
Lambda tables from threshold to 1 TeV, 20 bins per decade, spline: 1
|
||||
Sampling table 12x1001 from 1.11656 GeV to 1 TeV
|
||||
===== EM models for the G4Region DefaultRegionForTheWorld ======
|
||||
hPairProd : Emin= 0 eV Emax= 10 TeV
|
||||
hPairProd : Emin= 0 eV Emax= 1 TeV
|
||||
|
||||
msc: for pi- SubType= 10
|
||||
RangeFactor= 0.2, stepLimitType: 0, latDisplacement: 0
|
||||
RangeFactor= 0.2, stepLimitType: 0, latDisplacement: 1
|
||||
===== EM models for the G4Region DefaultRegionForTheWorld ======
|
||||
UrbanMsc : Emin= 0 eV Emax= 10 TeV Table with 220 bins Emin= 100 eV Emax= 10 TeV
|
||||
UrbanMsc : Emin= 0 eV Emax= 1 TeV Table with 200 bins Emin= 100 eV Emax= 1 TeV
|
||||
|
||||
hIoni: for pi- SubType= 2
|
||||
dE/dx and range tables from 100 eV to 10 TeV in 220 bins
|
||||
Lambda tables from threshold to 10 TeV, 20 bins per decade, spline: 1
|
||||
dE/dx and range tables from 100 eV to 1 TeV in 200 bins
|
||||
Lambda tables from threshold to 1 TeV, 20 bins per decade, spline: 1
|
||||
finalRange(mm)= 0.05, dRoverRange= 0.2, integral: 1, fluct: 1, linLossLimit= 0.01
|
||||
===== EM models for the G4Region DefaultRegionForTheWorld ======
|
||||
ICRU73QO : Emin= 0 eV Emax= 297.505 keV deltaVI
|
||||
BetheBloch : Emin= 297.505 keV Emax= 10 TeV deltaVI
|
||||
BetheBloch : Emin= 297.505 keV Emax= 1 TeV deltaVI
|
||||
|
||||
hBrems: for pi- SubType= 3
|
||||
dE/dx and range tables from 100 eV to 10 TeV in 220 bins
|
||||
Lambda tables from threshold to 10 TeV, 20 bins per decade, spline: 1
|
||||
dE/dx and range tables from 100 eV to 1 TeV in 200 bins
|
||||
Lambda tables from threshold to 1 TeV, 20 bins per decade, spline: 1
|
||||
===== EM models for the G4Region DefaultRegionForTheWorld ======
|
||||
hBrem : Emin= 0 eV Emax= 10 TeV
|
||||
hBrem : Emin= 0 eV Emax= 1 TeV
|
||||
|
||||
hPairProd: for pi- SubType= 4
|
||||
dE/dx and range tables from 100 eV to 10 TeV in 220 bins
|
||||
Lambda tables from threshold to 10 TeV, 20 bins per decade, spline: 1
|
||||
Sampling table 16x1001 from 1.11656 GeV to 10 TeV
|
||||
dE/dx and range tables from 100 eV to 1 TeV in 200 bins
|
||||
Lambda tables from threshold to 1 TeV, 20 bins per decade, spline: 1
|
||||
Sampling table 12x1001 from 1.11656 GeV to 1 TeV
|
||||
===== EM models for the G4Region DefaultRegionForTheWorld ======
|
||||
hPairProd : Emin= 0 eV Emax= 10 TeV
|
||||
hPairProd : Emin= 0 eV Emax= 1 TeV
|
||||
|
||||
========= Table of registered couples ==============================
|
||||
|
||||
@@ -812,7 +812,7 @@ Index : 12 used in the geometry : Yes
|
||||
|
||||
====================================================================
|
||||
|
||||
##### Create analysis manager 0x15b8e70
|
||||
##### Create analysis manager 0x1cb2700
|
||||
Using Root analysis manager
|
||||
All Ntuples have been created
|
||||
-> Event # 1 generated
|
||||
@@ -822,17 +822,15 @@ All Ntuples have been created
|
||||
===> Sorry, the incident alpha particle has missed the targeted cell !
|
||||
|
||||
-> Event # 3 generated
|
||||
===> The incident alpha particle has reached the targeted cell :
|
||||
-----> total absorbed dose within Nucleus is (Gy) = 0.32778372413202
|
||||
-----> total absorbed dose within Cytoplasm is (Gy) = 0.044733067737592
|
||||
===> Sorry, the incident alpha particle has missed the targeted cell !
|
||||
|
||||
-> Event # 4 generated
|
||||
===> The incident alpha particle has reached the targeted cell :
|
||||
-----> total absorbed dose within Nucleus is (Gy) = 0.29451485847676
|
||||
-----> total absorbed dose within Cytoplasm is (Gy) = 0.01845536721255
|
||||
===> Sorry, the incident alpha particle has missed the targeted cell !
|
||||
|
||||
-> Event # 5 generated
|
||||
===> Sorry, the incident alpha particle has missed the targeted cell !
|
||||
===> The incident alpha particle has reached the targeted cell :
|
||||
-----> total absorbed dose within Nucleus is (Gy) = 0.26027653312574
|
||||
-----> total absorbed dose within Cytoplasm is (Gy) = 0.045289661672963
|
||||
|
||||
-> Event # 6 generated
|
||||
===> Sorry, the incident alpha particle has missed the targeted cell !
|
||||
@@ -841,17 +839,17 @@ All Ntuples have been created
|
||||
===> Sorry, the incident alpha particle has missed the targeted cell !
|
||||
|
||||
-> Event # 8 generated
|
||||
===> The incident alpha particle has reached the targeted cell :
|
||||
-----> total absorbed dose within Nucleus is (Gy) = 0.32808202093148
|
||||
-----> total absorbed dose within Cytoplasm is (Gy) = 0.012292198793424
|
||||
===> Sorry, the incident alpha particle has missed the targeted cell !
|
||||
|
||||
-> Event # 9 generated
|
||||
===> Sorry, the incident alpha particle has missed the targeted cell !
|
||||
|
||||
-> Event # 10 generated
|
||||
===> Sorry, the incident alpha particle has missed the targeted cell !
|
||||
===> The incident alpha particle has reached the targeted cell :
|
||||
-----> total absorbed dose within Nucleus is (Gy) = 0.33467520432143
|
||||
-----> total absorbed dose within Cytoplasm is (Gy) = 0.036039698548268
|
||||
|
||||
-> Total number of particles detected by the gas detector : 3
|
||||
-> Total number of particles detected by the gas detector : 2
|
||||
|
||||
Graphics systems deleted.
|
||||
Visualization Manager deleting...
|
||||
|
||||
+101
-101
@@ -26,12 +26,12 @@ Double_t scale;
|
||||
|
||||
|
||||
c1 = new TCanvas ("c1","",20,20,1200,900);
|
||||
c1.Divide(4,3);
|
||||
c1->Divide(4,3);
|
||||
|
||||
//*********************
|
||||
// INTENSITY HISTOGRAMS
|
||||
//*********************
|
||||
jump:
|
||||
|
||||
|
||||
FILE * fp = fopen("phantom.dat","r");
|
||||
Float_t xVox, yVox, zVox, tmp, den, dose;
|
||||
@@ -50,8 +50,8 @@ TNtuple *ntupleYXN = new TNtuple("NUCLEUS","ntuple","Y:X:vox");
|
||||
TNtuple *ntupleZX = new TNtuple("CYTOPLASM","ntuple","Z:X:vox");
|
||||
TNtuple *ntupleYX = new TNtuple("CYTOPLASM","ntuple","Y:X:vox");
|
||||
|
||||
nlines=0;
|
||||
ncols=0;
|
||||
Int_t nlines=0;
|
||||
Int_t ncols=0;
|
||||
|
||||
while (1)
|
||||
{
|
||||
@@ -85,7 +85,7 @@ fclose(fp);
|
||||
|
||||
// HISTO NUCLEUS
|
||||
|
||||
c1.cd(1);
|
||||
c1->cd(1);
|
||||
h1->Draw();
|
||||
h1->GetXaxis()->SetLabelSize(0.025);
|
||||
h1->GetYaxis()->SetLabelSize(0.025);
|
||||
@@ -104,7 +104,7 @@ c1.cd(1);
|
||||
|
||||
// HISTO CYTOPLASM
|
||||
|
||||
c1.cd(5);
|
||||
c1->cd(5);
|
||||
h2->Draw();
|
||||
h2->GetXaxis()->SetLabelSize(0.025);
|
||||
h2->GetYaxis()->SetLabelSize(0.025);
|
||||
@@ -132,7 +132,7 @@ gROOT->SetStyle("Plain");
|
||||
|
||||
//CYTOPLASM
|
||||
|
||||
c1.cd(7); // axe YX
|
||||
c1->cd(7); // axe YX
|
||||
TH2F *hist = new TH2F("hist","hist",50,-20,20,50,-20,20);
|
||||
ntupleYX->Draw("Y:X>>hist","vox","colz");
|
||||
gPad->SetLogz();
|
||||
@@ -144,27 +144,27 @@ c1.cd(7); // axe YX
|
||||
hist->GetYaxis()->SetTitleSize(0.035);
|
||||
hist->GetXaxis()->SetTitleOffset(1.4);
|
||||
hist->GetYaxis()->SetTitleOffset(1.4);
|
||||
hist->GetXaxis()->SetTitle("Y (µm)");
|
||||
hist->GetYaxis()->SetTitle("X (µm)");
|
||||
hist->GetXaxis()->SetTitle("Y (um)");
|
||||
hist->GetYaxis()->SetTitle("X (um)");
|
||||
hist->SetTitle("Cytoplasm intensity on transverse section");
|
||||
|
||||
//NUCLEUS
|
||||
|
||||
c1.cd(3); // axe YX
|
||||
TH2F *hist = new TH2F("hist","hist",50,-20,20,50,-20,20);
|
||||
ntupleYXN->Draw("Y:X>>hist","vox","colz");
|
||||
c1->cd(3); // axe YX
|
||||
TH2F *hist2 = new TH2F("hist2","hist2",50,-20,20,50,-20,20);
|
||||
ntupleYXN->Draw("Y:X>>hist2","vox","colz");
|
||||
gPad->SetLogz();
|
||||
hist->Draw("colz");
|
||||
hist->GetXaxis()->SetLabelSize(0.025);
|
||||
hist->GetYaxis()->SetLabelSize(0.025);
|
||||
hist->GetZaxis()->SetLabelSize(0.025);
|
||||
hist->GetXaxis()->SetTitleSize(0.035);
|
||||
hist->GetYaxis()->SetTitleSize(0.035);
|
||||
hist->GetXaxis()->SetTitleOffset(1.4);
|
||||
hist->GetYaxis()->SetTitleOffset(1.4);
|
||||
hist->GetXaxis()->SetTitle("Y (µm)");
|
||||
hist->GetYaxis()->SetTitle("X (µm)");
|
||||
hist->SetTitle("Nucleus intensity on transverse section");
|
||||
hist2->Draw("colz");
|
||||
hist2->GetXaxis()->SetLabelSize(0.025);
|
||||
hist2->GetYaxis()->SetLabelSize(0.025);
|
||||
hist2->GetZaxis()->SetLabelSize(0.025);
|
||||
hist2->GetXaxis()->SetTitleSize(0.035);
|
||||
hist2->GetYaxis()->SetTitleSize(0.035);
|
||||
hist2->GetXaxis()->SetTitleOffset(1.4);
|
||||
hist2->GetYaxis()->SetTitleOffset(1.4);
|
||||
hist2->GetXaxis()->SetTitle("Y (um)");
|
||||
hist2->GetYaxis()->SetTitle("X (um)");
|
||||
hist2->SetTitle("Nucleus intensity on transverse section");
|
||||
|
||||
//
|
||||
|
||||
@@ -179,38 +179,38 @@ TNtuple* ntuple2;
|
||||
TNtuple* ntuple3;
|
||||
TNtuple* ntuple4;
|
||||
|
||||
ntuple0 = (TNtuple*)f->Get("ntuple0");
|
||||
ntuple1 = (TNtuple*)f->Get("ntuple1");
|
||||
ntuple2 = (TNtuple*)f->Get("ntuple2");
|
||||
ntuple3 = (TNtuple*)f->Get("ntuple3");
|
||||
ntuple4 = (TNtuple*)f->Get("ntuple4");
|
||||
ntuple0 = (TNtuple*)f.Get("ntuple0");
|
||||
ntuple1 = (TNtuple*)f.Get("ntuple1");
|
||||
ntuple2 = (TNtuple*)f.Get("ntuple2");
|
||||
ntuple3 = (TNtuple*)f.Get("ntuple3");
|
||||
ntuple4 = (TNtuple*)f.Get("ntuple4");
|
||||
|
||||
TH1F *h1 = new TH1F("h1","Dose distribution in Nucleus",100,0.001,1.);
|
||||
TH1F *h10 = new TH1F("h10","Dose distribution in Cytoplasm",100,0.001,.2);
|
||||
TH1F *h1bis = new TH1F("h1bis","Dose distribution in Nucleus",100,0.001,1.);
|
||||
TH1F *h10 = new TH1F("h10bis","Dose distribution in Cytoplasm",100,0.001,.2);
|
||||
|
||||
c1.cd(2);
|
||||
c1->cd(2);
|
||||
|
||||
ntuple3->Project("h1","doseN");
|
||||
scale = 1/h1->Integral();
|
||||
h1->Scale(scale);
|
||||
h1->Draw();
|
||||
h1->GetXaxis()->SetLabelSize(0.025);
|
||||
h1->GetYaxis()->SetLabelSize(0.025);
|
||||
h1->GetXaxis()->SetTitleSize(0.035);
|
||||
h1->GetYaxis()->SetTitleSize(0.035);
|
||||
h1->GetXaxis()->SetTitleOffset(1.4);
|
||||
h1->GetYaxis()->SetTitleOffset(1.4);
|
||||
h1->GetXaxis()->SetTitle("Absorbed dose (Gy)");
|
||||
h1->GetYaxis()->SetTitle("Fraction of events");
|
||||
h1->SetLineColor(3);
|
||||
h1->SetFillColor(3);
|
||||
ntuple3->Project("h1bis","doseN");
|
||||
scale = 1/h1bis->Integral();
|
||||
h1bis->Scale(scale);
|
||||
h1bis->Draw();
|
||||
h1bis->GetXaxis()->SetLabelSize(0.025);
|
||||
h1bis->GetYaxis()->SetLabelSize(0.025);
|
||||
h1bis->GetXaxis()->SetTitleSize(0.035);
|
||||
h1bis->GetYaxis()->SetTitleSize(0.035);
|
||||
h1bis->GetXaxis()->SetTitleOffset(1.4);
|
||||
h1bis->GetYaxis()->SetTitleOffset(1.4);
|
||||
h1bis->GetXaxis()->SetTitle("Absorbed dose (Gy)");
|
||||
h1bis->GetYaxis()->SetTitle("Fraction of events");
|
||||
h1bis->SetLineColor(3);
|
||||
h1bis->SetFillColor(3);
|
||||
|
||||
//*****************
|
||||
// DOSE IN CYTOPLASM
|
||||
//*****************
|
||||
|
||||
c1.cd(6);
|
||||
ntuple3->Project("h10","doseC");
|
||||
c1->cd(6);
|
||||
ntuple3->Project("h10bis","doseC");
|
||||
scale = 1/h10->Integral();
|
||||
h10->Scale(scale);
|
||||
h10->Draw();
|
||||
@@ -236,27 +236,27 @@ gROOT->SetStyle("Plain");
|
||||
|
||||
Float_t d;
|
||||
|
||||
TH1F *h2 = new TH1F("h2","Beam stopping power at cell entrance",200,0,300);
|
||||
TH1F *h2bis = new TH1F("h2bis","Beam stopping power at cell entrance",200,0,300);
|
||||
|
||||
c1.cd(9);
|
||||
ntuple0->Project("h2","sp");
|
||||
scale = 1/h2->Integral();
|
||||
h2->Scale(scale);
|
||||
h2->Draw();
|
||||
h2->GetXaxis()->SetLabelSize(0.025);
|
||||
h2->GetYaxis()->SetLabelSize(0.025);
|
||||
h2->GetXaxis()->SetTitleSize(0.035);
|
||||
h2->GetYaxis()->SetTitleSize(0.035);
|
||||
h2->GetXaxis()->SetTitleOffset(1.4);
|
||||
h2->GetYaxis()->SetTitleOffset(1.4);
|
||||
h2->GetXaxis()->SetTitle("dE/dx (keV/µm)");
|
||||
h2->GetYaxis()->SetTitle("Fraction of events");
|
||||
h2->SetTitle("dE/dx at cell entrance");
|
||||
h2->SetFillColor(4);
|
||||
h2->SetLineColor(4);
|
||||
h2->Fit("gaus");
|
||||
c1->cd(9);
|
||||
ntuple0->Project("h2bis","sp");
|
||||
scale = 1/h2bis->Integral();
|
||||
h2bis->Scale(scale);
|
||||
h2bis->Draw();
|
||||
h2bis->GetXaxis()->SetLabelSize(0.025);
|
||||
h2bis->GetYaxis()->SetLabelSize(0.025);
|
||||
h2bis->GetXaxis()->SetTitleSize(0.035);
|
||||
h2bis->GetYaxis()->SetTitleSize(0.035);
|
||||
h2bis->GetXaxis()->SetTitleOffset(1.4);
|
||||
h2bis->GetYaxis()->SetTitleOffset(1.4);
|
||||
h2bis->GetXaxis()->SetTitle("dE/dx (keV/um)");
|
||||
h2bis->GetYaxis()->SetTitle("Fraction of events");
|
||||
h2bis->SetTitle("dE/dx at cell entrance");
|
||||
h2bis->SetFillColor(4);
|
||||
h2bis->SetLineColor(4);
|
||||
h2bis->Fit("gaus");
|
||||
gaus->SetLineColor(6);
|
||||
h2->Fit("gaus");
|
||||
h2bis->Fit("gaus");
|
||||
|
||||
|
||||
//**************
|
||||
@@ -295,7 +295,7 @@ for (Int_t i=0;i<nentries;i++)
|
||||
ntupleR->Fill(Z2,Y2,X2);
|
||||
}
|
||||
|
||||
c1.cd(10);
|
||||
c1->cd(10);
|
||||
ntupleR->Draw("X2:Z2","abs(X2)<50","surf3");
|
||||
gPad->SetLogz();
|
||||
/*
|
||||
@@ -321,38 +321,38 @@ gStyle->SetOptFit();
|
||||
gStyle->SetPalette(1);
|
||||
gROOT->SetStyle("Plain");
|
||||
|
||||
c1.cd(11);
|
||||
TH2F *hist = new TH2F("hist","hist",50,-20,20,50,-20,20);
|
||||
ntuple4->Draw("y*0.359060:x*0.359060>>hist","doseV","contz");
|
||||
c1->cd(11);
|
||||
TH2F *histbis = new TH2F("histbis","histbis",50,-20,20,50,-20,20);
|
||||
ntuple4->Draw("y*0.359060:x*0.359060>>histbis","doseV","contz");
|
||||
gPad->SetLogz();
|
||||
hist->Draw("contz");
|
||||
hist->GetXaxis()->SetLabelSize(0.025);
|
||||
hist->GetYaxis()->SetLabelSize(0.025);
|
||||
hist->GetZaxis()->SetLabelSize(0.025);
|
||||
hist->GetXaxis()->SetTitleSize(0.035);
|
||||
hist->GetYaxis()->SetTitleSize(0.035);
|
||||
hist->GetXaxis()->SetTitleOffset(1.4);
|
||||
hist->GetYaxis()->SetTitleOffset(1.4);
|
||||
hist->GetXaxis()->SetTitle("Y (µm)");
|
||||
hist->GetYaxis()->SetTitle("X (µm)");
|
||||
hist->SetTitle("Mean energy deposit -transverse- (z axis in eV)");
|
||||
histbis->Draw("contz");
|
||||
histbis->GetXaxis()->SetLabelSize(0.025);
|
||||
histbis->GetYaxis()->SetLabelSize(0.025);
|
||||
histbis->GetZaxis()->SetLabelSize(0.025);
|
||||
histbis->GetXaxis()->SetTitleSize(0.035);
|
||||
histbis->GetYaxis()->SetTitleSize(0.035);
|
||||
histbis->GetXaxis()->SetTitleOffset(1.4);
|
||||
histbis->GetYaxis()->SetTitleOffset(1.4);
|
||||
histbis->GetXaxis()->SetTitle("Y (um)");
|
||||
histbis->GetYaxis()->SetTitle("X (um)");
|
||||
histbis->SetTitle("Mean energy deposit -transverse- (z axis in eV)");
|
||||
|
||||
|
||||
c1.cd(12);
|
||||
TH2F *hist = new TH2F("hist","hist",50,-20,20,50,-20,20);
|
||||
ntuple4->Draw("x*0.359060:(z+1500/0.162810+21)*0.162810>>hist","doseV","contz");
|
||||
c1->cd(12);
|
||||
TH2F *histter = new TH2F("histter","histter",50,-20,20,50,-20,20);
|
||||
ntuple4->Draw("x*0.359060:(z+1500/0.162810+21)*0.162810>>histter","doseV","contz");
|
||||
gPad->SetLogz();
|
||||
hist->Draw("contz");
|
||||
hist->GetXaxis()->SetLabelSize(0.025);
|
||||
hist->GetYaxis()->SetLabelSize(0.025);
|
||||
hist->GetZaxis()->SetLabelSize(0.025);
|
||||
hist->GetXaxis()->SetTitleSize(0.035);
|
||||
hist->GetYaxis()->SetTitleSize(0.035);
|
||||
hist->GetXaxis()->SetTitleOffset(1.4);
|
||||
hist->GetYaxis()->SetTitleOffset(1.4);
|
||||
hist->GetXaxis()->SetTitle("Z (µm)");
|
||||
hist->GetYaxis()->SetTitle("X (µm)");
|
||||
hist->SetTitle("Mean energy deposit -longitudinal- (z axis in eV)");
|
||||
histter->Draw("contz");
|
||||
histter->GetXaxis()->SetLabelSize(0.025);
|
||||
histter->GetYaxis()->SetLabelSize(0.025);
|
||||
histter->GetZaxis()->SetLabelSize(0.025);
|
||||
histter->GetXaxis()->SetTitleSize(0.035);
|
||||
histter->GetYaxis()->SetTitleSize(0.035);
|
||||
histter->GetXaxis()->SetTitleOffset(1.4);
|
||||
histter->GetYaxis()->SetTitleOffset(1.4);
|
||||
histter->GetXaxis()->SetTitle("Z (um)");
|
||||
histter->GetYaxis()->SetTitle("X (um)");
|
||||
histter->SetTitle("Mean energy deposit -longitudinal- (z axis in eV)");
|
||||
|
||||
//*******************************
|
||||
// BEAM POSITION AT CELL ENTRANCE
|
||||
@@ -366,7 +366,7 @@ gROOT->SetStyle("Plain");
|
||||
TH1F *h77 = new TH1F("hx","h1",200,-10,10);
|
||||
TH1F *h88 = new TH1F("hy","h1",200,-10,10);
|
||||
|
||||
c1.cd(4);
|
||||
c1->cd(4);
|
||||
ntuple1->Project("hx","x");
|
||||
scale = 1/h77->Integral();
|
||||
h77->Scale(scale);
|
||||
@@ -377,15 +377,15 @@ c1.cd(4);
|
||||
h77->GetYaxis()->SetTitleSize(0.035);
|
||||
h77->GetXaxis()->SetTitleOffset(1.4);
|
||||
h77->GetYaxis()->SetTitleOffset(1.4);
|
||||
h77->GetXaxis()->SetTitle("Position (µm)");
|
||||
h77->GetXaxis()->SetTitle("Position (um)");
|
||||
h77->GetYaxis()->SetTitle("Fraction of events");
|
||||
h77->SetTitle("Beam X position on cell");
|
||||
h77->SetFillColor(4);
|
||||
h77->SetLineColor(4);
|
||||
gaus->SetLineColor(6);
|
||||
//gaus->SetLineColor(6);
|
||||
h77->Fit("gaus");
|
||||
|
||||
c1.cd(8);
|
||||
c1->cd(8);
|
||||
ntuple1->Project("hy","y");
|
||||
scale = 1/h88->Integral();
|
||||
h88->Scale(scale);
|
||||
@@ -396,12 +396,12 @@ c1.cd(8);
|
||||
h88->GetYaxis()->SetTitleSize(0.035);
|
||||
h88->GetXaxis()->SetTitleOffset(1.4);
|
||||
h88->GetYaxis()->SetTitleOffset(1.4);
|
||||
h88->GetXaxis()->SetTitle("Position (µm)");
|
||||
h88->GetXaxis()->SetTitle("Position (um)");
|
||||
h88->GetYaxis()->SetTitle("Fraction of events");
|
||||
h88->SetTitle("Beam Y position on cell");
|
||||
h88->SetFillColor(4);
|
||||
h88->SetLineColor(4);
|
||||
gaus->SetLineColor(6);
|
||||
//gaus->SetLineColor(6);
|
||||
h88->Fit("gaus");
|
||||
|
||||
}
|
||||
|
||||
@@ -646,9 +646,16 @@ G4VPhysicalVolume* DetectorConstruction::ConstructLine()
|
||||
|
||||
// USER LIMITS ON STEP LENGTH
|
||||
|
||||
/*
|
||||
fLogicWorld->SetUserLimits(new G4UserLimits(100*mm));
|
||||
fLogicVol->SetUserLimits(new G4UserLimits(100*mm));
|
||||
fLogicBoite->SetUserLimits(new G4UserLimits(10*mm));
|
||||
*/
|
||||
|
||||
// relaxed
|
||||
fLogicWorld->SetUserLimits(new G4UserLimits(1*mm));
|
||||
fLogicVol->SetUserLimits(new G4UserLimits(1*mm));
|
||||
fLogicBoite->SetUserLimits(new G4UserLimits(1*mm));
|
||||
|
||||
/*
|
||||
logicPhantom->SetUserLimits (new G4UserLimits(0.5*micrometer));
|
||||
@@ -732,13 +739,15 @@ void DetectorConstruction::ConstructSDandField()
|
||||
fEquation = new G4EqMagElectricField(fField);
|
||||
fStepper = new G4ClassicalRK4 (fEquation,8);
|
||||
fFieldMgr = G4TransportationManager::GetTransportationManager()->GetFieldManager();
|
||||
fIntgrDriver = new G4MagInt_Driver(0.000001*mm,fStepper,fStepper->GetNumberOfVariables() );
|
||||
// relaxed
|
||||
// fIntgrDriver = new G4MagInt_Driver(0.000001*mm,fStepper,fStepper->GetNumberOfVariables() );
|
||||
fIntgrDriver = new G4MagInt_Driver(1*mm,fStepper,fStepper->GetNumberOfVariables() );
|
||||
fChordFinder = new G4ChordFinder(fIntgrDriver);
|
||||
fFieldMgr->SetChordFinder(fChordFinder);
|
||||
fFieldMgr->SetDetectorField(fField);
|
||||
|
||||
// FOLLOWING PARAMETERS TUNED FROM RAY-TRACING SIMULATIONS OF THE AIFIRA NANOBEAM LINE
|
||||
|
||||
/*
|
||||
fFieldMgr->GetChordFinder()->SetDeltaChord(1e-9*m);
|
||||
fFieldMgr->SetDeltaIntersection(1e-9*m);
|
||||
fFieldMgr->SetDeltaOneStep(1e-9*m);
|
||||
@@ -747,5 +756,5 @@ void DetectorConstruction::ConstructSDandField()
|
||||
G4TransportationManager::GetTransportationManager()->GetPropagatorInField();
|
||||
fPropInField->SetMinimumEpsilonStep(1e-16); // instead of 11
|
||||
fPropInField->SetMaximumEpsilonStep(1e-15); // instead of 10
|
||||
|
||||
*/
|
||||
}
|
||||
|
||||
@@ -33,8 +33,8 @@
|
||||
// Rad. Prot. Dos. 133 (2009) 2-11
|
||||
|
||||
#include "EMField.hh"
|
||||
#include "G4SystemOfUnits.hh"
|
||||
#include "G4Exp.hh"
|
||||
#include "G4SystemOfUnits.hh"
|
||||
|
||||
EMField::EMField()
|
||||
{
|
||||
|
||||
@@ -175,9 +175,12 @@ void PhysicsList::AddStepMax()
|
||||
|
||||
fStepMaxProcess = new G4StepLimiter();
|
||||
|
||||
theParticleIterator->reset();
|
||||
while ((*theParticleIterator)()){
|
||||
G4ParticleDefinition* particle = theParticleIterator->value();
|
||||
auto particleIterator=GetParticleIterator();
|
||||
|
||||
particleIterator->reset();
|
||||
|
||||
while ((*particleIterator)()){
|
||||
G4ParticleDefinition* particle = particleIterator->value();
|
||||
G4ProcessManager* pmanager = particle->GetProcessManager();
|
||||
|
||||
if (fStepMaxProcess->IsApplicable(*particle) && pmanager)
|
||||
|
||||
Reference in New Issue
Block a user