CMS 3D CMS Logo

HFParameters_cff.py
Go to the documentation of this file.
1 import FWCore.ParameterSet.Config as cms
2 
3 # Several parameters needed for HF simulation
4 
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  Verbosity = cms.untracked.bool(False),
12  BranchPost = cms.untracked.string(''),
13  BranchEvt = cms.untracked.string(''),
14  BranchPre = cms.untracked.string('')
15 )
16 
17 HFShowerBlock = cms.PSet(
18  ProbMax = cms.double(1.0),
19  CFibre = cms.double(0.5),
20  OnlyLong = cms.bool(True)
21 )
22 
23 
26 from Configuration.Eras.Modifier_run2_common_cff import run2_common
27 run2_common.toModify( HFLibraryFileBlock, FileName = 'SimG4CMS/Calo/data/HFShowerLibrary_npmt_noatt_eta4_16en_v4.root' )
28 run2_common.toModify( HFShowerBlock, ProbMax = 0.5)