1 import FWCore.ParameterSet.Config
as cms
5 HFLibraryFileBlock = cms.PSet(
6 FileName = cms.FileInPath(
'SimG4CMS/Calo/data/HFShowerLibrary_oldpmt_noatt_eta4_16en_v3.root'),
7 BackProbability = cms.double(0.2),
8 TreeEMID = cms.string(
'emParticles'),
9 TreeHadID = cms.string(
'hadParticles'),
10 ApplyFiducialCut= cms.bool(
True),
11 FileVersion = cms.int32(0),
12 Verbosity = cms.untracked.bool(
False),
13 BranchPost = cms.untracked.string(
''),
14 BranchEvt = cms.untracked.string(
''),
15 BranchPre = cms.untracked.string(
'')
18 HFShowerBlock = cms.PSet(
19 ProbMax = cms.double(1.0),
20 CFibre = cms.double(0.5),
21 OnlyLong = cms.bool(
True),
22 EqualizeTimeShift = cms.bool(
False)
28 from Configuration.Eras.Modifier_run2_common_cff
import run2_common
29 run2_common.toModify( HFLibraryFileBlock, FileName =
'SimG4CMS/Calo/data/HFShowerLibrary_npmt_noatt_eta4_16en_v4.root' )
30 run2_common.toModify( HFShowerBlock, ProbMax = 0.5 )
35 from Configuration.Eras.Modifier_run3_HFSL_cff
import run3_HFSL
36 run3_HFSL.toModify( HFLibraryFileBlock, FileName =
'SimG4CMS/Calo/data/HFShowerLibrary_run3_v6.root', FileVersion = 2 )
37 run3_HFSL.toModify( HFShowerBlock, EqualizeTimeShift =
True )