2 import FWCore.ParameterSet.Config
as cms
9 print "process.local = cms.PSet() # for local running "
10 if hasattr(process,
"local"):
11 print "#########################################################"
13 print "#########################################################"
18 base=
"file:/scratch/scratch0/tfruboes/DATA_tmp/RelValMinBias/CMSSW_4_2_0_pre4-MC_42_V1-v1/GEN-SIM-DIGI-RAW-HLTDEBUG/"
19 process.mix.input.fileNames = cms.untracked.vstring(
20 base+
'4C824492-2639-E011-9506-001A928116F0.root',
21 base+
'9ED6309B-C238-E011-A1D6-003048678ADA.root',
22 base+
'487A3591-CA38-E011-92A8-00248C0BE013.root',
23 base+
'0E5A4D31-BD38-E011-93B7-0026189437F2.root')
27 process.mix.input.nbPileupEvents.probFunctionVariable = cms.vint32()
28 process.mix.input.nbPileupEvents.probValue = cms.vdouble()
31 process.mix.input.nbPileupEvents.probFunctionVariable.append(i)
33 if i == 0
or i==9
or i==19
or i==29:
36 process.mix.input.nbPileupEvents.probValue.append(val)
38 process.mix.input.nbPileupEvents.probValue.append(0.)
return(e1-e2)*(e1-e2)+dp *dp