Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

62 xhl tand t ps #1589

Merged
merged 9 commits into from
Nov 26, 2013
3 changes: 3 additions & 0 deletions Configuration/Applications/python/ConfigBuilder.py
Original file line number Diff line number Diff line change
Expand Up @@ -1352,6 +1352,9 @@ def prepare_DIGI(self, sequence = None):
if self._options.himix==True:
self.loadAndRemember("SimGeneral/MixingModule/himixDIGI_cff")

if sequence == 'pdigi_valid':
self.executeAndRemember("process.mix.digitizers = cms.PSet(process.theDigitizersValid)")

self.scheduleSequence(sequence.split('.')[-1],'digitisation_step')
return

Expand Down
13 changes: 6 additions & 7 deletions Configuration/PyReleaseValidation/python/relval_steps.py
Original file line number Diff line number Diff line change
Expand Up @@ -884,14 +884,13 @@ def genvalid(fragment,d,suffix='all',fi=''):


# step2
step2Defaults = {
'-s' : 'DIGI,L1,DIGI2RAW,HLT:@relval,RAW2DIGI,L1Reco',
step2Defaults = { '-s' : 'DIGI:pdigi_valid,L1,DIGI2RAW,HLT:@relval,RAW2DIGI,L1Reco',
'--datatier' : 'GEN-SIM-DIGI-RAW-HLTDEBUG',
'--eventcontent': 'FEVTDEBUGHLT',
'--conditions' : 'auto:startup',
}
#for 2015
step2Upg2015Defaults = {'-s' :'DIGI,L1,DIGI2RAW,HLT:@relval,RAW2DIGI,L1Reco',
step2Upg2015Defaults = {'-s' :'DIGI:pdigi_valid,L1,DIGI2RAW,HLT:@relval,RAW2DIGI,L1Reco',
'--conditions' :'auto:upgradePLS1',
# '--magField' : '38T_PostLS1', #activate when 6_2_0_patch1 GEN-SIM will be available ( 6_2_0_pre8 GEN-SIM don't have 38T_PostLS1)
'--datatier' :'GEN-SIM-DIGI-RAW',
Expand All @@ -902,7 +901,7 @@ def genvalid(fragment,d,suffix='all',fi=''):
}
steps['DIGIUP15']=merge([step2Upg2015Defaults]) # todo: remove UP from label

steps['DIGIPROD1']=merge([{'--eventcontent':'RAWSIM','--datatier':'GEN-SIM-RAW'},step2Defaults])
steps['DIGIPROD1']=merge([{'-s':'DIGI,L1,DIGI2RAW,HLT:@relval,RAW2DIGI,L1Reco','--eventcontent':'RAWSIM','--datatier':'GEN-SIM-RAW'},step2Defaults])
steps['DIGI']=merge([step2Defaults])
#steps['DIGI2']=merge([stCond,step2Defaults])
steps['DIGICOS']=merge([{'--scenario':'cosmics','--eventcontent':'FEVTDEBUG','--datatier':'GEN-SIM-DIGI-RAW'},stCond,step2Defaults])
Expand All @@ -917,12 +916,12 @@ def genvalid(fragment,d,suffix='all',fi=''):
steps['RESIMDIGI']=merge([{'-s':'reGEN,reSIM,DIGI,L1,DIGI2RAW,HLT:@relval,RAW2DIGI,L1Reco','-n':10,'--restoreRNDSeeds':'','--process':'HLT'},steps['DIGI']])


steps['DIGIHI']=merge([{'--conditions':'auto:starthi_HIon', '-s':'DIGI,L1,DIGI2RAW,HLT:HIon,RAW2DIGI,L1Reco', '--inputCommands':'"keep *","drop *_simEcalPreshowerDigis_*_*"', '-n':10}, hiDefaults, step2Defaults])
steps['DIGIHI']=merge([{'--conditions':'auto:starthi_HIon', '-s':'DIGI:pdigi_valid,L1,DIGI2RAW,HLT:HIon,RAW2DIGI,L1Reco', '--inputCommands':'"keep *","drop *_simEcalPreshowerDigis_*_*"', '-n':10}, hiDefaults, step2Defaults])

#wmsplit['DIGIHI']=5

#for pix phase1
step2Upgpixphase1Defaults = {'-s':'DIGI,L1,DIGI2RAW',
step2Upgpixphase1Defaults = {'-s':'DIGI:pdigi_valid,L1,DIGI2RAW',
'--conditions':'DESIGN61_V10::All', #to be updtaed with autocond
'--datatier':'GEN-SIM-DIGI-RAW',
'-n':'10',
Expand All @@ -933,7 +932,7 @@ def genvalid(fragment,d,suffix='all',fi=''):
steps['DIGIUP']=merge([step2Upgpixphase1Defaults])

#for 2017
step2Upg2017Defaults = {'-s':'DIGI,L1,DIGI2RAW',
step2Upg2017Defaults = {'-s':'DIGI:pdigi_valid,L1,DIGI2RAW',
'--conditions':'auto:upgradePLS1',
'--datatier':'GEN-SIM-DIGI-RAW',
'-n':'10',
Expand Down
2 changes: 1 addition & 1 deletion Configuration/StandardSequences/python/Digi_cff.py
Original file line number Diff line number Diff line change
Expand Up @@ -27,4 +27,4 @@
doAllDigi = cms.Sequence(calDigi+muonDigi)
pdigi = cms.Sequence(cms.SequencePlaceholder("randomEngineStateProducer")*cms.SequencePlaceholder("mix")*doAllDigi*addPileupInfo)


pdigi_valid = cms.Sequence(pdigi)
118 changes: 59 additions & 59 deletions Configuration/StandardSequences/python/Mixing.py

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion HLTrigger/Configuration/test/cmsDriver.csh
Original file line number Diff line number Diff line change
Expand Up @@ -148,7 +148,7 @@ foreach gtag ( STARTUP DATA )

echo
echo "Creating DigiL1RawHLT $name"
cmsDriver.py RelVal --step=DIGI,L1,DIGI2RAW,$XHLT --conditions=$GTAG --filein=$InputGenSim --custom_conditions=$XL1T --fileout=RelVal_DigiL1RawHLT_$name.root --number=$NN $DATAMC --no_exec --datatier 'GEN-SIM-DIGI-RAW-HLT' --eventcontent=FEVTDEBUGHLT --customise=HLTrigger/Configuration/CustomConfigs.L1THLT --scenario=$SCEN --python_filename=RelVal_DigiL1RawHLT_$name.py --processName=$PNAME
cmsDriver.py RelVal --step=DIGI:pdigi_valid,L1,DIGI2RAW,$XHLT --conditions=$GTAG --filein=$InputGenSim --custom_conditions=$XL1T --fileout=RelVal_DigiL1RawHLT_$name.root --number=$NN $DATAMC --no_exec --datatier 'GEN-SIM-DIGI-RAW-HLT' --eventcontent=FEVTDEBUGHLT --customise=HLTrigger/Configuration/CustomConfigs.L1THLT --scenario=$SCEN --python_filename=RelVal_DigiL1RawHLT_$name.py --processName=$PNAME

if ( ($table != HIon) && ($table != PIon) ) then

Expand Down
54 changes: 54 additions & 0 deletions SimGeneral/MixingModule/python/digitizers_cfi.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,54 @@
import FWCore.ParameterSet.Config as cms

# configuration to model pileup for initial physics phase
from SimGeneral.MixingModule.aliases_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 *

theDigitizers = cms.PSet(
pixel = cms.PSet(
pixelDigitizer
),
strip = cms.PSet(
stripDigitizer
),
ecal = cms.PSet(
ecalDigitizer
),
hcal = cms.PSet(
hcalDigitizer
),
castor = cms.PSet(
castorDigitizer
)
)

theDigitizersValid = 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
)
)





49 changes: 4 additions & 45 deletions SimGeneral/MixingModule/python/mixHighLumPU_4sources_cfi.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,37 +12,12 @@
#
# we have put minbias files for all the sources, just as an example
#
from SimGeneral.MixingModule.aliases_cfi import *
from SimGeneral.MixingModule.mixObjects_cfi import *
from SimGeneral.MixingModule.mixObjects_cfi import theMixObjects
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 *
from SimGeneral.MixingModule.digitizers_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
)
),
digitizers = cms.PSet(theDigitizers),
LabelPlayback = cms.string(''),
maxBunch = cms.int32(3),
minBunch = cms.int32(-5), ## in units of 25 nsec
Expand Down Expand Up @@ -110,23 +85,7 @@
'/store/relval/CMSSW_2_1_10/RelValMinBias/GEN-SIM-DIGI-RAW-HLTDEBUG/STARTUP_V7_v2/0000/8802D325-5E99-DD11-B858-000423D98A44.root')

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


49 changes: 4 additions & 45 deletions SimGeneral/MixingModule/python/mixHighLumPU_cfi.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,37 +5,12 @@
import FWCore.ParameterSet.Config as cms

# this is the configuration to model pileup for final scheme
from SimGeneral.MixingModule.aliases_cfi import *
from SimGeneral.MixingModule.mixObjects_cfi import *
from SimGeneral.MixingModule.mixObjects_cfi import theMixObjects
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 *
from SimGeneral.MixingModule.digitizers_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
)
),
digitizers = cms.PSet(theDigitizers),
LabelPlayback = cms.string(''),
maxBunch = cms.int32(3),
minBunch = cms.int32(-5), ## in terms of 25 ns
Expand All @@ -56,23 +31,7 @@
sequential = cms.untracked.bool(False),
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
)
)
mixObjects = cms.PSet(theMixObjects)
)


