Geant4
10.01.p02
|
#include <G4PSFlatSurfaceCurrent.hh>
Protected Member Functions | |
virtual G4bool | ProcessHits (G4Step *, G4TouchableHistory *) |
G4int | IsSelectedSurface (G4Step *, G4Box *) |
virtual void | DefineUnitAndCategory () |
Protected Member Functions inherited from G4VPrimitiveScorer | |
virtual G4int | GetIndex (G4Step *) |
void | CheckAndSetUnit (const G4String &unit, const G4String &category) |
Private Attributes | |
G4int | HCID |
G4int | fDirection |
G4THitsMap< G4double > * | EvtMap |
G4bool | weighted |
G4bool | divideByArea |
Additional Inherited Members | |
Protected Attributes inherited from G4VPrimitiveScorer | |
G4String | primitiveName |
G4MultiFunctionalDetector * | detector |
G4VSDFilter * | filter |
G4int | verboseLevel |
G4int | indexDepth |
G4String | unitName |
G4double | unitValue |
G4int | fNi |
G4int | fNj |
G4int | fNk |
Definition at line 60 of file G4PSFlatSurfaceCurrent.hh.
Definition at line 59 of file G4PSFlatSurfaceCurrent.cc.
References DefineUnitAndCategory(), and SetUnit().
G4PSFlatSurfaceCurrent::G4PSFlatSurfaceCurrent | ( | G4String | name, |
G4int | direction, | ||
const G4String & | unit, | ||
G4int | depth = 0 |
||
) |
Definition at line 68 of file G4PSFlatSurfaceCurrent.cc.
References DefineUnitAndCategory(), and SetUnit().
|
virtual |
Definition at line 79 of file G4PSFlatSurfaceCurrent.cc.
|
virtual |
Reimplemented from G4VPrimitiveScorer.
Definition at line 159 of file G4PSFlatSurfaceCurrent.cc.
References G4THitsMap< T >::clear(), and EvtMap.
|
protectedvirtual |
Definition at line 199 of file G4PSFlatSurfaceCurrent.cc.
Referenced by G4PSFlatSurfaceCurrent().
|
inline |
Definition at line 72 of file G4PSFlatSurfaceCurrent.hh.
References divideByArea.
Referenced by G4ScoreQuantityMessenger::SetNewValue().
|
virtual |
Reimplemented from G4VPrimitiveScorer.
Definition at line 163 of file G4PSFlatSurfaceCurrent.cc.
|
virtual |
Reimplemented from G4VPrimitiveScorer.
Definition at line 156 of file G4PSFlatSurfaceCurrent.cc.
|
virtual |
Reimplemented from G4VPrimitiveScorer.
Definition at line 149 of file G4PSFlatSurfaceCurrent.cc.
References G4HCofThisEvent::AddHitsCollection(), G4VPrimitiveScorer::detector, EvtMap, G4VPrimitiveScorer::GetCollectionID(), G4VPrimitiveScorer::GetName(), G4VSensitiveDetector::GetName(), and HCID.
Definition at line 120 of file G4PSFlatSurfaceCurrent.cc.
References fCurrent_In, fCurrent_Out, fGeomBoundary, G4VTouchable::GetHistory(), G4GeometryTolerance::GetInstance(), G4StepPoint::GetPosition(), G4Step::GetPostStepPoint(), G4Step::GetPreStepPoint(), G4StepPoint::GetStepStatus(), G4GeometryTolerance::GetSurfaceTolerance(), G4NavigationHistory::GetTopTransform(), G4StepPoint::GetTouchableHandle(), G4Box::GetZHalfLength(), and G4AffineTransform::TransformPoint().
Referenced by ProcessHits().
|
virtual |
Reimplemented from G4VPrimitiveScorer.
Definition at line 166 of file G4PSFlatSurfaceCurrent.cc.
References G4VPrimitiveScorer::detector, divideByArea, G4THitsMap< T >::entries(), EvtMap, G4cout, G4endl, G4THitsMap< T >::GetMap(), G4VPrimitiveScorer::GetName(), G4VSensitiveDetector::GetName(), G4VPrimitiveScorer::GetUnit(), and G4VPrimitiveScorer::GetUnitValue().
|
protectedvirtual |
Implements G4VPrimitiveScorer.
Definition at line 82 of file G4PSFlatSurfaceCurrent.cc.
References G4THitsMap< T >::add(), G4VSolid::ComputeDimensions(), G4VPVParameterisation::ComputeSolid(), divideByArea, EvtMap, fCurrent_InOut, fDirection, G4VPrimitiveScorer::GetIndex(), G4VPhysicalVolume::GetLogicalVolume(), G4VPhysicalVolume::GetParameterisation(), G4StepPoint::GetPhysicalVolume(), G4Step::GetPreStepPoint(), G4LogicalVolume::GetSolid(), G4StepPoint::GetTouchable(), G4StepPoint::GetTouchableHandle(), G4StepPoint::GetWeight(), G4Box::GetXHalfLength(), G4Box::GetYHalfLength(), G4VPrimitiveScorer::indexDepth, IsSelectedSurface(), TRUE, and weighted.
|
virtual |
Definition at line 184 of file G4PSFlatSurfaceCurrent.cc.
References G4VPrimitiveScorer::CheckAndSetUnit(), divideByArea, G4Exception(), G4VPrimitiveScorer::GetName(), G4VPrimitiveScorer::GetUnit(), JustWarning, G4VPrimitiveScorer::unitName, and G4VPrimitiveScorer::unitValue.
Referenced by G4PSFlatSurfaceCurrent(), G4PSFlatSurfaceCurrent3D::G4PSFlatSurfaceCurrent3D(), and G4ScoreQuantityMessenger::SetNewValue().
|
inline |
Definition at line 70 of file G4PSFlatSurfaceCurrent.hh.
References weighted.
Referenced by G4ScoreQuantityMessenger::SetNewValue().
|
private |
Definition at line 96 of file G4PSFlatSurfaceCurrent.hh.
Referenced by DivideByArea(), PrintAll(), ProcessHits(), and SetUnit().
|
private |
Definition at line 94 of file G4PSFlatSurfaceCurrent.hh.
Referenced by clear(), Initialize(), PrintAll(), and ProcessHits().
|
private |
Definition at line 93 of file G4PSFlatSurfaceCurrent.hh.
Referenced by ProcessHits().
|
private |
Definition at line 92 of file G4PSFlatSurfaceCurrent.hh.
Referenced by Initialize().
|
private |
Definition at line 95 of file G4PSFlatSurfaceCurrent.hh.
Referenced by ProcessHits(), and Weighted().