Skip to content

Commit

Permalink
Merge pull request #1066 from mdhildreth/MixingModule_62X_tag_for_Rea…
Browse files Browse the repository at this point in the history
…listic_MC_production

Mixing module 62 x tag for realistic mc production
  • Loading branch information
davidlt committed Oct 21, 2013
2 parents 7d042c0 + ba8c16e commit 93d100a
Show file tree
Hide file tree
Showing 5 changed files with 506 additions and 0 deletions.
4 changes: 4 additions & 0 deletions Configuration/StandardSequences/python/Mixing.py
Expand Up @@ -95,6 +95,10 @@ def addMixingScenario(label,dict):
addMixingScenario("E8TeV_2012_25nsRunning_TrainFrontOOTPU",{'file': 'SimGeneral.MixingModule.mix_E8TeV_2012_25nsRunning_TrainFrontOOTPU_cfi'})
addMixingScenario("2012_Summer_50ns_PoissonOOTPU_FixedInTime0",{'file': 'SimGeneral.MixingModule.mix_2012_Summer_50ns_PoissonOOTPU_FixedInTime0_cfi'})
addMixingScenario("2012_Summer_50ns_PoissonOOTPU_FixedInTime30",{'file': 'SimGeneral.MixingModule.mix_2012_Summer_50ns_PoissonOOTPU_FixedInTime30_cfi'})
addMixingScenario("E8TeV_2012_run198588_BX_50ns",{'file': 'SimGeneral.MixingModule.mix_E8TeV_run198588_BX_50ns_cfi'})
addMixingScenario("E8TeV_2012_run203002_BX_50ns",{'file': 'SimGeneral.MixingModule.mix_E8TeV_run203002_BX_50ns_cfi'})
addMixingScenario("E8TeV_2012_run209148_BX_25ns",{'file': 'SimGeneral.MixingModule.mix_E8TeV_run209148_BX_25ns_cfi'})
addMixingScenario("E8TeV_2012_ZmumugSkim",{'file': 'SimGeneral.MixingModule.mix_E8TeV_zmmg_skim_BX_50ns_cfi'})
addMixingScenario("ProdStep2",{'file': 'SimGeneral.MixingModule.mixProdStep2_cfi'})
addMixingScenario("fromDB",{'file': 'SimGeneral.MixingModule.mix_fromDB_cfi'})
##fastsim section
Expand Down
129 changes: 129 additions & 0 deletions SimGeneral/MixingModule/python/mix_E8TeV_run198588_BX_50ns_cfi.py
@@ -0,0 +1,129 @@
import FWCore.ParameterSet.Config as cms

# configuration to model pileup for initial physics phase
from SimGeneral.MixingModule.aliases_cfi import *
from SimGeneral.MixingModule.mixObjects_cfi import *
from SimGeneral.MixingModule.mixPoolSource_cfi import *
from SimGeneral.MixingModule.pixelDigitizer_cfi import *
from SimGeneral.MixingModule.stripDigitizer_cfi import *
from SimGeneral.MixingModule.ecalDigitizer_cfi import *
from SimGeneral.MixingModule.hcalDigitizer_cfi import *
from SimGeneral.MixingModule.castorDigitizer_cfi import *
from SimGeneral.MixingModule.trackingTruthProducer_cfi import *

