GSI Forum
GSI Helmholtzzentrum für Schwerionenforschung

Home » CBM » CBMROOT » General » Usage of Geant4 in CBMRoot
icon5.gif  Usage of Geant4 in CBMRoot [message #8879] Thu, 18 June 2009 16:04 Go to next message
Andrey Chernogorov is currently offline  Andrey Chernogorov
Messages: 3
Registered: June 2009
occasional visitor

From: *qwerty.ru
Hi everyone,

I would like to use Geant4 in my simulations instead Geant3 in CBMRoot, but couldn't find where I can fix my choice (inside C-file or macros)
(I've found some info in /base/CbmMCApplication.cxx, ../CbmRunSim.cxx, /trunk/gconfig/g4config.C, ../g4config.in, ../SetCuts.C, but it's not enough).

I would like to control list of particles and processes, where I can do it?

Now I'm using DEC08-version of CBMRoot.

Fanks for any ideas.

[Updated on: Mon, 22 June 2009 14:56]

Report message to a moderator

Re: Usage of Geant4 in CBMRoot [message #8880 is a reply to message #8879] Thu, 18 June 2009 17:25 Go to previous messageGo to next message
Volker Friese is currently offline  Volker Friese
Messages: 365
Registered: April 2004
Location: GSI CBM
first-grade participant
From: *gsi.de
The choice which transport engine to use is done in the simulation macro (see for instance macro/run/run_sim.C), by the method

void FairRunSim::SetName(const char* engine);


where engine can be "TGeant3", "TGeant4" or "TFluka" (the latter not recommended).

Geant4-related settings (physics and particle lists) must be implemented in gconfig/g4config.C

icon5.gif  Control of Cuts for Geant4 in CBMRoot [message #8890 is a reply to message #8879] Mon, 22 June 2009 14:56 Go to previous message
Andrey Chernogorov is currently offline  Andrey Chernogorov
Messages: 3
Registered: June 2009
occasional visitor

From: *itep.ru
Hello everyone, I've some problem with usage of Geant4 in CBMRoot.

How I can control cuts for any particles for TGeant4?

Didn't help any changes inside /trunk/gconfig/SetCuts.C
All time Range cuts = 1 mm (or equal in keV).

Didn't help changing: defaultCutValue=1*mm; -> 0.1*mm;
inside /geant4.9.1.p02/source/run/srcG4UserPhysicsList.cxx

As I understand I should change something in/for G4 VMC, but I didn't find it, not yet.

Fanks for any ideas.

[Updated on: Mon, 22 June 2009 15:07]

Report message to a moderator

Previous Topic: CBMROOT release JUN09
Next Topic: Control of Cuts for Geant4 in CBMRoot
Goto Forum:
  


Current Time: Sat Apr 20 14:50:14 CEST 2024

Total time taken to generate the page: 0.00821 seconds