#include <PrimaryGenerator.h>
Enumerator |
---|
eInfoNone |
|
eInfoFinal |
|
eInfoIntermediate |
|
eInfoDebug |
|
Definition at line 125 of file VModule.h.
Flag returned by module methods to the RunController.
Enumerator |
---|
eSuccess |
Report success to RunController.
|
eFailure |
Report failure to RunController, causing RunController to terminate execution.
|
eBreakLoop |
Break current loop. It works for nested loops too!
|
eContinueLoop |
Skip remaining modules in the current loop and continue with next iteration of the loop.
|
Definition at line 60 of file VModule.h.
Different types of version info that can be retrieved from GetVersionInfo.
Enumerator |
---|
eFilename |
|
eRevisionNumber |
|
eDate |
|
eTime |
|
eLastEditor |
|
Definition at line 110 of file VModule.h.
PrimaryGeneratorKG::PrimaryGenerator::PrimaryGenerator |
( |
| ) |
|
|
inline |
PrimaryGenerator::~PrimaryGenerator |
( |
| ) |
|
|
virtual |
double PrimaryGenerator::DiceEnergy |
( |
| ) |
|
|
private |
std::string fwk::VModule::GetResultFlagByName |
( |
const ResultFlag |
flag | ) |
|
|
staticinherited |
Retrieve different sorts of module version info.
Definition at line 26 of file VModule.cc.
Referenced by fwk::CentralConfig::GetConfig(), ThresholdCalculatorKG::ThresholdCalculator::Init(), fdDoubleBumpFinder::FdDoubleBumpFinder::Init(), LaserGeneratorNA::LaserGenerator::Init(), LaserLightSimulatorNA::LaserLightSimulator::Init(), FdElectronicsSimulatorOG::FdElectronicsSimulator::Init(), TelescopeSimulatorKG::TelescopeSimulator::Init(), TelescopeSimulatorKG2::TelescopeSimulator::Init(), SdSimpleSimKG::SdSimpleSim::Init(), ShowerPhotonGeneratorOG::ShowerPhotonGenerator::Init(), and testRunController::testModuleVersionInfo().
Initialize: invoked at beginning of run (NOT beginning of event)
This method is for things that should be done once at the beginning of a run (for example, booking histograms, performing calculations that need to be done only once, initializing parameters) {You must override this method in your concrete module}
Implements fwk::VModule.
Definition at line 38 of file FdSimulation/PrimaryGeneratorKG/PrimaryGenerator.cc.
References ERROR, io::eSuccess, utl::Branch::GetChild(), utl::Branch::GetData(), utl::Branch::GetFirstChild(), utl::Branch::GetNextSibling(), fwk::CentralConfig::GetTopBranch(), INFO, and utl::Branch::push_back().
void fwk::VModule::InitTiming |
( |
| ) |
|
|
inlineinherited |
PrimaryGeneratorKG::PrimaryGenerator::REGISTER_MODULE |
( |
"PrimaryGeneratorKG" |
, |
|
|
PrimaryGenerator |
|
|
) |
| |
|
private |
Run: invoked once per event.
This method is for things that should be done once per event {You must override this method in your concrete module}
Implements fwk::VModule.
Definition at line 113 of file FdSimulation/PrimaryGeneratorKG/PrimaryGenerator.cc.
References cevt::StationConstants::ePhoton, RdREASSimPreparator::eProton, ERROR, io::eSuccess, evt::ShowerSimData::GetEnergy(), evt::ShowerSimData::GetPrimaryParticle(), evt::Event::GetSimShower(), evt::Event::HasSimShower(), INFO, evt::Event::MakeSimShower(), evt::ShowerSimData::SetEnergy(), and evt::ShowerSimData::SetPrimaryParticle().
double PrimaryGeneratorKG::PrimaryGenerator::fIndex = 0 |
|
private |
int fwk::VModule::fInfoLevel = 0 |
|
protectedinherited |
double PrimaryGeneratorKG::PrimaryGenerator::fMaxLogE = 0 |
|
private |
double PrimaryGeneratorKG::PrimaryGenerator::fMinLogE = 0 |
|
private |
std::vector<int> PrimaryGeneratorKG::PrimaryGenerator::fPrimA |
|
private |
std::vector<int> PrimaryGeneratorKG::PrimaryGenerator::fPrimZ |
|
private |
unsigned int PrimaryGeneratorKG::PrimaryGenerator::fVerbosity = 1 |
|
private |
The documentation for this class was generated from the following files: