Message: changing production cuts of Physics lists without recompilation of those Not Logged In (login)
 Next-in-Thread Next-in-Thread
 Next-in-Forum Next-in-Forum

None changing production cuts of Physics lists without recompilation of those 

Forum: Physics List
Date: 09 Oct, 2007
From: Victor_Makarov <Victor_Makarov>

I would like to change production cut values for, for example, for LHEP_BERT_HP without changing its source and its recompilation. i.e. from main.cc. I've tried this:

(a part of main.cc)

 G4double defCutValue = 100.0*mm;
  LHEP_BERT_HP *  theBERT = new LHEP_BERT_HP;
  theBERT->SetCutValue(defCutValue, "gamma");
  theBERT->SetCutValue(defCutValue, "e-");
  theBERT->SetCutValue(defCutValue, "e+");
 runManager->SetUserInitialization(theBERT);

Though compilation of my program is ok, production cuts are still the same as in source of LHEP_BERT_HP. Any help? Thanks.

Inline Depth:
 1 1
 All All
Outline Depth:
 1 1
 2 2
 All All
Add message: (add)

 Add Message Add Message
to: "changing production cuts of Physics lists without recompilation of those"

 Subscribe Subscribe

This site runs SLAC HyperNews version 1.11-slac-98, derived from the original HyperNews


[ Geant 4 Home | Geant 4 HyperNews | Search | Request New Forum | Feedback ]