#ifndef mySD_hh #define mySD_hh #include "G4VSensitiveDetector.hh" #include "G4VHitsCollection.hh" #include "myHit.hh" class G4Step; class G4HCofThisEvent; class mySD : public G4VSensitiveDetector { public : mySD(G4String); ~mySD(); void Initialize(G4HCofThisEvent* HCE); G4bool ProcessHits(G4Step*, G4TouchableHistory*); void EndOfEvent(G4HCofThisEvent*); myHitCollection* fHitsCollection = nullptr; G4int collectionID; G4CollectionNameVector collectionName; G4String hitsCollectionName; }; #endif