hello everyone,
when i compile my code i get this error:
in detector contraction i have this code:
G4SDManager* SDman = G4SDManager::GetSDMpointer();
G4String SDname;
G4VSensitiveDetector* hodoscope1 = new SensitiveDetector(SDname="/hodoscope1");
SDman->AddNewDetector(hodoscope1);
logicDet->SetSensitiveDetector(hodoscope1);