GSI Forum
GSI Helmholtzzentrum für Schwerionenforschung

Home » PANDA » PandaRoot » EMC » Geant3 tracking cuts for the EMC
Re: Geant3 tracking cuts for the EMC [message #9582 is a reply to message #9562] Mon, 19 October 2009 15:29 Go to previous message
Mohammad Al-Turany is currently offline  Mohammad Al-Turany
Messages: 518
Registered: April 2004
Location: GSI, Germany
first-grade participant
From: *

One should differentiate between production cuts (Geant3) and tracking cuts in G4! So you cannot simply compare the two! Anyway Geant4 uses the mm cuts, and in the VMC the energy cuts are translated to mm cuts internally but they are applied as tracking cuts, i.e. particle loses energy by generation of secondaries down to an energy corresponding to the range cut, then the particle is tracked down to zero energy using continuous energy loss. To summarize, the range cut-off represents the accuracy of the stopping position. It does not mean that the track is killed at that energy like in Geant3. (see Geant4 Physics Reference Manual)

And if you look at the output in a G4 simulation session you will see the cuts applied in mm for all particles, by default this is 1 mm, one can also change this but this is not the subject of the discussion.

In fact the 1 MeV cut in PandaRoot is too high for the calorimeter, and one should go down with the energy cuts for sure, but this should be done on the EMC level and not globally otherwise the simulation will take ages. To do this one should implement (over-write) the method FairDetector::SetSpecialPhysicsCuts() in the EMC, in this method you have to set:

//for electrons
gMC->Gstpar(MediumId,"BCUTE" ,cutE);
gMC->Gstpar(MediumId,"BCUTM" ,cutE);
// for hadrons

MediumId is the medium Id for the material you want to set its property, this you can get usually by:

MediumID = gGeoManager->GetMedium("YourMediumName")->GetId();

cutE and cutH are your favorite cuts.

These are the parameters which one usually uses for calorimeter simulation in G3, and thanks to the VMC this is also valid for G4.

Just a final remark, even though it is possible to use range cuts in native G4 format I would not encourage at all. Because it will be valid only for G4, and it will be hard to convert to energy! On the other hand the energy cuts are valid and more logical for all! G3/G4 and fluka.

Hope this will help!


In the newest G4 it is possible to use energy cuts instead of the range cuts, even without the VMC!

Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Geometry of EMC Barrel Crystal
Next Topic: Geometry converter for EMC crystals
Goto Forum:

Current Time: Mon Jul 22 23:23:11 CEST 2024

Total time taken to generate the page: 0.00851 seconds