Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 60171
b: "refs/heads/CMSSW_6_2_X_SLHC"
c: eb9d65b
h: "refs/heads/CMSSW_6_2_X_SLHC"
i:
  60169: 93bf334
  60167: be4e5e8
  • Loading branch information
Philippe Gras committed Feb 17, 2009
1 parent 22d8fb2 commit e897102
Show file tree
Hide file tree
Showing 2 changed files with 27 additions and 41 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
---
refs/heads/gh-pages: 4bec1f03ca2f14e90d0ca17351c4d42d84ec2c82
"refs/heads/CMSSW_6_2_X_SLHC": ea9a3f5f301f003d187797c924914b2bab1d3130
"refs/heads/CMSSW_6_2_X_SLHC": eb9d65bff8f1865f35d733b3007122fd8ba8ac1e
66 changes: 26 additions & 40 deletions trunk/Validation/EcalDigis/test/SRValidationTest_cfg.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,15 @@
# initialize magnetic field
process.load("Configuration.StandardSequences.MagneticField_cff")

# geometry (Only Ecal)
#process.load("Geometry.EcalCommonData.EcalOnly_cfi")
# geometry (Only Ecal)
process.load("Geometry.EcalCommonData.EcalOnly_cfi")
process.load("Geometry.CaloEventSetup.CaloGeometry_cff")
process.load("Geometry.CaloEventSetup.EcalTrigTowerConstituents_cfi")
process.load("Geometry.EcalMapping.EcalMapping_cfi")
process.load("Geometry.EcalMapping.EcalMappingRecord_cfi")


# DQM services:
process.load("DQMServices.Core.DQM_cfg")
Expand Down Expand Up @@ -47,6 +54,8 @@

#ECAL reco sequence:
process.load("RecoLocalCalo.Configuration.ecalLocalRecoSequence_cff")
process.ecalWeightUncalibRecHit.EBdigiCollection = cms.InputTag("simEcalDigis", "ebDigis")
process.ecalWeightUncalibRecHit.EEdigiCollection = cms.InputTag("simEcalDigis", "eeDigis")

process.maxEvents = cms.untracked.PSet(
input = cms.untracked.int32(1)
Expand All @@ -65,54 +74,31 @@
sourceSeed = cms.untracked.uint32(135799753)
)

process.source = cms.Source("PythiaSource",
pythiaHepMCVerbosity = cms.untracked.bool(False),
maxEventsToPrint = cms.untracked.int32(0),
pythiaPylistVerbosity = cms.untracked.int32(0),
PythiaParameters = cms.PSet(
processParameters = cms.vstring('MSEL=1 ! QCD hight pT processes',
'CKIN(3)=30. ! minimum pt hat for hard interactions',
'CKIN(4)=50. ! maximum pt hat for hard interactions'),
# This is a vector of ParameterSet names to be read, in this order
parameterSets = cms.vstring('pythiaUESettings',
'processParameters'),
pythiaUESettingsBlock = cms.PSet(
pythiaUESettings = cms.vstring('MSTJ(11)=3 ! Choice of the fragmentation function',
'MSTJ(22)=2 ! Decay those unstable particles',
'PARJ(71)=10 . ! for which ctau 10 mm',
'MSTP(2)=1 ! which order running alphaS',
'MSTP(33)=0 ! no K factors in hard cross sections',
'MSTP(51)=7 ! structure function chosen',
'MSTP(81)=1 ! multiple parton interactions 1 is Pythia default',
'MSTP(82)=4 ! Defines the multi-parton model',
'MSTU(21)=1 ! Check on possible errors during program execution',
'PARP(82)=1.9409 ! pt cutoff for multiparton interactions',
'PARP(89)=1960. ! sqrts for which PARP82 is set',
'PARP(83)=0.5 ! Multiple interactions: matter distrbn parameter',
'PARP(84)=0.4 ! Multiple interactions: matter distribution parameter',
'PARP(90)=0.16 ! Multiple interactions: rescaling power',
'PARP(67)=2.5 ! amount of initial-state radiation',
'PARP(85)=1.0 ! gluon prod. mechanism in MI',
'PARP(86)=1.0 ! gluon prod. mechanism in MI',
'PARP(62)=1.25 ! ',
'PARP(64)=0.2 ! ',
'MSTP(91)=1 !',
'PARP(91)=2.1 ! kt distribution',
'PARP(93)=15.0 ! ')
)
)
)
#Pythia configuration to generate multijet event with pt_hat between 30
#and 50 GeV/c
process.load("Configuration.Generator.QCD_Pt_30_50_cfi")

process.tpparams12 = cms.ESSource("EmptyESSource",
recordName = cms.string('EcalTPGPhysicsConstRcd'),
iovIsRunNotTime = cms.bool(True),
firstValid = cms.vuint32(1)
)

process.detSim = cms.Sequence(process.VtxSmeared*process.g4SimHits)
process.p1 = cms.Path(process.detSim*process.mix*process.simEcalUnsuppressedDigis*process.simEcalTriggerPrimitiveDigis*process.simEcalDigis*process.ecalWeightUncalibRecHit*process.ecalRecHit*process.ecalSelectiveReadoutValidation)
process.outpath = cms.EndPath(process.o1)
process.DQM.collectorHost = ''

process.g4SimHits.Generator.HepMCProductLabel = 'source'

process.simEcalDigis.writeSrFlags = True

# detector response simulation path:
process.detSim = cms.Sequence(process.VtxSmeared*process.g4SimHits)

# processing path:
process.p1 = cms.Path(process.detSim*process.mix*process.simEcalUnsuppressedDigis*process.simEcalTriggerPrimitiveDigis*process.simEcalDigis*process.ecalWeightUncalibRecHit*process.ecalRecHit*process.ecalSelectiveReadoutValidation)

process.outpath = cms.EndPath(process.o1)


process.simEcalDigis.srpEndcapLowInterestChannelZS = -1.e9 #-0.06
process.simEcalDigis.srpBarrelLowInterestChannelZS = -1.e9 #-0.035

0 comments on commit e897102

Please sign in to comment.