Dear experts and users,
I am working on a multilevel optimization problem and I am curious if there is a way to automate the runs by writing a script and integrating it into the files, in my case DetectorConstruction class. What I would like to do is to make that script communicate with the DetectorConstruction class to modify the detector size with an algorithm.
If there is an example related to this, I would like to have a look at it.
I tried to find a similar topic but I didn’t see anything related.
Any help is appreciated.