Message: Is ActionInitializtion.cc a necessary Action Class? Not Logged In (login)
 Next-in-Thread Next-in-Thread
 Next-in-Forum Next-in-Forum

Question Is ActionInitializtion.cc a necessary Action Class? 

Forum: Run Management
Date: 13 Nov, 2017
From: Aqsa <Aqsa>

I have a code in which there is no ActionInitialization.cc, unlike all the examples. I noticed that the code which I am referring to, has the PrimaryGeneratorAction class called in the main program itself (part of the main program code given at the end). So I was wondering if the only thing that ActionInitialization.cc does is to call PrimaryGeneratorAction. Or is there any other particular reason to use it?

  runManager->SetUserAction(new PrimaryGeneratorAction());

  runManager->SetUserAction(new RunAction(analysis));

  runManager->SetUserAction(new EventAction(analysis));

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

1 None: Re: Is ActionInitializtion.cc a necessary Action Class?   (Michael H. Kelsey - 13 Nov, 2017)
 Add Message Add Message
to: "Is ActionInitializtion.cc a necessary Action Class?"

 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 ]