Message: Re: Customize scorer and messenger Not Logged In (login)
 Next-in-Thread Next-in-Thread
 Next-in-Forum Next-in-Forum

Question Re: Customize scorer and messenger 

Forum: Biasing and Scoring
Re: Question Customize scorer and messenger (Klas Marcks)
Re: None Re: Customize scorer and messenger (Makoto Asai)
Date: 28 Jun, 2016
From: Klas Marcks <Klas Marcks>


Many thanks for the quick response! you mean something like (in main)

   G4RunManager* runManager = new G4RunManager;
   G4ScoringManager *scMan = G4ScoringManager::GetScoringManager();
   MyScoreQuantityMessenger *quantMess = new MyOScoreQuantityMessenger(scMan);

in main?

But How does the program know know about the new messenger? The default messengers and scorers are hardcoded into the G4scoringManager.


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

1 None: Re: Customize scorer and messenger   (Makoto Asai - 28 Jun, 2016)
(_ Ok: Re: Customize scorer and messenger   (Klas Marcks - 29 Jun, 2016)
 Add Message Add Message
to: "Re: Customize scorer and messenger"

 Subscribe Subscribe

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