OMSim
Geant4 for IceCube optical module studies
Loading...
Searching...
No Matches
supernova/include/OMSimPrimaryGeneratorAction.hh
1
#pragma once
2
3
#include "
OMSimSNParticleGenerators.hh
"
4
#include "OMSimPrimaryGeneratorMessenger.hh"
5
#include "
OMSimSNTools.hh
"
6
7
#include <globals.hh>
8
#include <vector>
9
#include <G4PhysicalConstants.hh>
10
#include <G4SystemOfUnits.hh>
11
#include <G4VUserPrimaryGeneratorAction.hh>
12
13
class
G4ParticleGun;
14
class
G4Event;
15
16
17
class
OMSimPrimaryGeneratorAction
:
public
G4VUserPrimaryGeneratorAction
18
{
19
public
:
20
OMSimPrimaryGeneratorAction
();
21
~OMSimPrimaryGeneratorAction
();
22
23
public
:
24
virtual
void
GeneratePrimaries(G4Event*);
25
26
public
:
27
G4ParticleGun* GetParticleGun() {
return
m_particleGun; };
28
29
void
SelectAction(G4int i) { m_selectedAction = i; };
30
G4int GetSelectedAction() {
return
m_selectedAction; };
31
32
OMSimIBD
* GetAction0() {
return
m_action0; };
33
OMSimENES
* GetAction1() {
return
m_action1; };
34
35
36
private
:
37
G4ParticleGun* m_particleGun;
38
39
40
OMSimIBD
* m_action0;
41
OMSimENES
* m_action1;
42
G4int m_selectedAction;
43
OMSimPrimaryGeneratorMessenger
* m_gunMessenger;
44
45
};
46
47
OMSimSNParticleGenerators.hh
This file contains the classes in charge of particle generation.
OMSimSNTools.hh
Provides the definition for the OMSimSNTools class, centralizing utility methods for Supernova (SN) n...
OMSimENES
Class in charge of generating electrons from Electron-electron_Neutrino Elastic Scattering (ENES) nu_...
Definition
OMSimSNParticleGenerators.hh:73
OMSimIBD
Class in charge of generating positrons from IBD of supernova antineutrino interactions.
Definition
OMSimSNParticleGenerators.hh:98
OMSimPrimaryGeneratorAction
Definition
effective_area/include/OMSimPrimaryGeneratorAction.hh:8
OMSimPrimaryGeneratorMessenger
Definition
OMSimPrimaryGeneratorMessenger.hh:12
simulations
supernova
include
OMSimPrimaryGeneratorAction.hh
Generated on Mon Dec 23 2024 11:17:27 for OMSim by
1.9.8