The geometry of the detector I have constructed consists of two separate logical volumes, but I want to get an output from these as if they were a single detector. Is there a way to set a sensitive detector using two logical volumes?
It is possible. Just add your second detector in ConstructSD(). For example:
G4SDManager* SDman = G4SDManager::GetSDMpointer();
SensitiveDetector *detector = new SensitiveDetector(“detector”);
Brilliant. Thanks very much I’ll try that