Geant4 11.2.2
Toolkit for the simulation of the passage of particles through matter
Loading...
Searching...
No Matches
G4PSStepChecker Class Reference

#include <G4PSStepChecker.hh>

+ Inheritance diagram for G4PSStepChecker:

Public Member Functions

 G4PSStepChecker (G4String name, G4int depth=0)
 
 ~G4PSStepChecker () override=default
 
- Public Member Functions inherited from G4VPrimitiveScorer
 G4VPrimitiveScorer (G4String name, G4int depth=0)
 
virtual ~G4VPrimitiveScorer ()=default
 
G4int GetCollectionID (G4int)
 
virtual void Initialize (G4HCofThisEvent *)
 
virtual void EndOfEvent (G4HCofThisEvent *)
 
virtual void clear ()
 
virtual void DrawAll ()
 
virtual void PrintAll ()
 
void SetUnit (const G4String &unit)
 
const G4StringGetUnit () const
 
G4double GetUnitValue () const
 
void SetMultiFunctionalDetector (G4MultiFunctionalDetector *d)
 
G4MultiFunctionalDetectorGetMultiFunctionalDetector () const
 
G4String GetName () const
 
void SetFilter (G4VSDFilter *f)
 
G4VSDFilterGetFilter () const
 
void SetVerboseLevel (G4int vl)
 
G4int GetVerboseLevel () const
 
void SetNijk (G4int i, G4int j, G4int k)
 

Protected Member Functions

G4bool ProcessHits (G4Step *, G4TouchableHistory *) override
 
- Protected Member Functions inherited from G4VPrimitiveScorer
G4VSolidComputeSolid (G4Step *aStep, G4int replicaIdx)
 
G4VSolidComputeCurrentSolid (G4Step *aStep)
 
virtual G4int GetIndex (G4Step *)
 
void CheckAndSetUnit (const G4String &unit, const G4String &category)
 

Additional Inherited Members

- Protected Attributes inherited from G4VPrimitiveScorer
G4String primitiveName
 
G4MultiFunctionalDetectordetector {nullptr}
 
G4VSDFilterfilter {nullptr}
 
G4int verboseLevel {0}
 
G4int indexDepth
 
G4String unitName {"NoUnit"}
 
G4double unitValue {1.0}
 
G4int fNi {0}
 
G4int fNj {0}
 
G4int fNk {0}
 

Detailed Description

Definition at line 43 of file G4PSStepChecker.hh.

Constructor & Destructor Documentation

◆ G4PSStepChecker()

G4PSStepChecker::G4PSStepChecker ( G4String name,
G4int depth = 0 )

Definition at line 39 of file G4PSStepChecker.cc.

40 : G4VPrimitiveScorer(name, depth)
41{}
G4VPrimitiveScorer(G4String name, G4int depth=0)

◆ ~G4PSStepChecker()

G4PSStepChecker::~G4PSStepChecker ( )
overridedefault

Member Function Documentation

◆ ProcessHits()

G4bool G4PSStepChecker::ProcessHits ( G4Step * aStep,
G4TouchableHistory *  )
overrideprotectedvirtual

Implements G4VPrimitiveScorer.

Definition at line 43 of file G4PSStepChecker.cc.

44{
45 G4cout << "G4PSStepChecker:: Step identified index= " << GetIndex(aStep)
46 << G4endl;
47 return true;
48}
#define G4endl
Definition G4ios.hh:67
G4GLOB_DLL std::ostream G4cout
virtual G4int GetIndex(G4Step *)

The documentation for this class was generated from the following files: