29#ifndef SCAVENGER_PKiller_h
30#define SCAVENGER_PKiller_h 1
32#include <G4VPrimitiveScorer.hh>
33#include <G4UImessenger.hh>
34#include <G4THitsMap.hh>
36#include "G4SystemOfUnits.hh"
84 G4ThreeVector
fPhantomSize = G4ThreeVector(1 * km, 1 * km, 1 * km);
85 std::unique_ptr<G4UIcmdWithADoubleAndUnit>
fpELossUI;
88 std::unique_ptr<G4UIcmdWith3VectorAndUnit>
fpSizeUI;
std::unique_ptr< G4UIcmdWithADoubleAndUnit > fpMinKineticE
void SetNewValue(G4UIcommand *command, G4String newValue) override
Method related to G4UImessenger used to control energy cuts through macro file.
void EndOfEvent(G4HCofThisEvent *) override
PrimaryKiller(const G4String &name, const G4int &depth=0)
~PrimaryKiller() override=default
G4bool ProcessHits(G4Step *, G4TouchableHistory *) override
std::unique_ptr< G4UIcmdWithADoubleAndUnit > fpELossUI
G4ThreeVector fPhantomSize
std::unique_ptr< G4UIcmdWithADoubleAndUnit > fpAbortEventIfELossUpperThan
void SetMinLossEnergyLimit(const G4double &energy)
Set the energy loss from which the primary is killed.
void SetMaxLossEnergyLimit(const G4double &energy)
Set the energy loss from which the event is aborted.
std::unique_ptr< G4UIcmdWith3VectorAndUnit > fpSizeUI