57 pr->HitPrimitive(aStep, aTH);
70 ED <<
"Primitive <" << aPS->
GetName() <<
"> is already defined in <"
72 <<
"Method RegisterPrimitive() is ignored." <<
G4endl;
73 G4Exception(
"G4MultiFunctionalDetector::RegisterPrimitive",
"Det0101",
101 G4cerr <<
"Primitive <" << aPS->
GetName() <<
"> is not defined in <"
103 <<
"Method RemovePrimitive() is ignored." <<
G4endl;
void G4Exception(const char *originOfException, const char *exceptionCode, G4ExceptionSeverity severity, const char *description)
std::ostringstream G4ExceptionDescription
G4GLOB_DLL std::ostream G4cerr
void insert(G4String str)
G4bool RegisterPrimitive(G4VPrimitiveScorer *)
G4MultiFunctionalDetector(G4String)
virtual void Initialize(G4HCofThisEvent *)
virtual void EndOfEvent(G4HCofThisEvent *)
virtual G4bool ProcessHits(G4Step *, G4TouchableHistory *)
std::vector< G4VPrimitiveScorer * > primitives
virtual ~G4MultiFunctionalDetector()
G4bool RemovePrimitive(G4VPrimitiveScorer *)
static G4SDManager * GetSDMpointer()
void AddNewCollection(G4String SDname, G4String DCname)
G4double GetStepLength() const
G4double GetTotalEnergyDeposit() const
void SetMultiFunctionalDetector(G4MultiFunctionalDetector *d)
G4String SensitiveDetectorName
G4CollectionNameVector collectionName