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

#include <G4VPrimitivePlotter.hh>

+ Inheritance diagram for G4VPrimitivePlotter:

Public Member Functions

 ~G4VPrimitivePlotter () override=default
 
void Plot (G4int copyNo, G4int histID)
 
G4int GetNumberOfHist () const
 
 G4VPrimitiveScorer (G4String name, G4int depth=0)
 
- 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 Attributes

std::map< G4int, G4inthitIDMap
 
- 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}
 

Additional Inherited Members

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

Detailed Description

Definition at line 35 of file G4VPrimitivePlotter.hh.

Constructor & Destructor Documentation

◆ ~G4VPrimitivePlotter()

G4VPrimitivePlotter::~G4VPrimitivePlotter ( )
overridedefault

Member Function Documentation

◆ G4VPrimitiveScorer()

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

Definition at line 54 of file G4VPrimitiveScorer.cc.

◆ GetNumberOfHist()

G4int G4VPrimitivePlotter::GetNumberOfHist ( ) const
inline

Definition at line 43 of file G4VPrimitivePlotter.hh.

43{ return (G4int)hitIDMap.size(); }
int G4int
Definition G4Types.hh:85
std::map< G4int, G4int > hitIDMap

◆ Plot()

void G4VPrimitivePlotter::Plot ( G4int copyNo,
G4int histID )
inline

Definition at line 41 of file G4VPrimitivePlotter.hh.

41{ hitIDMap[copyNo] = histID; }

Member Data Documentation

◆ hitIDMap


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