mix = cms.EDProducer("MixingModule",
digitizers = cms.PSet(
pixel = cms.PSet(
pixelDigitizer
),
strip = cms.PSet(
stripDigitizer
),
ecal = cms.PSet(
ecalDigitizer
),
hcal = cms.PSet(
hcalDigitizer
),
castor = cms.PSet(
castorDigitizer
),
mergedtruth = cms.PSet(
trackingParticles
)
),
LabelPlayback = cms.string(''),
maxBunch = cms.int32(0),
minBunch = cms.int32(0), ## in 50ns spacing, go 150ns into past

bunchspace = cms.int32(50), ##ns
mixProdStep1 = cms.bool(False),
mixProdStep2 = cms.bool(False),

playback = cms.untracked.bool(False),
useCurrentProcessOnly = cms.bool(False),

input = cms.SecSource("PoolSource",
type = cms.string('probFunction'),
nbPileupEvents = cms.PSet(
probFunctionVariable = cms.vint32(0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45),
probValue = cms.vdouble(
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0.0397281,
0.294024,
0.301409,
0.226158,
0.138681,
0),
histoFileName = cms.untracked.string('histProbFunction.root'),
),
sequential = cms.untracked.bool(False),
manage_OOT = cms.untracked.bool(True), ## manage out-of-time pileup
## setting this to True means that the out-of-time pileup
## will have a different distribution than in-time, given
## by what is described on the next line:
OOT_type = cms.untracked.string('Poisson'), ## generate OOT with a Poisson matching the number chosen for in-time
#OOT_type = cms.untracked.string('fixed'), ## generate OOT with a fixed distribution
#intFixed_OOT = cms.untracked.int32(2),
fileNames = FileNames
),

mixObjects = cms.PSet(
mixCH = cms.PSet(
mixCaloHits
),
mixTracks = cms.PSet(
mixSimTracks
),
mixVertices = cms.PSet(
mixSimVertices
),
mixSH = cms.PSet(
mixSimHits
),
mixHepMC = cms.PSet(
mixHepMCProducts
)
)
)


129 changes: 129 additions & 0 deletions SimGeneral/MixingModule/python/mix_E8TeV_run203002_BX_50ns_cfi.py
@@ -0,0 +1,129 @@
import FWCore.ParameterSet.Config as cms

# configuration to model pileup for initial physics phase
from SimGeneral.MixingModule.aliases_cfi import *
from SimGeneral.MixingModule.mixObjects_cfi import *
from SimGeneral.MixingModule.mixPoolSource_cfi import *
from SimGeneral.MixingModule.pixelDigitizer_cfi import *
from SimGeneral.MixingModule.stripDigitizer_cfi import *
from SimGeneral.MixingModule.ecalDigitizer_cfi import *
from SimGeneral.MixingModule.hcalDigitizer_cfi import *
from SimGeneral.MixingModule.castorDigitizer_cfi import *
from SimGeneral.MixingModule.trackingTruthProducer_cfi import *

mix = cms.EDProducer("MixingModule",
digitizers = cms.PSet(
pixel = cms.PSet(
pixelDigitizer
),
strip = cms.PSet(
stripDigitizer
),
ecal = cms.PSet(
ecalDigitizer
),
hcal = cms.PSet(
hcalDigitizer
),
castor = cms.PSet(
castorDigitizer
),
mergedtruth = cms.PSet(
trackingParticles
)
),
LabelPlayback = cms.string(''),
maxBunch = cms.int32(3),
minBunch = cms.int32(-12), ## in 50ns spacing, go 150ns into past

bunchspace = cms.int32(50), ##ns
mixProdStep1 = cms.bool(False),
mixProdStep2 = cms.bool(False),

playback = cms.untracked.bool(False),
useCurrentProcessOnly = cms.bool(False),

input = cms.SecSource("PoolSource",
type = cms.string('probFunction'),
nbPileupEvents = cms.PSet(
probFunctionVariable = cms.vint32(0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45),
probValue = cms.vdouble(
0,
0,
0,
0,
0,
9.66474e-17,
1.21114e-12,
2.94126e-09,
1.44281e-06,
0.000151792,
0.00376088,
0.0254935,
0.0610745,
0.0769054,
0.076596,
0.0737104,
0.0720484,
0.0702428,
0.065689,
0.0601684,
0.05682,
0.0557221,
0.0551615,
0.0541009,
0.051686,
0.0460924,
0.0368461,
0.0261355,
0.0164099,
0.0089456,
0.00410306,
0.00153858,
0.000462258,
0.000109812,
2.04474e-05,
2.96742e-06,
3.34444e-07,
2.9214e-08,
1.97586e-09,
1.03436e-10,
4.19123e-12,
1.31456e-13,
3.19116e-15,
5.99601e-17,
8.75296e-19,
0),
histoFileName = cms.untracked.string('histProbFunction.root'),
),
sequential = cms.untracked.bool(False),
manage_OOT = cms.untracked.bool(True), ## manage out-of-time pileup
## setting this to True means that the out-of-time pileup
## will have a different distribution than in-time, given
## by what is described on the next line:
OOT_type = cms.untracked.string('Poisson'), ## generate OOT with a Poisson matching the number chosen for in-time
#OOT_type = cms.untracked.string('fixed'), ## generate OOT with a fixed distribution
#intFixed_OOT = cms.untracked.int32(2),
fileNames = FileNames
),

mixObjects = cms.PSet(
mixCH = cms.PSet(
mixCaloHits
),
mixTracks = cms.PSet(
mixSimTracks
),
mixVertices = cms.PSet(
mixSimVertices
),
mixSH = cms.PSet(
mixSimHits
),
mixHepMC = cms.PSet(
mixHepMCProducts
)
)
)


