Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2021-04-25 22:37:44

0001 ##Takes as input GEN-SIM-RECO
0002 # Auto generated configuration file
0003 # using: 
0004 # Revision: 1.19 
0005 # Source: /local/reps/CMSSW/CMSSW/Configuration/Applications/python/ConfigBuilder.py,v 
0006 # with command line options: step3 --conditions auto:phase2_realistic_T21 -s RAW2DIGI,L1Reco,RECO,RECOSIM,VALIDATION:@phase2Validation,DQM:@phase2 --datatier DQMIO -n 10 --geometry Extended2026D76 --era Phase2C11M9 --eventcontent DQM --no_exec
0007 import FWCore.ParameterSet.Config as cms
0008 
0009 from Configuration.Eras.Era_Phase2C11M9_cff import Phase2C11M9
0010 
0011 process = cms.Process('RERECO',Phase2C11M9)
0012 
0013 # import of standard configurations
0014 process.load('Configuration.StandardSequences.Services_cff')
0015 process.load('SimGeneral.HepPDTESSource.pythiapdt_cfi')
0016 process.load('FWCore.MessageService.MessageLogger_cfi')
0017 process.load('Configuration.EventContent.EventContent_cff')
0018 process.load('SimGeneral.MixingModule.mixNoPU_cfi')
0019 process.load('Configuration.Geometry.GeometryExtended2026D76Reco_cff')
0020 process.load('Configuration.StandardSequences.MagneticField_cff')
0021 process.load('Configuration.StandardSequences.RawToDigi_Data_cff')
0022 process.load('Configuration.StandardSequences.L1Reco_cff')
0023 process.load('Configuration.StandardSequences.Reconstruction_Data_cff')
0024 process.load('Configuration.StandardSequences.RecoSim_cff')
0025 process.load('Configuration.StandardSequences.Validation_cff')
0026 process.load('DQMServices.Core.DQMStoreNonLegacy_cff')
0027 process.load('DQMOffline.Configuration.DQMOffline_cff')
0028 process.load('Configuration.StandardSequences.FrontierConditions_GlobalTag_cff')
0029 
0030 process.maxEvents = cms.untracked.PSet(
0031     input = cms.untracked.int32(10),
0032     output = cms.optional.untracked.allowed(cms.int32,cms.PSet)
0033 )
0034 
0035 # Input source
0036 process.source = cms.Source("PoolSource",
0037     fileNames = cms.untracked.vstring('/store/relval/CMSSW_11_3_0_pre4/RelValTTbar_14TeV/GEN-SIM-RECO/113X_mcRun4_realistic_v4_2026D76noPU-v1/00000/cf5b0e7d-f139-4305-9baf-db9c64590966.root'),
0038     secondaryFileNames = cms.untracked.vstring()
0039 )
0040 
0041 process.options = cms.untracked.PSet(
0042     FailPath = cms.untracked.vstring(),
0043     IgnoreCompletely = cms.untracked.vstring(),
0044     Rethrow = cms.untracked.vstring(),
0045     SkipEvent = cms.untracked.vstring(),
0046     allowUnscheduled = cms.obsolete.untracked.bool,
0047     canDeleteEarly = cms.untracked.vstring(),
0048     deleteNonConsumedUnscheduledModules = cms.untracked.bool(True),
0049     emptyRunLumiMode = cms.obsolete.untracked.string,
0050     eventSetup = cms.untracked.PSet(
0051         forceNumberOfConcurrentIOVs = cms.untracked.PSet(
0052             allowAnyLabel_=cms.required.untracked.uint32
0053         ),
0054         numberOfConcurrentIOVs = cms.untracked.uint32(1)
0055     ),
0056     fileMode = cms.untracked.string('FULLMERGE'),
0057     forceEventSetupCacheClearOnNewRun = cms.untracked.bool(False),
0058     makeTriggerResults = cms.obsolete.untracked.bool,
0059     numberOfConcurrentLuminosityBlocks = cms.untracked.uint32(1),
0060     numberOfConcurrentRuns = cms.untracked.uint32(1),
0061     numberOfStreams = cms.untracked.uint32(0),
0062     numberOfThreads = cms.untracked.uint32(4),
0063     printDependencies = cms.untracked.bool(False),
0064     sizeOfStackForThreadsInKB = cms.optional.untracked.uint32,
0065     throwIfIllegalParameter = cms.untracked.bool(True),
0066     wantSummary = cms.untracked.bool(False)
0067 )
0068 
0069 # Production Info
0070 process.configurationMetadata = cms.untracked.PSet(
0071     annotation = cms.untracked.string('step3 nevts:10'),
0072     name = cms.untracked.string('Applications'),
0073     version = cms.untracked.string('$Revision: 1.19 $')
0074 )
0075 
0076 # Output definition
0077 
0078 process.DQMoutput = cms.OutputModule("DQMRootOutputModule",
0079     dataset = cms.untracked.PSet(
0080         dataTier = cms.untracked.string('DQMIO'),
0081         filterName = cms.untracked.string('')
0082     ),
0083     fileName = cms.untracked.string('step3_pre4_inDQM.root'),
0084     outputCommands = process.DQMEventContent.outputCommands,
0085     splitLevel = cms.untracked.int32(0)
0086 )
0087 
0088 # Additional output definition
0089 
0090 # Other statements
0091 process.mix.playback = True
0092 process.mix.digitizers = cms.PSet()
0093 for a in process.aliases: delattr(process, a)
0094 process.RandomNumberGeneratorService.restoreStateLabel=cms.untracked.string("randomEngineStateProducer")
0095 from Configuration.AlCa.GlobalTag import GlobalTag
0096 process.GlobalTag = GlobalTag(process.GlobalTag, 'auto:phase2_realistic_T21', '')
0097 
0098 # Path and EndPath definitions
0099 process.raw2digi_step = cms.Path(process.RawToDigi)
0100 process.L1Reco_step = cms.Path(process.L1Reco)
0101 process.reconstruction_step = cms.Path(process.reconstruction)
0102 process.recosim_step = cms.Path(process.recosim)
0103 process.DQMoutput_step = cms.EndPath(process.DQMoutput)
0104 
0105 ##phase2 OT rechit step
0106 process.load('RecoLocalTracker.Phase2TrackerRecHits.Phase2TrackerRecHits_cfi')
0107 process.load('RecoLocalTracker.SiPixelRecHits.SiPixelRecHits_cfi')
0108 process.rechits_step = cms.Path(process.siPhase2RecHits * process.siPixelRecHits)
0109 #DQM modules
0110 process.load('DQM.SiTrackerPhase2.Phase2TrackerDQMFirstStep_cff')
0111 process.load('DQM.SiTrackerPhase2.Phase2OTMonitorRecHit_cfi')
0112 
0113 process.otdqm_seq = cms.Sequence(process.trackerphase2DQMSource.copy()*process.Phase2OTMonitorRecHit)
0114 
0115 process.load('Validation.SiTrackerPhase2V.Phase2TrackerValidationFirstStep_cff')
0116 process.load('Validation.SiTrackerPhase2V.Phase2OTValidateRecHit_cfi')
0117 
0118 process.otvalid_seq = cms.Sequence(process.trackerphase2ValidationSource.copy()*process.Phase2OTValidateRecHit)
0119 
0120 process.dqm_step=cms.Path(process.otdqm_seq)
0121 process.validation_step=cms.Path(process.otvalid_seq)
0122 
0123 
0124 # Schedule definition
0125 process.schedule = cms.Schedule(process.rechits_step,
0126                                 process.dqm_step,
0127                                 process.validation_step,
0128                                 process.DQMoutput_step
0129 )
0130 # customisation of the process.
0131 
0132 # Automatic addition of the customisation function from SimGeneral.MixingModule.fullMixCustomize_cff
0133 from SimGeneral.MixingModule.fullMixCustomize_cff import setCrossingFrameOn 
0134 
0135 #call to customisation function setCrossingFrameOn imported from SimGeneral.MixingModule.fullMixCustomize_cff
0136 process = setCrossingFrameOn(process)
0137 
0138 # End of customisation functions
0139 
0140 
0141 # Customisation from command line
0142 
0143 #Have logErrorHarvester wait for the same EDProducers to finish as those providing data for the OutputModule
0144 from FWCore.Modules.logErrorHarvester_cff import customiseLogErrorHarvesterUsingOutputCommands
0145 process = customiseLogErrorHarvesterUsingOutputCommands(process)
0146 
0147 # Add early deletion of temporary data products to reduce peak memory need
0148 from Configuration.StandardSequences.earlyDeleteSettings_cff import customiseEarlyDelete
0149 process = customiseEarlyDelete(process)
0150 # End adding early deletion