27#ifndef G4MULTISENSITIVEDETECTOR_H
28#define G4MULTISENSITIVEDETECTOR_H
44 using sds_t = std::vector<G4VSensitiveDetector*>;
61 void clear()
override;
71 sds_t::size_type
GetSize()
const {
return fSensitiveDetectors.size(); }
74 void ClearSDs() { fSensitiveDetectors.clear(); }
87 sds_t fSensitiveDetectors;
sdsConstIter GetEnd() const
G4int GetCollectionID(G4int i) final
~G4MultiSensitiveDetector() override=default
void Initialize(G4HCofThisEvent *) override
void EndOfEvent(G4HCofThisEvent *) override
void AddSD(G4VSensitiveDetector *sd)
std::vector< G4VSensitiveDetector * > sds_t
G4bool ProcessHits(G4Step *aStep, G4TouchableHistory *ROhist) override
G4MultiSensitiveDetector(const G4MultiSensitiveDetector &rhs)=default
sdsConstIter GetBegin() const
sds_t::const_iterator sdsConstIter
sds_t::size_type GetSize() const
G4VSensitiveDetector * GetSD(const int i) const
G4MultiSensitiveDetector & operator=(const G4MultiSensitiveDetector &rhs)=default
G4VSensitiveDetector * Clone() const override
G4VSensitiveDetector(G4String name)