105 changes: 105 additions & 0 deletions SimGeneral/MixingModule/python/mix_E8TeV_run209148_BX_25ns_cfi.py
@@ -0,0 +1,105 @@
import FWCore.ParameterSet.Config as cms

# configuration to model pileup for initial physics phase
from SimGeneral.MixingModule.aliases_cfi import *
from SimGeneral.MixingModule.mixObjects_cfi import *
from SimGeneral.MixingModule.mixPoolSource_cfi import *
from SimGeneral.MixingModule.pixelDigitizer_cfi import *
from SimGeneral.MixingModule.stripDigitizer_cfi import *
from SimGeneral.MixingModule.ecalDigitizer_cfi import *
from SimGeneral.MixingModule.hcalDigitizer_cfi import *
from SimGeneral.MixingModule.castorDigitizer_cfi import *
from SimGeneral.MixingModule.trackingTruthProducer_cfi import *

mix = cms.EDProducer("MixingModule",
digitizers = cms.PSet(
pixel = cms.PSet(
pixelDigitizer
),
strip = cms.PSet(
stripDigitizer
),
ecal = cms.PSet(
ecalDigitizer
),
hcal = cms.PSet(
hcalDigitizer
),
castor = cms.PSet(
castorDigitizer
),
mergedtruth = cms.PSet(
trackingParticles
)
),
LabelPlayback = cms.string(''),
maxBunch = cms.int32(3),
minBunch = cms.int32(-12), ## in terms of 25 nsec

bunchspace = cms.int32(25), ##ns
mixProdStep1 = cms.bool(False),
mixProdStep2 = cms.bool(False),

playback = cms.untracked.bool(False),
useCurrentProcessOnly = cms.bool(False),

input = cms.SecSource("PoolSource",
type = cms.string('probFunction'),
nbPileupEvents = cms.PSet(
probFunctionVariable = cms.vint32(0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10,11,12,13,14,15,16,17,18,19,20),
probValue = cms.vdouble(
1.92747e-08,
1.62702e-06,
7.42292e-05,
0.0017137,
0.0191414,
0.101638,
0.258023,
0.322184,
0.207559,
0.0730289,
0.0147525,
0.0017561,
0.000123411,
5.07434e-06,
1.20848e-07,
1.6531e-09,
1.29003e-11,
5.7105e-14,
1.42153e-16,
0,
0),
histoFileName = cms.untracked.string('histProbFunction.root'),
),
sequential = cms.untracked.bool(False),
manage_OOT = cms.untracked.bool(True), ## manage out-of-time pileup
## setting this to True means that the out-of-time pileup
## will have a different distribution than in-time, given
## by what is described on the next line:
OOT_type = cms.untracked.string('Poisson'), ## generate OOT with a Poisson matching the number chosen for in-time
#OOT_type = cms.untracked.string('fixed'), ## generate OOT with a fixed distribution
#intFixed_OOT = cms.untracked.int32(2),
fileNames = FileNames
),


mixObjects = cms.PSet(
mixCH = cms.PSet(
mixCaloHits
),
mixTracks = cms.PSet(
mixSimTracks
),
mixVertices = cms.PSet(
mixSimVertices
),
mixSH = cms.PSet(
mixSimHits
),
mixHepMC = cms.PSet(
mixHepMCProducts
)
)
)


0 comments on commit 93d100a

Please sign in to comment.