#include <G4PSDoseDeposit.hh>
Definition at line 46 of file G4PSDoseDeposit.hh.
◆ G4PSDoseDeposit() [1/2]
G4PSDoseDeposit::G4PSDoseDeposit |
( |
G4String |
name, |
|
|
G4int |
depth = 0 |
|
) |
| |
Definition at line 47 of file G4PSDoseDeposit.cc.
G4THitsMap< G4double > * EvtMap
virtual void SetUnit(const G4String &unit)
G4VPrimitiveScorer(G4String name, G4int depth=0)
◆ G4PSDoseDeposit() [2/2]
Definition at line 53 of file G4PSDoseDeposit.cc.
G4THitsMap< G4double > * EvtMap
virtual void SetUnit(const G4String &unit)
G4VPrimitiveScorer(G4String name, G4int depth=0)
◆ ~G4PSDoseDeposit()
G4PSDoseDeposit::~G4PSDoseDeposit |
( |
| ) |
|
|
virtual |
◆ clear()
void G4PSDoseDeposit::clear |
( |
void |
| ) |
|
|
virtual |
◆ ComputeVolume()
G4double G4PSDoseDeposit::ComputeVolume |
( |
G4Step * |
aStep, |
|
|
G4int |
idx |
|
) |
| |
|
protectedvirtual |
Reimplemented in G4PSDoseDepositForCylinder3D.
Definition at line 121 of file G4PSDoseDeposit.cc.
131 ED <<
"Incorrect replica number --- GetReplicaNumber : " << idx <<
G4endl;
std::ostringstream G4ExceptionDescription
virtual void ComputeDimensions(G4VPVParameterisation *p, const G4int n, const G4VPhysicalVolume *pRep)
virtual G4VSolid * ComputeSolid(const G4int, G4VPhysicalVolume *)
virtual G4double GetCubicVolume()
virtual G4VPVParameterisation * GetParameterisation() const =0
void G4Exception(const char *originOfException, const char *exceptionCode, G4ExceptionSeverity severity, const char *comments)
G4LogicalVolume * GetLogicalVolume() const
G4VSolid * GetSolid() const
◆ DrawAll()
void G4PSDoseDeposit::DrawAll |
( |
void |
| ) |
|
|
virtual |
◆ EndOfEvent()
◆ Initialize()
Reimplemented from G4VPrimitiveScorer.
Definition at line 82 of file G4PSDoseDeposit.cc.
G4THitsMap< G4double > * EvtMap
G4MultiFunctionalDetector * GetMultiFunctionalDetector() const
G4int GetCollectionID(G4int)
void AddHitsCollection(G4int HCID, G4VHitsCollection *aHC)
◆ PrintAll()
void G4PSDoseDeposit::PrintAll |
( |
void |
| ) |
|
|
virtual |
Reimplemented from G4VPrimitiveScorer.
Definition at line 101 of file G4PSDoseDeposit.cc.
106 std::map<G4int,G4double*>::iterator itr =
EvtMap->
GetMap()->begin();
108 G4cout <<
" copy no.: " << itr->first
G4THitsMap< G4double > * EvtMap
G4double GetUnitValue() const
std::map< G4int, T * > * GetMap() const
G4GLOB_DLL std::ostream G4cout
G4MultiFunctionalDetector * detector
const G4String & GetUnit() const
◆ ProcessHits()
Implements G4VPrimitiveScorer.
Definition at line 63 of file G4PSDoseDeposit.cc.
66 if ( edep == 0. )
return FALSE;
69 (aStep->GetPreStepPoint()->GetTouchable()))
74 G4double density = aStep->GetTrack()->GetStep()->GetPreStepPoint()->GetMaterial()->GetDensity();
76 dose *= aStep->GetPreStepPoint()->GetWeight();
G4THitsMap< G4double > * EvtMap
G4int add(const G4int &key, T *&aHit) const
virtual G4double ComputeVolume(G4Step *, G4int idx)
virtual G4int GetIndex(G4Step *)
◆ SetUnit()
void G4PSDoseDeposit::SetUnit |
( |
const G4String & |
unit | ) |
|
|
virtual |
Definition at line 116 of file G4PSDoseDeposit.cc.
void CheckAndSetUnit(const G4String &unit, const G4String &category)
◆ EvtMap
◆ HCID
G4int G4PSDoseDeposit::HCID |
|
private |
The documentation for this class was generated from the following files: