G4Kernel
Contents of core/G4Kernel
-
class ActionInitialization : public G4VUserActionInitialization, public MsgService
-
class CaloPhiRange
-
class EventAction : public G4UserEventAction, public MsgService
-
namespace generator
-
class EventReader : public PrimaryGenerator
Public Functions
-
EventReader(std::string name)
Constructor
-
virtual ~EventReader()
Destructor
-
virtual void GeneratePrimaryVertex(G4Event *anEvent) override
Generate primary vertex
-
virtual StatusCode initialize() override
-
virtual StatusCode finalize() override
-
virtual PrimaryGenerator *copy() override
hard copy
Private Functions
-
template<class T>
void InitBranch(TTree *fChain, std::string branch_name, T *param, bool message = true)
-
void link(TTree *t)
-
void clear()
-
void allocate()
-
void release()
-
bool CheckVertexInsideWorld(const G4ThreeVector &pos) const
-
int Load(G4Event*)
-
bool Add(G4Event *g4event, int i, int bc_id)
Private Members
-
unsigned int m_evt
-
std::string m_filename
-
std::string m_eventKey
-
std::string m_truthKey
-
std::string m_seedKey
-
TFile *m_f
-
TTree *m_ttree
-
float m_avgmu
-
float m_totmu
-
int m_runNumber
-
int m_eventNumber
-
float m_bc_duration
-
std::vector<int> *m_p_isMain
-
std::vector<int> *m_p_pdg_id
-
std::vector<int> *m_p_bc_id
-
std::vector<int> *m_p_seed_id
-
std::vector<float> *m_p_px
-
std::vector<float> *m_p_py
-
std::vector<float> *m_p_pz
-
std::vector<float> *m_p_prod_x
-
std::vector<float> *m_p_prod_y
-
std::vector<float> *m_p_prod_z
-
std::vector<float> *m_p_prod_t
-
std::vector<float> *m_p_eta
-
std::vector<float> *m_p_phi
-
std::vector<float> *m_p_e
-
std::vector<float> *m_p_et
-
EventReader(std::string name)
-
class EventReader : public PrimaryGenerator
Warning
doxygenfile: Found multiple matches for file “LinkDef.h
-
class PrimaryGenerator : public G4VPrimaryGenerator, public MsgService, public Gaugi::PropertyService
Subclassed by generator::EventReader
Public Functions
-
inline PrimaryGenerator()
Constructor
-
virtual ~PrimaryGenerator() = default
Destructor
-
virtual StatusCode initialize() = 0
-
virtual StatusCode finalize() = 0
-
virtual PrimaryGenerator *copy() = 0
-
inline PrimaryGenerator()
-
class PrimaryGeneratorAction : public G4VUserPrimaryGeneratorAction, public MsgService
Public Functions
-
PrimaryGeneratorAction(PrimaryGenerator*)
-
~PrimaryGeneratorAction()
-
virtual void GeneratePrimaries(G4Event *anEvent)
Private Members
-
PrimaryGenerator *m_generator
-
PrimaryGeneratorAction(PrimaryGenerator*)
-
class RunAction : public G4UserRunAction, public MsgService
-
class RunManager : public MsgService, public Gaugi::PropertyService
Public Functions
-
RunManager(std::string name)
-
~RunManager()
-
void run(int evt = 10000)
-
void setGenerator(PrimaryGenerator*)
-
void setDetectorConstruction(G4VUserDetectorConstruction*)
-
inline void addUICommand(std::string cmd)
Private Functions
-
void header()
-
RunManager(std::string name)
-
class RunSequence : public G4Run, public MsgService
Public Functions
-
RunSequence(int numberOfThreads, int timeout, std::vector<Gaugi::Algorithm*>, std::string output)
Constructor
-
virtual ~RunSequence()
=====================================================================
Destructor
-
void BeginOfEvent()
=====================================================================
Used in Geant core, Loop event Pre execution used in event action step
-
void ExecuteEvent(const G4Step *step)
=====================================================================
execute a step point to run data. used in step action
-
void EndOfEvent()
=====================================================================
Pos execution used in event action step
-
SG::EventContext &getContext()
=====================================================================
-
bool timeout()
=====================================================================
Is timeout?
-
void lock()
=====================================================================
-
void unlock()
=====================================================================
Private Functions
-
void bookHistograms()
=====================================================================
-
RunSequence(int numberOfThreads, int timeout, std::vector<Gaugi::Algorithm*>, std::string output)
-
class SteppingAction : public G4UserSteppingAction, public MsgService