Skip to content
Snippets Groups Projects
  1. Jun 04, 2019
    • Marilena Bandieramonte's avatar
      Fix thread-unsafety in Monopole code, G4mplEquationSetup class - Monopole MT ... · 437f266e
      Marilena Bandieramonte authored and Walter Lampl's avatar Walter Lampl committed
      Fix thread-unsafety in Monopole code, G4mplEquationSetup class - Monopole MT  validation [ATLASSIM-4182]
      
      G4mplEquationSetup class was implemented as a singleton, so it was not thread-safe. This affected MT simulation - with more than 1 thread:
      the simulation was aborted for illegal values of energy, momentum and/or time.
      Added the #ifdef G4MULTITHREADED directive to handle the multithreaded case. One instance of the class will be created per each thread
      and stored in a tbb::concurrent_unordered_map that is hashed with the threadID number.
      437f266e
    • Yi Fei Han's avatar
      fix warning message · e2196a14
      Yi Fei Han authored and Walter Lampl's avatar Walter Lampl committed
      e2196a14
  2. Jun 03, 2019
    • John Derek Chapman's avatar
      d5dfe8d5
    • Scott Snyder's avatar
      FastCaloSim: Preparing to make calo det descr immutable. · ff5d1611
      Scott Snyder authored and Walter Lampl's avatar Walter Lampl committed
      Currently, the calo detector description in CaloDetDescrManager first
      gets created, with alignments applied subsequently.  In particular, this
      implies that if one retrieves the detector description in initialize,
      one will get it without alignments.  This is potentially confusing,
      is bad for MT, and commonly leads to the tracking geometry being incorrectly
      built without alignments.  Therefore, we are trying to move towards
      building the detector description once, with alignments applied
      at that point.  See ATR-19685 for further discussion.
      
      This means that one should not retrieve CaloDetDescrManager during initialize().
      Here, it was being used to initialize the call maps in BasicCellBuilderTool.
      Modified so that this instead gets triggered via a callback after
      the aligned calo det descr is created.
      
      However, this exposes some additional points that warrant discussion.
      
      The code here wants to deal with a grid of cells.  Whenever one is doing that,
      it's important to consistently use the unaligned geometry; that is, what
      one gets from the _raw() functions of the DDEs.  The code here wasn't
      doing that.  However, because it was reading the detector description
      during initialize(), before alignments were applied, what it was getting
      was mostly the _raw() values --- though with an imporant exception.
      Even in an unaligned geometry, there's a difference between eta() and eta_raw()
      in the endcap, due to the 6cm shift of the cryostats from the original design.
      The code now uses the _raw() functions to build the maps and hence consistently
      does it in the calo cell coordinate system, but that's a difference from
      what was done before, and hence results can change in the endcap.
      I also adjusted the lookup in m_celllist_maps in
      FastShowerCellBuilderTool::process_particle to adjust to the calorimeter
      cell reference frame, but there are likely other places where there
      are still inconsistencies.
      ff5d1611
  3. May 31, 2019
  4. May 30, 2019
  5. May 29, 2019
  6. May 28, 2019
  7. May 27, 2019
  8. May 25, 2019
  9. May 24, 2019
  10. May 23, 2019
  11. May 22, 2019
  12. May 21, 2019
  13. May 20, 2019
    • John Chapman's avatar
      Make TestPileUpTool private in ART-build test · 50227ea7
      John Chapman authored
      After !22621 then all `PileUpTools` are private to the instance of
      `PileUpToolsAlg` or `DigitizationAlg`, so the syntax in
      `NightlyPileUp.py` needs to be updated accordingly. This should fix
      ATLASSIM-4179.
      50227ea7
  14. May 17, 2019
    • Rupert Tombs's avatar
      Create new LAr digi config. Begin adding necessary flags. · 4212bd7f
      Rupert Tombs authored
      Progress on turning includes into functions.
      
      Continue adaptation.
      
      Add flags towards working test. Improve descriptions of LAr Digitization flags.
      
      Fill in missing flags. Functions now execute.
      
      Continue progress towards working project
      
      Give migrated JobOptions scripts nicer names. Fix migration errors. Add ItemList.
      
      Move some variables out of flags.
      
      Move joboptions include replacements to new locations.
      
      Fix neglected imports, remove redundant imports.
      
      Move flags to appropriate locations. Remove reco flags for digitization only config. Add __init__ file for CaloConditionsConfig. Add tag option to LArBadChannelConfig functions.
      
      Fix sim flag name. Add missing LArBadFedCondAlg import. Remove redundant todo comments
      4212bd7f
Loading