OMSim
Geant4 for IceCube optical module studies
Loading...
Searching...
No Matches
supernova/include/OMSimPrimaryGeneratorAction.hh
1#pragma once
2
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
13class G4ParticleGun;
14class G4Event;
15
16
17class OMSimPrimaryGeneratorAction : public G4VUserPrimaryGeneratorAction
18{
19 public:
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
This file contains the classes in charge of particle generation.
Provides the definition for the OMSimSNTools class, centralizing utility methods for Supernova (SN) n...
Class in charge of generating electrons from Electron-electron_Neutrino Elastic Scattering (ENES) nu_...
Definition OMSimSNParticleGenerators.hh:73
Class in charge of generating positrons from IBD of supernova antineutrino interactions.
Definition OMSimSNParticleGenerators.hh:98
Definition effective_area/include/OMSimPrimaryGeneratorAction.hh:8
Definition OMSimPrimaryGeneratorMessenger.hh:12