#include <EDepSimNuMIRockKinematicsGenerator.hh>
Public Member Functions | |
NuMIRockKinematicsGenerator (const G4String &name, const G4String &fluxName) | |
virtual | ~NuMIRockKinematicsGenerator () |
virtual GeneratorStatus | GeneratePrimaryVertex (G4Event *evt, const G4LorentzVector &position) |
Add a primary vertex to the event. More... | |
Public Member Functions inherited from EDepSim::VKinematicsGenerator | |
VKinematicsGenerator (const G4String &name) | |
virtual | ~VKinematicsGenerator () |
G4String | GetName () const |
Return the name of the generator. More... | |
Private Attributes | |
std::string | fFluxName |
The static part of the file name field. More... | |
Additional Inherited Members | |
Public Types inherited from EDepSim::VKinematicsGenerator | |
enum | GeneratorStatus { kFail = 0, kSuccess, kLastVertex, kEndEvent } |
A status value that can be returned by GeneratePrimaryVertex. More... | |
Definition at line 12 of file EDepSimNuMIRockKinematicsGenerator.hh.
EDepSim::NuMIRockKinematicsGenerator::NuMIRockKinematicsGenerator | ( | const G4String & | name, |
const G4String & | fluxName | ||
) |
Construct a new generator. The name is the name of the generator (e.g. GENIE, rock, &c). The fluxName is the name of the neutrino spectrum.
Definition at line 23 of file EDepSimNuMIRockKinematicsGenerator.cc.
|
virtual |
Definition at line 27 of file EDepSimNuMIRockKinematicsGenerator.cc.
|
virtual |
Add a primary vertex to the event.
Implements EDepSim::VKinematicsGenerator.
Definition at line 30 of file EDepSimNuMIRockKinematicsGenerator.cc.
|
private |
The static part of the file name field.
Definition at line 27 of file EDepSimNuMIRockKinematicsGenerator.hh.