Skip to content
Snippets Groups Projects
  1. Jun 08, 2018
    • John Chapman's avatar
      Add isTestBeam property to LArBarrelPresamplerGeometry · 2f44d6a5
      John Chapman authored
      Whether we are running a test-beam job or not should be known at
      configuration time, so it is much more efficient to set a configurable
      property at this point rather than checking whether we are using
      a test beam geometry *every single step* in the pre-sampler. Part of
      the changes for ATLASSIM-2643. (Does not change the output in my local tests.)
      
      
      Former-commit-id: ffc9ec29d05010b853bca289ddb799d2e448ed46
      2f44d6a5
  2. Jun 07, 2018
    • John Chapman's avatar
      Add isTestBeam property to LArBarrelPresamplerCalculator · 21716d97
      John Chapman authored
      Whether we are running a test-beam job or not should be known at
      configuration time, so it is much more efficient to set a configurable
      property at this point rather than checking whether we are using
      a test beam geometry *every single step* in the pre-sampler. Part of
      the changes for ATLASSIM-2643. (Does not change the output in my local tests.)
      
      
      Former-commit-id: 94d71c38165cec8d43a49c10adf7610d5cb04c8a
      21716d97
    • John Chapman's avatar
      Code tidying of LArG4Barrel package · 0fe84132
      John Chapman authored
      Making a variables const where possible and tidying some syntax.
      
      
      Former-commit-id: ad6fa0646125011fba809da00dc46837544d988f
      0fe84132
    • John Chapman's avatar
      Remove short-lived heap allocations of strings in LArG4Barrel · 673780d7
      John Chapman authored
      As mentioned in	ATLASSIM-2643, lines using char* literals cause	short-lived
      heap-allocations, harming simulation performance. This merge request aims
      to mitigate this by making the strings in question static const.
      
      
      Former-commit-id: 9680dee1dc3df5ad5ad7958a1fda116ddf76d85f
      673780d7
    • John Chapman's avatar
      Remove short-lived heap allocations in LArG4HEC · 499b1f50
      John Chapman authored
      As mentioned in ATLASSIM-2643, lines using char* literals cause short-lived
      heap-allocations, harming simulation performance. This merge request aims
      to mitigate this by making the strings in question static const.
      
      
      Former-commit-id: 9f80174247e061081f80592aac85f5429fa5de79
      499b1f50
  3. Jun 06, 2018
  4. Apr 18, 2018
    • John Chapman's avatar
      Fix for Coverity Defect 115448 in LArBarrelPresamplerGeometry.cxx · e236f1c9
      John Chapman authored
      `LArBarrelPresamplerGeometry` used to include `PresParameterDef.icc`
      in its `intitialize` method to set all the member variables defined
      in `PresParameterDef.h`. Switched to using brace-initialization syntax
      to initialize all of these variables directly in `PresParameterDef.h`
      Default initialized all remaining variables in `LArBarrelPresamplerGeometry.h`
      for consistency. Some member variables are set properly during the
      `initialize` method still though. Should fix Coverity Defect 115448.
      
      
      Former-commit-id: 34709691d12f35360c65c740fc92c3745877768f
      e236f1c9
  5. Apr 17, 2018
    • John Chapman's avatar
      Update LArG4 Geometry Calculator interface syntax · b105b350
      John Chapman authored
      The geometry calculator services in the `LArG4` packages (used in Simulation)
      have been migrated use to the  `extends<AthService, ...>` pattern rather than
      using the deprecated approach of specifying a	`queryInterface(...)` method
      explicitly. The various interface classes have been migrated to use the
      `DeclareInterfaceID` pattern rather than making the declaration explicitly.
      
      
      Former-commit-id: 711c7ad13f72f8c38ac1e0f498e71c6a48a94980
      b105b350
    • John Chapman's avatar
      Tidying of `LArG4ShowerLibSvc` snytax · 6be50477
      John Chapman authored
      The `LArG4ShowerLibSvc` (used in Simulation) has been migrated use to the
      `extends<AthService, ...>` pattern rather than using the deprecated approach
      of specifying a `queryInterface(...)` method directly. `ILArG4ShowerLibSvc`
      has been migrated to use the `DeclareInterfaceID` pattern rather than making
      the declaration directly. The use of `SvcFactory` and make `LArG4ShowerLibSvc`
      constructor and destructor public rather than protected.
      
      
      Former-commit-id: 39f300dc14dcdeebaa411ea9b97a17efcc9ba0b3
      6be50477
  6. Apr 16, 2018
    • John Chapman's avatar
      Fix for Coverity Defect 115452 in HECGeometry.cxx · 5c6472f7
      John Chapman authored
      `HECGeometry` sets a number of its member variables in the `intitialize`
      method based on values retrieved from the `HECDetectorManager`. Some of
      these variables remained uninitialized in the constructor though.
      Switched to using brace-initialization syntax to default-initialize all
      member variables directly in `HECGeometry.h`. Some member variables are
      set properly during the `initialize` method still though. Should fix
      Coverity Defect 115452.
      
      
      Former-commit-id: d22a7be11db273579739aaef474d64105c375ace
      5c6472f7
    • John Chapman's avatar
      Fix COnfigurationsbles LArG4H6SDConfig.py · 6e2562e7
      John Chapman authored
      Former-commit-id: aa1867a5c4e92e90ad5baedbddd276cd38eed9bf
      6e2562e7
    • John Chapman's avatar
      Fix Coverity Defect 115443 in LArFCALCalcuatorBase.cxx · f8df1915
      John Chapman authored
      The `m_OOTcut` variable is already defined as a configurable property
      of the `LArCalculatorSvcImp` base class, so it does not need to be
      re-defined in the `LArFCALCalcuatorBase` derived class. In addition
      rather than hard-coding the value during `LArFCALCalcuatorBase::initialize`
      it can be set in the relevant `CfgGetter` methods in `LArG4FCALConfig.py`.
      This should fix Coverity Defect 115443.
      
      
      Former-commit-id: bca611904cd6721b365aa1c2e67a89fb20ce8bb4
      f8df1915
    • John Chapman's avatar
      Refactor calculation of etaBin variable in LArG4HEC/src/LocalGeometry.cc · f6dc4437
      John Chapman authored
      `switch` statements used in the calculation of the `etaBin variable in
      the `LocalGeometry::CalculateIdentifier` method contained dead code.
      The calculation has been refactored slightly to remove the switch
      statements. This should fix Coverity Defect 115128.
      
      
      Former-commit-id: d2f5391eb7eb3b778b1497f19fcbc74ef3b9ce84
      f6dc4437
    • John Chapman's avatar
      Fix Coverity Defect 118594 in CalibSDTool.cc · 2af83f04
      John Chapman authored
      The `m_id_helper` member variable was uninitialized in the
      `CalibSDTool` constructor. This change should fix Coverity Defect 118594.
      
      
      Former-commit-id: 095c717a
      2af83f04
  7. Apr 10, 2018
  8. Mar 29, 2018
  9. Dec 08, 2017
  10. Dec 06, 2017
    • Carl Suster's avatar
      Remove LArG4ShowerLibData package · 8ced9113
      Carl Suster authored
      This package existed only to install data files. The files were excluded from
      git during the migration from svn and are picked up externally as of
      ATLINFR-1648. This package now only installs broken symlinks and so isn't
      needed.
      
      
      Former-commit-id: e2704dbd84bb2986d8f13189a04a9a1a16c0c720
      8ced9113
  11. Dec 05, 2017
  12. Nov 16, 2017
  13. Nov 10, 2017
  14. Nov 07, 2017
  15. Nov 06, 2017
  16. Nov 01, 2017
  17. Oct 30, 2017
  18. Oct 26, 2017
    • John Chapman's avatar
      Remove _do_G4AtlasAlg method from SimSkeleton · fa864e5f
      John Chapman authored
      As part of the push to make simulation configuration more standard
      the `_do_G4AtlasAlg` method (only run outside of ISF) which added
      `G4AtlasAlg` to the `AlgSequence` has been removed. This means that
      rather than being added when `PyG4AtlasAlg` is created `G4AtlasAlg`
      has to be added explicitly to the `AlgSequence` in every set of
      job options where `PyG4AtlasAlg` is added. Eventually `PyG4AtlasAlg`
      will be removed from all these job options.
      
      
      Former-commit-id: a7bf43099ab957bc15556b943eaf97700984518e
      fa864e5f
  19. Jul 10, 2017
  20. Jul 06, 2017
  21. Jun 20, 2017
  22. May 29, 2017
Loading