40 : primitiveName(name), indexDepth(depth)
74 G4String msg =
"Invalid unit [" + unit +
"] (Current unit is [" +
GetUnit() +
75 "] ) requested for " +
GetName();
88 if (physParam !=
nullptr) {
91 desc <<
"Incorrect replica number --- GetReplicaNumber : " << replicaIdx <<
G4endl;
99 solid = physVol->GetLogicalVolume()->GetSolid();
void G4Exception(const char *originOfException, const char *exceptionCode, G4ExceptionSeverity severity, const char *description)
std::ostringstream G4ExceptionDescription
static G4SDManager * GetSDMpointer()
G4int GetCollectionID(G4String colName)
const G4VTouchable * GetTouchable() const
G4VPhysicalVolume * GetPhysicalVolume() const
G4StepPoint * GetPreStepPoint() const
static G4double GetValueOf(const G4String &)
static G4String GetCategory(const G4String &)
virtual G4VSolid * ComputeSolid(const G4int, G4VPhysicalVolume *)
virtual void Initialize(G4HCofThisEvent *)
virtual G4int GetIndex(G4Step *)
virtual void EndOfEvent(G4HCofThisEvent *)
G4VSolid * ComputeSolid(G4Step *aStep, G4int replicaIdx)
const G4String & GetUnit() const
G4MultiFunctionalDetector * detector
G4int GetCollectionID(G4int)
G4VPrimitiveScorer(G4String name, G4int depth=0)
void CheckAndSetUnit(const G4String &unit, const G4String &category)
G4VSolid * ComputeCurrentSolid(G4Step *aStep)
virtual void ComputeDimensions(G4VPVParameterisation *p, const G4int n, const G4VPhysicalVolume *pRep)