Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2021-02-14 13:26:55

0001 # Auto generated configuration file
0002 # using: 
0003 # Revision: 1.19 
0004 # Source: /local/reps/CMSSW/CMSSW/Configuration/Applications/python/ConfigBuilder.py,v 
0005 # with command line options: step3 --customise SLHCUpgradeSimulations/Configuration/postLS1Customs.customisePostLS1 --conditions auto:run2_mc -s RAW2DIGI,RECO,VALIDATION --datatier DQMIO -n 10 --magField 38T_PostLS1 --eventcontent DQM --no_exec
0006 import FWCore.ParameterSet.Config as cms
0007 
0008 process = cms.Process('RECO')
0009 
0010 # import of standard configurations
0011 process.load('Configuration.StandardSequences.Services_cff')
0012 process.load('SimGeneral.HepPDTESSource.pythiapdt_cfi')
0013 process.load('FWCore.MessageService.MessageLogger_cfi')
0014 process.load('Configuration.EventContent.EventContent_cff')
0015 process.load('SimGeneral.MixingModule.mixNoPU_cfi')
0016 process.load('Configuration.StandardSequences.GeometryRecoDB_cff')
0017 process.load('Configuration.StandardSequences.MagneticField_cff')
0018 process.load('Configuration.StandardSequences.RawToDigi_cff')
0019 process.load('Configuration.StandardSequences.Reconstruction_cff')
0020 process.load('Configuration.StandardSequences.Validation_cff')
0021 process.load('Configuration.StandardSequences.FrontierConditions_GlobalTag_cff')
0022 
0023 process.maxEvents = cms.untracked.PSet(
0024     input = cms.untracked.int32(1)
0025 )
0026 
0027 # Input source
0028 process.source = cms.Source("PoolSource",
0029     fileNames = cms.untracked.vstring('file:GENSIMDIGIRAW.root'),
0030     secondaryFileNames = cms.untracked.vstring()
0031 )
0032 
0033 process.options = cms.untracked.PSet(
0034 
0035 )
0036 
0037 # Production Info
0038 process.configurationMetadata = cms.untracked.PSet(
0039     annotation = cms.untracked.string('step3 nevts:10'),
0040     name = cms.untracked.string('Applications'),
0041     version = cms.untracked.string('$Revision: 1.19 $')
0042 )
0043 
0044 # Output definition
0045 
0046 process.DQMoutput = cms.OutputModule("DQMRootOutputModule",
0047     dataset = cms.untracked.PSet(
0048         dataTier = cms.untracked.string('DQMIO'),
0049         filterName = cms.untracked.string('')
0050     ),
0051     fileName = cms.untracked.string('TrackRecoAndValidation_inDQM.root'),
0052     outputCommands = process.DQMEventContent.outputCommands,
0053     splitLevel = cms.untracked.int32(0)
0054 )
0055 
0056 process.RECOSIMoutput = cms.OutputModule(
0057     "PoolOutputModule",
0058     dataset = cms.untracked.PSet(
0059         dataTier = cms.untracked.string('GEN-SIM-RECO'),
0060         filterName = cms.untracked.string('')
0061         ),
0062     eventAutoFlushCompressedSize = cms.untracked.int32(5242880),
0063     fileName = cms.untracked.string('step3_RAW2DIGI_L1Reco_RECO_EI_VALIDATION_DQM.root'),
0064     #outputCommands = process.RECOSIMEventContent.outputCommands,
0065     splitLevel = cms.untracked.int32(0)
0066     )
0067 
0068 # Additional output definition
0069 
0070 # Other statements
0071 process.mix.playback = True
0072 process.mix.digitizers = cms.PSet()
0073 for a in process.aliases: delattr(process, a)
0074 process.RandomNumberGeneratorService.restoreStateLabel=cms.untracked.string("randomEngineStateProducer")
0075 from Configuration.AlCa.GlobalTag import GlobalTag
0076 process.GlobalTag = GlobalTag(process.GlobalTag, 'auto:run2_mc', '')
0077 
0078 # Path and EndPath definitions
0079 process.raw2digi_step = cms.Path(process.RawToDigi)
0080 process.reconstruction_step = cms.Path(process.reconstruction)
0081 process.prevalidation_step = cms.Path(process.prevalidation)
0082 process.validation_step = cms.EndPath(process.validation)
0083 process.DQMoutput_step = cms.EndPath(process.DQMoutput)
0084 process.RECOSIMoutput_step = cms.EndPath(process.RECOSIMoutput)
0085 
0086 # Schedule definition
0087 process.schedule = cms.Schedule(process.raw2digi_step,process.reconstruction_step,process.prevalidation_step,process.validation_step,process.RECOSIMoutput_step,process.DQMoutput_step)
0088 
0089 # customisation of the process.
0090 
0091 # Automatic addition of the customisation function from SLHCUpgradeSimulations.Configuration.postLS1Customs
0092 from SLHCUpgradeSimulations.Configuration.postLS1Customs import customisePostLS1 
0093 
0094 #call to customisation function customisePostLS1 imported from SLHCUpgradeSimulations.Configuration.postLS1Customs
0095 process = customisePostLS1(process)
0096 
0097 # Automatic addition of the customisation function from SimGeneral.MixingModule.fullMixCustomize_cff
0098 from SimGeneral.MixingModule.fullMixCustomize_cff import setCrossingFrameOn 
0099 
0100 #call to customisation function setCrossingFrameOn imported from SimGeneral.MixingModule.fullMixCustomize_cff
0101 process = setCrossingFrameOn(process)
0102 
0103 # End of customisation functions
0104 
0105 # BEGIN MODIFICATIONS
0106 
0107 # replace the reconstruction sequence with tracking only
0108 # note: tracking depends on local calorimeter reconstruction and standalone muon reconstruction
0109 process.reconstruction = cms.Sequence(
0110     process.offlineBeamSpot
0111     *process.calolocalreco
0112     *process.muonlocalreco
0113     *process.standalonemuontracking
0114     *process.trackerlocalreco
0115     *process.MeasurementTrackerEventPreSplitting
0116     *process.siPixelClusterShapeCachePreSplitting
0117     *process.trackingGlobalReco)
0118 
0119 # redefine validation paths
0120 process.prevalidation = cms.Sequence(process.tracksPreValidation)
0121 process.validation = cms.Sequence(process.trackingTruthValid + process.tracksValidation)
0122 
0123 # END MODIFICATIONS