# Other statements
process.GlobalTag.globaltag = 'START42_V11::All'
process.g4SimHits = cms.EDProducer("SimHitShifter",
			ShiftTiming = cms.untracked.bool(False),
			ShiftAmplitude = cms.untracked.bool(True),
			AmplitudeShiftSize = cms.untracked.double(-0.14),
			ShiftFileName = cms.untracked.string('2011_2Map.txt')
								   )

# Path and EndPath definitions
process.digitisation_step = cms.Path(process.g4SimHits+process.pdigi)
process.L1simulation_step = cms.Path(process.SimL1Emulator)
process.digi2raw_step = cms.Path(process.DigiToRaw)
process.endjob_step = cms.EndPath(process.endOfProcess)
process.RAWSIMoutput_step = cms.EndPath(process.RAWSIMoutput)

# Schedule definition
process.schedule = cms.Schedule(process.digitisation_step,process.L1simulation_step,process.digi2raw_step)
process.schedule.extend(process.HLTSchedule)
process.schedule.extend([process.endjob_step,process.RAWSIMoutput_step])

# customisation of the process.

# Automatic addition of the customisation function from Configuration.StandardSequences.DigiToRecoNoPU
from Configuration.StandardSequences.DigiToRecoNoPU import customise 

#call to customisation function customise imported from Configuration.StandardSequences.DigiToRecoNoPU
process = customise(process)

# End of customisation functions
示例#2
0
    '/store/mc/Summer11/MinBias_TuneZ2_7TeV-pythia6/GEN-SIM/START311_V2-v2/0007/CE0E9F6B-4159-E011-A1F6-0024E8768BE2.root',
    '/store/mc/Summer11/MinBias_TuneZ2_7TeV-pythia6/GEN-SIM/START311_V2-v2/0007/CCA4766B-E959-E011-A3B4-00266CF25F34.root',
    '/store/mc/Summer11/MinBias_TuneZ2_7TeV-pythia6/GEN-SIM/START311_V2-v2/0007/CA913AF2-D456-E011-9CCF-BC305B390A0B.root'
)
# Other statements
process.GlobalTag.globaltag = 'MC_42_V12::All'

# Path and EndPath definitions
process.digitisation_step = cms.Path(process.pdigi)
process.L1simulation_step = cms.Path(process.SimL1Emulator)
process.digi2raw_step = cms.Path(process.DigiToRaw)
process.endjob_step = cms.EndPath(process.endOfProcess)
process.RAWSIMoutput_step = cms.EndPath(process.RAWSIMoutput)

# Schedule definition
process.schedule = cms.Schedule(process.digitisation_step,
                                process.L1simulation_step,
                                process.digi2raw_step)
process.schedule.extend(process.HLTSchedule)
process.schedule.extend([process.endjob_step, process.RAWSIMoutput_step])

# customisation of the process.

# Automatic addition of the customisation function from Configuration.StandardSequences.DigiToRecoNoPU
from Configuration.StandardSequences.DigiToRecoNoPU import customise

#call to customisation function customise imported from Configuration.StandardSequences.DigiToRecoNoPU
process = customise(process)

# End of customisation functions