#include "SensitiveDetector.hh" #include "G4UnitsTable.hh" #include "G4ios.hh" namespace B1 { SensitiveDetector::SensitiveDetector(const G4String& name): G4VSensitiveDetector(name){} G4bool SensitiveDetector::ProcessHits(G4Step* step, G4TouchableHistory* history) { hitCount++; G4cout << hitCount << G4endl; return true; } }