Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2024-11-06 06:06:32

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.GeometryExtendedRun4D76Reco_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     IgnoreCompletely = cms.untracked.vstring(),
0043     Rethrow = cms.untracked.vstring(),
0044     TryToContinue = cms.untracked.vstring(),
0045     allowUnscheduled = cms.obsolete.untracked.bool,
0046     canDeleteEarly = cms.untracked.vstring(),
0047     deleteNonConsumedUnscheduledModules = cms.untracked.bool(True),
0048     emptyRunLumiMode = cms.obsolete.untracked.string,
0049     eventSetup = cms.untracked.PSet(
0050         forceNumberOfConcurrentIOVs = cms.untracked.PSet(
0051             allowAnyLabel_=cms.required.untracked.uint32
0052         ),
0053         numberOfConcurrentIOVs = cms.untracked.uint32(1)
0054     ),
0055     fileMode = cms.untracked.string('FULLMERGE'),
0056     forceEventSetupCacheClearOnNewRun = cms.untracked.bool(False),
0057     makeTriggerResults = cms.obsolete.untracked.bool,
0058     numberOfConcurrentLuminosityBlocks = cms.untracked.uint32(1),
0059     numberOfConcurrentRuns = cms.untracked.uint32(1),
0060     numberOfStreams = cms.untracked.uint32(0),
0061     numberOfThreads = cms.untracked.uint32(4),
0062     printDependencies = cms.untracked.bool(False),
0063     sizeOfStackForThreadsInKB = cms.optional.untracked.uint32,
0064     throwIfIllegalParameter = cms.untracked.bool(True),
0065     wantSummary = cms.untracked.bool(False)
0066 )
0067 
0068 # Production Info
0069 process.configurationMetadata = cms.untracked.PSet(
0070     annotation = cms.untracked.string('step3 nevts:10'),
0071     name = cms.untracked.string('Applications'),
0072     version = cms.untracked.string('$Revision: 1.19 $')
0073 )
0074 
0075 # Output definition
0076 
0077 process.DQMoutput = cms.OutputModule("DQMRootOutputModule",
0078     dataset = cms.untracked.PSet(
0079         dataTier = cms.untracked.string('DQMIO'),
0080         filterName = cms.untracked.string('')
0081     ),
0082     fileName = cms.untracked.string('step3_pre4_inDQM.root'),
0083     outputCommands = process.DQMEventContent.outputCommands,
0084     splitLevel = cms.untracked.int32(0)
0085 )
0086 
0087 # Additional output definition
0088 
0089 # Other statements
0090 process.mix.playback = True
0091 process.mix.digitizers = cms.PSet()
0092 for a in process.aliases: delattr(process, a)
0093 process.RandomNumberGeneratorService.restoreStateLabel=cms.untracked.string("randomEngineStateProducer")
0094 from Configuration.AlCa.GlobalTag import GlobalTag
0095 process.GlobalTag = GlobalTag(process.GlobalTag, 'auto:phase2_realistic_T21', '')
0096 
0097 # Path and EndPath definitions
0098 process.raw2digi_step = cms.Path(process.RawToDigi)
0099 process.L1Reco_step = cms.Path(process.L1Reco)
0100 process.reconstruction_step = cms.Path(process.reconstruction)
0101 process.recosim_step = cms.Path(process.recosim)
0102 process.DQMoutput_step = cms.EndPath(process.DQMoutput)
0103 
0104 ##phase2 OT rechit step
0105 process.load('RecoLocalTracker.Phase2TrackerRecHits.Phase2TrackerRecHits_cfi')
0106 process.load('RecoLocalTracker.SiPixelRecHits.SiPixelRecHits_cfi')
0107 process.rechits_step = cms.Path(process.siPhase2RecHits * process.siPixelRecHits)
0108 #DQM modules
0109 process.load('DQM.SiTrackerPhase2.Phase2TrackerDQMFirstStep_cff')
0110 process.load('DQM.SiTrackerPhase2.Phase2OTMonitorRecHit_cfi')
0111 
0112 process.otdqm_seq = cms.Sequence(process.trackerphase2DQMSource.copy()*process.Phase2OTMonitorRecHit)
0113 
0114 process.load('Validation.SiTrackerPhase2V.Phase2TrackerValidationFirstStep_cff')
0115 process.load('Validation.SiTrackerPhase2V.Phase2OTValidateRecHit_cfi')
0116 
0117 process.otvalid_seq = cms.Sequence(process.trackerphase2ValidationSource.copy()*process.Phase2OTValidateRecHit)
0118 
0119 process.dqm_step=cms.Path(process.otdqm_seq)
0120 process.validation_step=cms.Path(process.otvalid_seq)
0121 
0122 
0123 # Schedule definition
0124 process.schedule = cms.Schedule(process.rechits_step,
0125                                 process.dqm_step,
0126                                 process.validation_step,
0127                                 process.DQMoutput_step
0128 )
0129 # customisation of the process.
0130 
0131 # Automatic addition of the customisation function from SimGeneral.MixingModule.fullMixCustomize_cff
0132 from SimGeneral.MixingModule.fullMixCustomize_cff import setCrossingFrameOn 
0133 
0134 #call to customisation function setCrossingFrameOn imported from SimGeneral.MixingModule.fullMixCustomize_cff
0135 process = setCrossingFrameOn(process)
0136 
0137 # End of customisation functions
0138 
0139 
0140 # Customisation from command line
0141 
0142 #Have logErrorHarvester wait for the same EDProducers to finish as those providing data for the OutputModule
0143 from FWCore.Modules.logErrorHarvester_cff import customiseLogErrorHarvesterUsingOutputCommands
0144 process = customiseLogErrorHarvesterUsingOutputCommands(process)
0145 
0146 # Add early deletion of temporary data products to reduce peak memory need
0147 from Configuration.StandardSequences.earlyDeleteSettings_cff import customiseEarlyDelete
0148 process = customiseEarlyDelete(process)
0149 # End adding early deletion