Skip to content
Snippets Groups Projects
  1. Apr 21, 2023
    • Frank Gaede's avatar
      remove old commented code · c28cb925
      Frank Gaede authored
      c28cb925
    • Frank Gaede's avatar
      remove unit conversion in Geant4FastSimShowerModel · 4a58c78b
      Frank Gaede authored
       - units from properties specified in ddsim_steer.py
         already are in G4units, so no conversion needed
      4a58c78b
    • Frank Gaede's avatar
    • Andre Sailer's avatar
      Apply suggestions from code review · 223a4ca0
      Andre Sailer authored
      DDSim,Meta: Fix formatting for dict
      223a4ca0
    • scott snyder's avatar
      Fig setting of run/event number offsets from the ddsim command line. · c5030d4a
      scott snyder authored
      The ddsim --meta.runNumberOffset command-line argument doesn't work
      correctly (and similarly for event number).
      
      On a machine running
      
      ```
      LSB Version:    :core-4.1-amd64:core-4.1-ia32:core-4.1-noarch
      Distributor ID: Scientific
      Description:    Scientific Linux release 7.3 (Nitrogen)
      Release:        7.3
      Codename:       Nitrogen
      ```
      
      I do
      
      ```
      . /cvmfs/sw.hsf.org/key4hep/setup.sh
      ```
      
      The then command
      
      ```
      ddsim  --compactFile $LCGEO/FCCee/compact/FCCee_o1_v05/FCCee_o1_v05.xml -G -N10 --outputFile out.edm4hep.root --meta.runNumberOffset 735001  2>&1|tee log
      ```
      
      eventually crashes with the error
      
      ```
      Geant4UI         INFO  +++ EventAction> Install Geant4 control directory:/ddg4/EventAction/
      Traceback (most recent call last):
        File "/cvmfs/sw.hsf.org/spackages7/dd4hep/1.23/x86_64-centos7-gcc11.2.0-opt/q4qtg/bin/ddsim", line 25, in <module>
          RUNNER.run()
        File "/cvmfs/sw.hsf.org/spackages7/dd4hep/1.23/x86_64-centos7-gcc11.2.0-opt/q4qtg/lib/python3.10/site-packages/DDSim/DD4hepSimulation.py", line 368, in run
          e4Out.RunNumberOffset = self.meta.runNumberOffset if self.meta.runNumberOffset > 0 else 0
      TypeError: '>' not supported between instances of 'str' and 'int'
       *** Break *** segmentation violation
      ```
      
      The arguments are never converted from strings to integers.
      The change here fixes this.
      c5030d4a
  2. Mar 30, 2023
  3. Mar 23, 2023
  4. Mar 22, 2023
  5. Mar 15, 2023
  6. Mar 03, 2023
  7. Mar 02, 2023
  8. Mar 01, 2023
  9. Feb 24, 2023
    • Andre Sailer's avatar
      Geant4Output2EDM4hep: fix "non-trivial type in variadic function · 93576700
      Andre Sailer authored
      /build/jenkins/workspace/lcg_nightly_pipeline/build/frameworks/DD4hep-01.25/src/DD4hep/01.25/DDG4/edm4hep/Geant4Output2EDM4hep.cpp:100:80: error: cannot pass object of non-trivial type 'const std::basic_string<char>' through variadic function; call will abort at runtime [-Wnon-pod-varargs]
              printout(DEBUG, "Geant4OutputEDM4hep", "Saving event parameter: %s", p.first);
                                                                                     ^
      /build/jenkins/workspace/lcg_nightly_pipeline/build/frameworks/DD4hep-01.25/src/DD4hep/01.25/DDG4/edm4hep/Geant4Output2EDM4hep.cpp:104:80: error: cannot pass object of non-trivial type 'const std::basic_string<char>' through variadic function; call will abort at runtime [-Wnon-pod-varargs]
              printout(DEBUG, "Geant4OutputEDM4hep", "Saving event parameter: %s", p.first);
                                                                                     ^
      /build/jenkins/workspace/lcg_nightly_pipeline/build/frameworks/DD4hep-01.25/src/DD4hep/01.25/DDG4/edm4hep/Geant4Output2EDM4hep.cpp:108:80: error: cannot pass object of non-trivial type 'const std::basic_string<char>' through variadic function; call will abort at runtime [-Wnon-pod-varargs]
              printout(DEBUG, "Geant4OutputEDM4hep", "Saving event parameter: %s", p.first);
      93576700
  10. Feb 23, 2023
  11. Feb 16, 2023
  12. Jan 26, 2023
  13. Jan 20, 2023
  14. Jan 19, 2023
  15. Jan 18, 2023
  16. Jan 17, 2023
  17. Jan 11, 2023
Loading