Project

General

Profile

Actions

Development #1409

closed

GEANT4 configuraion within CbmTransport class

Added by Oleg Golosov over 2 years ago. Updated over 2 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Oleg Golosov
Target version:
Start date:
10/17/2019
Due date:
10/26/2019
% Done:

100%

Estimated time:
Spent time:

Description

Dear Volker,

since the CbmTransport class prevents the opportunity to access VMC from macro we'll need some setters to configure the most frequently used settings.

Right now we need to change the stepLimiter value and have an opportunity to enable and disable special cuts (the switch in g4config.in does not work).
Certainly, later this list is going to grow.

If you would rather postpone this change till the next release, could you please for the time being set the default value of stepLimiter to 1e7 and disable the special cuts (it is needed for proper PSD simulation).

Thank you in advance!


Related issues

Related to Simulation - Sim-Development #1423: Configuration of transport with TGeant4ClosedFlorian Uhlig11/02/201902/07/2020

Actions
Actions #1

Updated by Volker Friese over 2 years ago

  • Status changed from New to Assigned
Actions #2

Updated by Volker Friese over 2 years ago

  • Assignee changed from Volker Friese to Oleg Golosov

Dear Oleg,

could you be more precise what you would like to have changed?

Do you mean by stepLimiter vmc->SetMaxNStep()? (is now set to 1e4)

And special cuts:
There is an argument to the constructor of TG4RunConfiguration:

    TG4RunConfiguration* runConfig
    = new TG4RunConfiguration("geomRoot", "QGSP_BERT_EMV+optical",
                              "stepLimiter+specialCuts");

Do you mean to exclude "specialCuts" there? Or where shall I deactivate them?

g4config.in is executed. However, all commands are commented out, except those for the optical processes (maybe there is the source of the problesm we have with RICH).

Actions #3

Updated by Oleg Golosov over 2 years ago

  • Assignee changed from Oleg Golosov to Volker Friese

Dear Volker,

Correct, I meant to exclude "+specialCuts" from TG4RunConfiguration initialization

and to call

vmc->SetMaxNStep(1e7)

Actions #4

Updated by Volker Friese over 2 years ago

  • Status changed from Assigned to Resolved
  • Assignee changed from Volker Friese to Oleg Golosov
  • % Done changed from 0 to 100

Ok, I did that (r15215 in trunk, r15216 in OCT19).

We should take time to discuss what will be needed when using GEANT4 and implement that for the next release. If the current scheme of hardcoding defaults in CbmTransport turns out not to be flexible enough, we have to take other measures. I strongly dislike the macro solution, though, because it does not allow easily to propely reference what has been done in the simulation.

Actions #5

Updated by Oleg Golosov over 2 years ago

Thank you!

Seems that configuration files would suit this aim.

Actions #6

Updated by Volker Friese over 2 years ago

Actions #7

Updated by Volker Friese over 2 years ago

  • Due date set to 10/26/2019
  • Status changed from Resolved to Closed

Follow-up issue for APR20 is #1423. I close this one, then.

Actions

Also available in: Atom PDF