Towards comparisons between TFluka and TGeant3 ( within CbmRoot Framework) Denis Bertini (IT-GSI)...
-
Upload
horace-adams -
Category
Documents
-
view
218 -
download
0
Transcript of Towards comparisons between TFluka and TGeant3 ( within CbmRoot Framework) Denis Bertini (IT-GSI)...
Towards comparisons betweenTowards comparisons betweenTFluka and TGeant3TFluka and TGeant3
( within CbmRoot Framework)( within CbmRoot Framework)
Denis Bertini (IT-GSI)
Antonin Maire (IPHC Strasbourg)
16.10.2006 Muon Collaboration Meeting 2
OutlineOutline• CbmRoot ( Simulation and Analysis framework)
– Virtual Monte Carlo ( ROOT release 5.12 )– TGeant3 ( version 2005 )– TFluka (v4-04-Rev05 , using Fluka version 2005.6 )
• Fluka/G3 MCStack structure• Comparisons
– mediums • Fe @ (10) cm ( Xo = 1.76 cm , λi = 16.7 cm)
• C @ ( 30) cm ( Xo = 18.8 cm , λi = 38.1 cm )
– π @ (1-3 GeV) – p @ ( 5 GeV)– Beam particles: 5000– Secondaries : Ethres.= 50 KeV
• Summary
16.10.2006 Muon Collaboration Meeting 3
Virtual Monte Carlo (VMC)Virtual Monte Carlo (VMC)
User Code
VMC
Virtual Geometrical
Modeller
G3 G3 transport
G4 transportG4
FLUKA transportFLUKA
Geometrical Modeller
Reconstruction
Visualisation
16.10.2006 Muon Collaboration Meeting 4
What is Fluka?What is Fluka?
• FLUKA Particle Transport Monte Carlo Code
– Has evolved since long into a mature system.
– Evolution based on thorough physics validation.
– Almost unique capabilities for simulating hadronic interactions including low-energy neutron transport
• Its state of the art physics capabilities comprise
– Hadron-hadron, hadron-nucleus, and gamma-nucleus interactions 0-10^4 TeV
– Nucleus-nucleus interactions 0-10^4 TeV/n (RQMD, DPMJETIII)
– Electromagnetic and µ interactions 1 keV-10^4 TeV
– Neutrino interactions and nucleon decays
• FLUKA has proven capabilities in:
– Accelerator design and shielding (standard tool at CERN for beam-machine and Radioprotection studies
– Dosimetry and hadro-therapy
– Space radiation and cosmic ray showers in the atmosphere (Support by NASA, “de facto” standard tool for all aircraft dosimetry studies in Europe)
16.10.2006 Muon Collaboration Meeting 5
Interface to FLUKA:Interface to FLUKA:Geometry and NavigationGeometry and Navigation
TFluka
TVirtualMC TFlukaMCGeometry
TFluka TFlukaTGeoMCGeometry
idnrwrg1wrg1rtwrconhwrinihwrjomiwrlkdbwrlkfxwrlkmgwrlkwrnrmlwrrgrpwrisvhwrmagfld
FLUKA
TGeo(1) Geometry Definition
(2) Navigation
User Application
Interface implemented by A. Gheata
16.10.2006 Muon Collaboration Meeting 6
Interface to FLUKA: Interface to FLUKA: Physics ConfigurationPhysics Configuration
TFluka
TVirtualMC
TFluka
TFlukaTFlukaScoringOption
TFlukaTFlukaConfigOption
FLUKA
Text Input
TFlukaCerenkov
User Application
Generated fromC++ Macros
16.10.2006 Muon Collaboration Meeting 7
TGeo -> Fluka input fileTGeo -> Fluka input file ************* MATERIALS **********************
*...+....1....+....2....+....3....+....4....+....5....+....6....+....7...
MATERIAL 1.0 1.008 9.990e-01 3.0 HYDROGEN
MATERIAL 6.0 12.011 9.990e-01 4.0 CARBON
MATERIAL 9.0 18.998 9.990e-01 5.0 FLUORINE
MATERIAL 13.0 26.982 9.990e-01 6.0 ALUMINUM
MATERIAL 14.0 28.085 9.990e-01 7.0 SILICON
MATERIAL 26.0 55.845 9.990e-01 8.0 IRON
MATERIAL 79.0 196.967 9.990e-01 9.0 GOLD
MATERIAL 3.750e-03 10.0 AIR
COMPOUND -0.235407 4.0 -0.019758 3.0 -0.744835 5.0AIR
********************* TGEO MATERIAL ASSIGNMENTS *********************
*
*...+....1....+....2....+....3....+....4....+....5....+....6....+....7...
* Assigning material: air to Volume: cave
ASSIGNMAT 10.0 1.0 0.0 0.0 0.0 0.0
* Assigning material: carbon to Volume: pipe1
ASSIGNMAT 11.0 2.0 0.0 0.0 1.0 0.0
* Assigning material: vacuum to Volume: pipevac1
ASSIGNMAT 2.0 3.0 0.0 0.0 1.0 0.0
//--- define some materials
TGeoMaterial *matVacuum = new TGeoMaterial("Vacuum", 0,0,0)
TGeoMaterial *matAl = new TGeoMaterial("Al", 26.98,13,2.7);
//--- define some media
TGeoMedium *Vacuum = new TGeoMedium("Vacuum",1, matVacuum)
TGeoMedium *Al = new TGeoMedium("Root Material",2, matAl);
// Define the geometry using TGeo Class
TGeoVolume *cave = geom->MakeBox("cave", Vacuum, 25., 25., 5.);
cave->SetVisibility(kFALSE);
TGeoVolume *pipe = geom->MakeBox("pipe", Al, 5., 20., 5.)
pipe->SetLineColor(kBlue);
Top->AddNode(pipe, 1, cave);
TGeoVolume *pipe_vac = geom->MakeBox("pipe_vac", Al, 17.5, 5., 5.);
pipe_vac->SetLineColor(kBlue);
Top->AddNode(pipe_vac, 1, pipe);
ROOT Macro to Define Materials and Geometry
16.10.2006 Muon Collaboration Meeting 8
Physics config. input filePhysics config. input file
void Config(){ // Set Random Number seed gRandom->SetSeed(12345);TFluka * gMC = new TFluka("C++ Interface to Fluka", 0); // Physics process control
gMC->SetProcess("DCAY",1); gMC->SetProcess("PAIR",1); gMC->SetProcess("COMP",1); gMC->SetProcess("PHOT",1); gMC->SetProcess("PFIS",0); gMC->SetProcess("DRAY",1); gMC->SetProcess("ANNI",1); gMC->SetProcess("BREM",1); gMC->SetProcess("MUNU",1); gMC->SetProcess("CKOV",1); gMC->SetProcess("HADR",1); gMC->SetProcess("LOSS",2); gMC->SetProcess("MULS",1); gMC->SetProcess("RAYL",1); Float_t cut = 1.e-3; // 1MeV cut by default Float_t tofmax = 1.e10; gMC->SetCut("CUTGAM", cut); gMC->SetCut("CUTELE", cut); gMC->SetCut("CUTNEU", cut); gMC->SetCut("CUTHAD", cut); gMC->SetCut("CUTMUO", cut); gMC->SetCut("BCUTE", cut); gMC->SetCut("BCUTM", cut); gMC->SetCut("DCUTE", cut); gMC->SetCut("DCUTM", cut); gMC->SetCut("PPCUTM", cut); gMC->SetCut("TOFMAX", tofmax);
ROOT Macro for Fluka Physics process control
*Global process and cut settings ** --- DCAY --- Decays. Flag = 1* Decays are on by default** --- PAIR --- Pair production by gammas, muons and hadrons. Flag = 1, PPCUTM = 0.001, PPCUTE = 0.001EMFCUT 0.0 0.0 0 3.0 15.0 1.0PHOT-THR** +++ BREM --- Bremsstrahlung by muons/hadrons. Flag = -1, BCUTM = 0.001 PAIRBREM 3.0 0 0.001 3.0 15.0** --- COMP --- Compton scattering Flag = 1 EMFCUT 0.0 0.0 0.0 3.0 15.0 1.0PHOT-THR** --- PHOT --- Photoelectric effect. Flag = 1EMFCUT 0 0 0 3.0 15.0 1.0PHOT-THR** --- PFIS --- Photonuclear interaction Flag = 0PHOTONUC -1.0 0.0 0.0 3.0 15.0 1.0** --- ANNI --- Positron annihilation. Flag = 1 EMFCUT 0.0 0.0 0.0 3.0 15.0 1.0ANNH-THR** --- MUNU --- Muon nuclear interaction. Flag = 1MUPHOTON 1.0 0.250 0.750 3.0 15.0 1.0** --- HADR --- Hadronic interactions. Flag = 1**Hadronic interaction is ON by default in FLUKA** --- MULS --- Muliple Scattering. Flag = 1**Multiple scattering is ON by default in FLUKA** --- RAYL --- Rayleigh Scattering. Flag = 1*
Fluka input file
16.10.2006 Muon Collaboration Meeting 9
G3/FLUKA:G3/FLUKA: Differences in Stepping Behaviour Differences in Stepping Behaviour
Sensitive Volume
1 2
Geant 31: entering (Id1)1: exiting (Id1)2: entering (Id2)2: exiting (Id2)
Fluka1: entering (Id1)1: disappeared (Id1)2: entering (Id2)2: exiting (Id2)1: entering (Id3)1: exiting (Id3)
2 Hits: 3 Hits2 part. in Stack 3 part. in Stack !
G3/Fluka MCStack with different structure !
TrackId1
TrackId3
TrackId2
primary μ redundancy !
Suppressed redundancy
16.10.2006 Muon Collaboration Meeting 10
Type of exiting particles for Pion beam Type of exiting particles for Pion beam (3 GeV) on C (30 cm ) / Iron (10 cm ) (3 GeV) on C (30 cm ) / Iron (10 cm )
16.10.2006 Muon Collaboration Meeting 11
Type of exiting particles for Proton beam Type of exiting particles for Proton beam (5 GeV) on C (30 cm ) & Iron (30 cm ) (5 GeV) on C (30 cm ) & Iron (30 cm )
16.10.2006 Muon Collaboration Meeting 12
Pions 3 GeV on Carbon ( 30 cm )Pions 3 GeV on Carbon ( 30 cm )
!x 3
16.10.2006 Muon Collaboration Meeting 13
Protons 5 Gev on Carbon (30 cm)Protons 5 Gev on Carbon (30 cm)
!
-20 %!
x 2
16.10.2006 Muon Collaboration Meeting 14
Protons 5GeV on Iron (10 cm)Protons 5GeV on Iron (10 cm)
!+20%
16.10.2006 Muon Collaboration Meeting 15
Pions 3GeV on Iron (10 cm)Pions 3GeV on Iron (10 cm)
!+10 %
16.10.2006 Muon Collaboration Meeting 16
Pions 1 Gev on Iron (10 cm)Pions 1 Gev on Iron (10 cm)
!+25 %
16.10.2006 Muon Collaboration Meeting 17
Primary Pions 3GeV/c on Iron 10 cmPrimary Pions 3GeV/c on Iron 10 cm TGeant3TGeant3
16.10.2006 Muon Collaboration Meeting 18
Primary Pions 3GeV/c on Iron 10 cmPrimary Pions 3GeV/c on Iron 10 cm TFlukaTFluka
???
16.10.2006 Muon Collaboration Meeting 19
Secondary Pions P vs Z vertexSecondary Pions P vs Z vertex ( Pi Beam at 3GeV on 10cm Iron)( Pi Beam at 3GeV on 10cm Iron)
TFLUKA TGEANT3
16.10.2006 Muon Collaboration Meeting 20
SummarySummary
• Use of VMC to compare Fluka& Geant– needs closer collaboration with
• Fluka team
• VMC TFluka team
• To be done – crosscheck with native Fluka– Physics validation with dedicated experimental
data sets