#include <HadrontherapyEventAction.hh>
Definition at line 38 of file HadrontherapyEventAction.hh.
◆ HadrontherapyEventAction()
HadrontherapyEventAction::HadrontherapyEventAction |
( |
| ) |
|
◆ ~HadrontherapyEventAction()
HadrontherapyEventAction::~HadrontherapyEventAction |
( |
| ) |
|
◆ BeginOfEventAction()
void HadrontherapyEventAction::BeginOfEventAction |
( |
const G4Event * |
evt | ) |
|
|
virtual |
◆ EndOfEventAction()
void HadrontherapyEventAction::EndOfEventAction |
( |
const G4Event * |
evt | ) |
|
|
virtual |
Reimplemented from G4UserEventAction.
Definition at line 74 of file HadrontherapyEventAction.cc.
82 if (matrix) matrix -> ClearHitTrack();
94 G4int HitCount = CHC -> entries();
95 for (
G4int h=0; h<HitCount; h++)
97 G4int i = ((*CHC)[h]) -> GetXID();
98 G4int j = ((*CHC)[h]) -> GetYID();
99 G4int k = ((*CHC)[h]) -> GetZID();
100 G4double energyDeposit = ((*CHC)[h]) -> GetEdep();
101 matrix ->
Fill(i, j, k, energyDeposit/
MeV);
static HadrontherapyMatrix * GetInstance()
TNtupleSim Fill(f1, f2, f3, f4)
◆ SetDrawFlag()
void HadrontherapyEventAction::SetDrawFlag |
( |
G4String |
val | ) |
|
|
inline |
◆ SetPrintModulo()
void HadrontherapyEventAction::SetPrintModulo |
( |
G4int |
val | ) |
|
|
inline |
◆ drawFlag
G4String HadrontherapyEventAction::drawFlag |
|
private |
◆ hitsCollectionID
G4int HadrontherapyEventAction::hitsCollectionID |
|
private |
◆ pointerEventMessenger
◆ printModulo
G4int HadrontherapyEventAction::printModulo |
|
private |
The documentation for this class was generated from the following files: