#ifndef B1SD_h #define B1SD_h 1 #include "G4VSensitiveDetector.hh" #include "B1Hits.hh" class G4Step; class G4HCofThisEvent; class G4TouchableHistory; class B1Hits; class B1SD: public G4VSensitiveDetector { public: //construtor B1SD(G4String SDname); //destrutor ~B1SD(); G4bool ProcessHits(G4Step* step, G4TouchableHistory* ROhist); void Initialize(G4HCofThisEvent* HCE); //void EndOfEvent(G4HCofThisEvent* HCE); private: B1HitsCollection* hitCollection; G4int HCID; }; #endif