#include "globals.hh" #include "YourDetectorConstruction.hh" #include "YourPrimaryGeneratorAction.hh" int main() { YourDetectorConstruction* det = new YourDetectorConstruction(); // just to suppress (temporray) unused variable warning (void)det; YourPrimaryGeneratorAction* pg = new YourPrimaryGeneratorAction(det); return 0; }