Blank Terminal display when I run 1 one event on my detector

On creating a cerenkov detector, when I implemented this code "void MyDetectorConstruction::ConstructSDandField()
MySensitiveDetector *sensDet = new MySensitiveDetector(“SensitiveDetector”);


}" and executed the geometry came out and but when I ran 1 event, the terminal appeared blank and after some time “Killed” appeared on the terminal. what could be responsible for that? The hits were displaying when i run beamOn until that code.