Skip to content
Snippets Groups Projects
  • adrien-matta's avatar
    c1eb0913
    * Adding option to reload the current geometry via messenger · c1eb0913
    adrien-matta authored
     - Delete the actual geometry
     - Clear the Detector Manager
     - Reload Geometry file
    
    For this to work a couple of thing has been done:
     - InitializeRootInput now need an extra SetBranchAddress to tell the
       tree that the previous address is no longer in use
     - Scorer can not be cleared, so need to be retrieved in case of a
       reloading. If they do not exist they are created
     - This is done using the new CheckScorer static method from VDetector
    c1eb0913
    History
    * Adding option to reload the current geometry via messenger
    adrien-matta authored
     - Delete the actual geometry
     - Clear the Detector Manager
     - Reload Geometry file
    
    For this to work a couple of thing has been done:
     - InitializeRootInput now need an extra SetBranchAddress to tell the
       tree that the previous address is no longer in use
     - Scorer can not be cleared, so need to be retrieved in case of a
       reloading. If they do not exist they are created
     - This is done using the new CheckScorer static method from VDetector