Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2024-04-06 11:59:59

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: testReAlCa -s ALCA:PromptCalibProdSiStripLA --conditions 130X_dataRun3_Prompt_v2 --scenario cosmics --data --era Run3_2023 --datatier ALCARECO --eventcontent ALCARECO --processName=ReAlCa -n 100000 --dasquery=file dataset=/Cosmics/Commissioning2023-SiStripCalCosmics-PromptReco-v1/ALCARECO run=364141 --nThreads=4 --no_exec
0006 import FWCore.ParameterSet.Config as cms
0007 
0008 from Configuration.Eras.Era_Run3_2023_cff import Run3_2023
0009 
0010 process = cms.Process('ReAlCa',Run3_2023)
0011 
0012 # import of standard configurations
0013 process.load('Configuration.StandardSequences.Services_cff')
0014 process.load('SimGeneral.HepPDTESSource.pythiapdt_cfi')
0015 process.load('FWCore.MessageService.MessageLogger_cfi')
0016 process.MessageLogger.cerr.FwkReport.reportEvery = 100 # limit the output for the unit test
0017 process.load('Configuration.EventContent.EventContentCosmics_cff')
0018 process.load('Configuration.StandardSequences.GeometryRecoDB_cff')
0019 process.load('Configuration.StandardSequences.MagneticField_cff')
0020 process.load('Configuration.StandardSequences.AlCaRecoStreams_cff')
0021 process.load('Configuration.StandardSequences.EndOfProcess_cff')
0022 process.load('Configuration.StandardSequences.FrontierConditions_GlobalTag_cff')
0023 
0024 process.maxEvents = cms.untracked.PSet(
0025     input = cms.untracked.int32(1000), # 1000000
0026     output = cms.optional.untracked.allowed(cms.int32,cms.PSet)
0027 )
0028 
0029 # Input source
0030 process.source = cms.Source("PoolSource",
0031     fileNames = cms.untracked.vstring('/store/data/Commissioning2023/Cosmics/ALCARECO/SiStripCalCosmics-PromptReco-v1/000/364/174/00000/59a465b4-6e25-4ea0-8fe3-2319bdea7fcb.root'),
0032     secondaryFileNames = cms.untracked.vstring()
0033 )
0034 
0035 process.options = cms.untracked.PSet(
0036     IgnoreCompletely = cms.untracked.vstring(),
0037     Rethrow = cms.untracked.vstring(),
0038     TryToContinue = cms.untracked.vstring(),
0039     accelerators = cms.untracked.vstring('*'),
0040     allowUnscheduled = cms.obsolete.untracked.bool,
0041     canDeleteEarly = cms.untracked.vstring(),
0042     deleteNonConsumedUnscheduledModules = cms.untracked.bool(True),
0043     dumpOptions = cms.untracked.bool(False),
0044     emptyRunLumiMode = cms.obsolete.untracked.string,
0045     eventSetup = cms.untracked.PSet(
0046         forceNumberOfConcurrentIOVs = cms.untracked.PSet(
0047             allowAnyLabel_=cms.required.untracked.uint32
0048         ),
0049         numberOfConcurrentIOVs = cms.untracked.uint32(0)
0050     ),
0051     fileMode = cms.untracked.string('FULLMERGE'),
0052     forceEventSetupCacheClearOnNewRun = cms.untracked.bool(False),
0053     holdsReferencesToDeleteEarly = cms.untracked.VPSet(),
0054     makeTriggerResults = cms.obsolete.untracked.bool,
0055     modulesToIgnoreForDeleteEarly = cms.untracked.vstring(),
0056     numberOfConcurrentLuminosityBlocks = cms.untracked.uint32(0),
0057     numberOfConcurrentRuns = cms.untracked.uint32(1),
0058     numberOfStreams = cms.untracked.uint32(0),
0059     numberOfThreads = cms.untracked.uint32(1),
0060     printDependencies = cms.untracked.bool(False),
0061     sizeOfStackForThreadsInKB = cms.optional.untracked.uint32,
0062     throwIfIllegalParameter = cms.untracked.bool(True),
0063     wantSummary = cms.untracked.bool(False)
0064 )
0065 
0066 # Production Info
0067 process.configurationMetadata = cms.untracked.PSet(
0068     annotation = cms.untracked.string('testReAlCa nevts:100000'),
0069     name = cms.untracked.string('Applications'),
0070     version = cms.untracked.string('$Revision: 1.19 $')
0071 )
0072 
0073 # Output definition
0074 
0075 
0076 # Additional output definition
0077 process.ALCARECOStreamPromptCalibProdSiStripLA = cms.OutputModule("PoolOutputModule",
0078     SelectEvents = cms.untracked.PSet(
0079         SelectEvents = cms.vstring('pathALCARECOPromptCalibProdSiStripLorentzAngle')
0080     ),
0081     dataset = cms.untracked.PSet(
0082         dataTier = cms.untracked.string('ALCARECO'),
0083         filterName = cms.untracked.string('PromptCalibProdSiStripLA')
0084     ),
0085     eventAutoFlushCompressedSize = cms.untracked.int32(5242880),
0086     fileName = cms.untracked.string('PromptCalibProdSiStripLA.root'),
0087     outputCommands = cms.untracked.vstring(
0088         'drop *',
0089         'keep *_alcaBeamSpotProducer_*_*',
0090         'keep *_MEtoEDMConvertSiStripLorentzAngle_*_*'
0091     )
0092 )
0093 
0094 # Other statements
0095 process.ALCARECOEventContent.outputCommands.extend(process.OutALCARECOPromptCalibProdSiStripLA_noDrop.outputCommands)
0096 from Configuration.AlCa.GlobalTag import GlobalTag
0097 process.GlobalTag = GlobalTag(process.GlobalTag, '130X_dataRun3_Prompt_v2', '')
0098 
0099 # Path and EndPath definitions
0100 process.endjob_step = cms.EndPath(process.endOfProcess)
0101 process.ALCARECOStreamPromptCalibProdSiStripLAOutPath = cms.EndPath(process.ALCARECOStreamPromptCalibProdSiStripLA)
0102 
0103 # Schedule definition
0104 process.schedule = cms.Schedule(process.pathALCARECOPromptCalibProdSiStripLorentzAngle,process.endjob_step,process.ALCARECOStreamPromptCalibProdSiStripLAOutPath)
0105 from PhysicsTools.PatAlgos.tools.helpers import associatePatAlgosToolsTask
0106 associatePatAlgosToolsTask(process)
0107 
0108 # Setup FWK for multithreaded
0109 process.options.numberOfThreads = 4
0110 process.options.numberOfStreams = 0
0111 
0112 # Save the per-histogram modules in order to test the SiStripHashedDetId
0113 process.ALCARECOSiStripLACalib.saveHistoMods = cms.bool(True)
0114 
0115 # Customisation from command line
0116 
0117 # Add early deletion of temporary data products to reduce peak memory need
0118 from Configuration.StandardSequences.earlyDeleteSettings_cff import customiseEarlyDelete
0119 process = customiseEarlyDelete(process)
0120 # End adding early deletion