43 changes: 4 additions & 39 deletions SimGeneral/MixingModule/python/mixInitialLumPU_4sources_cfi.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,30 +10,11 @@
# or you can replace the type by "none" for a source you dont want
# please note that the names of the input sources are fixed: 'input', 'cosmics', 'beamhalo_minus', 'beamhalo_plus'
#
from SimGeneral.MixingModule.aliases_cfi import *
from SimGeneral.MixingModule.digitizers_cfi import *
from SimGeneral.MixingModule.mixObjects_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
)
),
digitizers = cms.PSet(theDigitizers),
LabelPlayback = cms.string(''),
maxBunch = cms.int32(3),
minBunch = cms.int32(-5), ## in units of 25 nsec
Expand Down Expand Up @@ -103,23 +84,7 @@
'/store/relval/CMSSW_2_1_10/RelValMinBias/GEN-SIM-DIGI-RAW-HLTDEBUG/STARTUP_V7_v2/0000/8802D325-5E99-DD11-B858-000423D98A44.root')

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


49 changes: 4 additions & 45 deletions SimGeneral/MixingModule/python/mixInitialLumPU_cfi.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,37 +5,12 @@
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.mixObjects_cfi import theMixObjects
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 *
from SimGeneral.MixingModule.digitizers_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
)
),
digitizers = cms.PSet(theDigitizers),
LabelPlayback = cms.string(''),
maxBunch = cms.int32(3),
minBunch = cms.int32(-5), ## in terms of 25 nsec
Expand All @@ -56,23 +31,7 @@
sequential = cms.untracked.bool(False),
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
)
)
mixObjects = cms.PSet(theMixObjects)
)