Undefined reference to `MySensitiveDetector::MySensitiveDetector(G4String)'

I can recommend the references for introductory material on c++ in this post:

seems you are missing a

public:
    MyDetectorConstruction(G4String);

entry (plus maybe implementation).

1 Like