39 :primitiveName(name),detector(nullptr),filter(nullptr),verboseLevel(0),indexDepth(depth),
40 unitName(
"NoUnit"),unitValue(1.0),fNi(0),fNj(0),fNk(0)
103 desc <<
"Incorrect replica number --- GetReplicaNumber : " << replicaIdx <<
G4endl;
112 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
G4int GetReplicaNumber(G4int depth=0) 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)
virtual ~G4VPrimitiveScorer()
G4VSolid * ComputeCurrentSolid(G4Step *aStep)
virtual void ComputeDimensions(G4VPVParameterisation *p, const G4int n, const G4VPhysicalVolume *pRep)