Skip to content

Commit

Permalink
Safer limits for Geant4 tracking and explicit dependene on geant4core
Browse files Browse the repository at this point in the history
  • Loading branch information
civanch committed Apr 27, 2022
1 parent 863035b commit f26e0cd
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
1 change: 1 addition & 0 deletions SimG4CMS/Calo/plugins/BuildFile.xml
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@
<use name="boost"/>
<use name="root"/>
<use name="clhep"/>
<use name="geant4core"/>
<library file="*.cc" name="SimG4CMSCaloPlugins">
<flags EDM_PLUGIN="1"/>
</library>
4 changes: 2 additions & 2 deletions SimG4Core/Application/python/g4SimHits_cfi.py
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@
StorePhysicsTables = cms.untracked.bool(False),
RestorePhysicsTables = cms.untracked.bool(False),
UseParametrisedEMPhysics = cms.untracked.bool(True),
ThresholdForGeometryExceptions = cms.double(0.01), ## in GeV
ThresholdForGeometryExceptions = cms.double(0.1), ## in GeV
TraceExceptions = cms.bool(False),
CheckGeometry = cms.untracked.bool(False),
OnlySDs = cms.vstring('ZdcSensitiveDetector', 'TotemT2ScintSensitiveDetector', 'TotemSensitiveDetector', 'RomanPotSensitiveDetector', 'PLTSensitiveDetector', 'MuonSensitiveDetector', 'MtdSensitiveDetector', 'BCM1FSensitiveDetector', 'EcalSensitiveDetector', 'CTPPSSensitiveDetector', 'BSCSensitiveDetector', 'CTPPSDiamondSensitiveDetector', 'FP420SensitiveDetector', 'BHMSensitiveDetector', 'CastorSensitiveDetector', 'CaloTrkProcessing', 'HcalSensitiveDetector', 'TkAccumulatingSensitiveDetector'),
Expand Down Expand Up @@ -312,7 +312,7 @@
),
SteppingAction = cms.PSet(
common_maximum_time,
MaxNumberOfSteps = cms.int32(50000),
MaxNumberOfSteps = cms.int32(20000),
EkinNames = cms.vstring(),
EkinThresholds = cms.vdouble(),
EkinParticles = cms.vstring()
Expand Down

0 comments on commit f26e0cd

Please sign in to comment.