Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2021-02-14 23:30:38

0001 import FWCore.ParameterSet.Config as cms
0002 
0003 from Configuration.StandardSequences.Eras import eras
0004 
0005 process = cms.Process('RECO',eras.Phase2C9)
0006 
0007 # import of standard configurations
0008 process.load('Configuration.StandardSequences.Services_cff')
0009 process.load('SimGeneral.HepPDTESSource.pythiapdt_cfi')
0010 process.load('FWCore.MessageService.MessageLogger_cfi')
0011 process.load('Configuration.EventContent.EventContent_cff')
0012 #process.load('SimGeneral.MixingModule.mixNoPU_cfi')
0013 process.load('SimGeneral.MixingModule.mix_POISSON_average_cfi')
0014 process.load('Configuration.Geometry.GeometryExtended2026D49Reco_cff')
0015 process.load('Configuration.StandardSequences.MagneticField_cff')
0016 process.load('Configuration.StandardSequences.RawToDigi_cff')
0017 process.load('Configuration.StandardSequences.L1Reco_cff')
0018 process.load('Configuration.StandardSequences.Reconstruction_cff')
0019 process.load('Configuration.StandardSequences.FrontierConditions_GlobalTag_cff')
0020 
0021 #adding only recolocalreco
0022 process.load('RecoLocalTracker.Configuration.RecoLocalTracker_cff')
0023 
0024 # import VectorHitBuilder                                                                                                                                                      
0025 process.load('RecoLocalTracker.SiPhase2VectorHitBuilder.siPhase2VectorHits_cfi')
0026 
0027 
0028 process.maxEvents = cms.untracked.PSet(
0029     input = cms.untracked.int32(1)
0030 )
0031 
0032 # Input source
0033 process.source = cms.Source("PoolSource",
0034     fileNames = cms.untracked.vstring(
0035 '/store/relval/CMSSW_11_2_0_pre3/RelValTTbar_14TeV/GEN-SIM-DIGI-RAW/PU25ns_110X_mcRun4_realistic_v3_2026D49PU200_rsb-v1/20000/C7A95D39-8FAB-D746-8C06-B11AECA047DD.root',
0036 '/store/relval/CMSSW_11_2_0_pre3/RelValTTbar_14TeV/GEN-SIM-DIGI-RAW/PU25ns_110X_mcRun4_realistic_v3_2026D49PU200_rsb-v1/20000/E4D19FDC-9192-2F44-A4FA-21AB5A93344C.root',
0037 '/store/relval/CMSSW_11_2_0_pre3/RelValTTbar_14TeV/GEN-SIM-DIGI-RAW/PU25ns_110X_mcRun4_realistic_v3_2026D49PU200_rsb-v1/20000/04E557E8-C456-B148-9EC6-2E5E40BD03C6.root',
0038 '/store/relval/CMSSW_11_2_0_pre3/RelValTTbar_14TeV/GEN-SIM-DIGI-RAW/PU25ns_110X_mcRun4_realistic_v3_2026D49PU200_rsb-v1/20000/284ACE29-A506-CD40-9059-899981D7931C.root',
0039 '/store/relval/CMSSW_11_2_0_pre3/RelValTTbar_14TeV/GEN-SIM-DIGI-RAW/PU25ns_110X_mcRun4_realistic_v3_2026D49PU200_rsb-v1/20000/5ACFC231-EBF6-2B4F-A88F-D01171F506CE.root',
0040 '/store/relval/CMSSW_11_2_0_pre3/RelValTTbar_14TeV/GEN-SIM-DIGI-RAW/PU25ns_110X_mcRun4_realistic_v3_2026D49PU200_rsb-v1/20000/8E76FEBA-FF9B-544D-9C17-C5B31777FE39.root',
0041 '/store/relval/CMSSW_11_2_0_pre3/RelValTTbar_14TeV/GEN-SIM-DIGI-RAW/PU25ns_110X_mcRun4_realistic_v3_2026D49PU200_rsb-v1/20000/2958EE82-39A5-154A-9650-5E97AAD44B3E.root',
0042 '/store/relval/CMSSW_11_2_0_pre3/RelValTTbar_14TeV/GEN-SIM-DIGI-RAW/PU25ns_110X_mcRun4_realistic_v3_2026D49PU200_rsb-v1/20000/943CFE41-83ED-F04B-AA74-435821572336.root',
0043 '/store/relval/CMSSW_11_2_0_pre3/RelValTTbar_14TeV/GEN-SIM-DIGI-RAW/PU25ns_110X_mcRun4_realistic_v3_2026D49PU200_rsb-v1/20000/01D965C0-05A4-C543-A676-7C6C67DC2175.root',
0044 '/store/relval/CMSSW_11_2_0_pre3/RelValTTbar_14TeV/GEN-SIM-DIGI-RAW/PU25ns_110X_mcRun4_realistic_v3_2026D49PU200_rsb-v1/20000/7D171FAD-4E5B-824A-A0DF-07175F0A9550.root',
0045 ),
0046     #fileNames = cms.untracked.vstring('file:step2.root'),
0047     secondaryFileNames = cms.untracked.vstring(),
0048     skipEvents = cms.untracked.uint32(0)
0049 )
0050 
0051 process.options = cms.untracked.PSet(
0052 
0053 )
0054 
0055 # Production Info
0056 process.configurationMetadata = cms.untracked.PSet(
0057     annotation = cms.untracked.string('step3 nevts:10'),
0058     name = cms.untracked.string('Applications'),
0059     version = cms.untracked.string('$Revision: 1.19 $')
0060 )
0061 
0062 # Output definition
0063 
0064 process.RECOSIMoutput = cms.OutputModule("PoolOutputModule",
0065     dataset = cms.untracked.PSet(
0066         dataTier = cms.untracked.string('GEN-SIM-RECO'),
0067         filterName = cms.untracked.string('')
0068     ),
0069     eventAutoFlushCompressedSize = cms.untracked.int32(5242880),
0070     fileName = cms.untracked.string('file:step3_PU200.root'),
0071     outputCommands = process.RECOSIMEventContent.outputCommands,
0072     #outputCommands = cms.untracked.vstring( ('keep *') ),
0073     splitLevel = cms.untracked.int32(0)
0074 )
0075 
0076 # debug
0077 process.MessageLogger = cms.Service("MessageLogger",
0078     cerr = cms.untracked.PSet(
0079         enable = cms.untracked.bool(False)
0080     ),
0081     debugModules = cms.untracked.vstring('*'),
0082     files = cms.untracked.PSet(
0083         debugVH_PU200 = cms.untracked.PSet(
0084             DEBUG = cms.untracked.PSet(
0085                 limit = cms.untracked.int32(0)
0086             ),
0087             VectorHitsBuilderValidation = cms.untracked.PSet(
0088                 limit = cms.untracked.int32(-1)
0089             ),
0090             default = cms.untracked.PSet(
0091                 limit = cms.untracked.int32(0)
0092             ),
0093             threshold = cms.untracked.string('DEBUG')
0094         )
0095     )
0096 )
0097 
0098 # Analyzer
0099 process.analysis = cms.EDAnalyzer('VectorHitsBuilderValidation',
0100     src = cms.string("siPhase2Clusters"),
0101     VH_acc = cms.InputTag("siPhase2VectorHits", "accepted"),
0102     VH_rej = cms.InputTag("siPhase2VectorHits", "rejected"),
0103     CPE = cms.ESInputTag("phase2StripCPEESProducer", "Phase2StripCPE"),
0104     links = cms.InputTag("simSiPixelDigis", "Tracker"),
0105     trackingParticleSrc = cms.InputTag('mix', 'MergedTrackTruth'),
0106 )
0107 process.TFileService = cms.Service('TFileService',
0108     fileName = cms.string('file:VHs_validation_PU200_new.root')
0109 )
0110 
0111 
0112 # Other statements
0113 process.mix.input.nbPileupEvents.averageNumber = cms.double(200.000000)
0114 process.mix.bunchspace = cms.int32(25)
0115 process.mix.minBunch = cms.int32(-3)
0116 process.mix.maxBunch = cms.int32(3)
0117 process.mix.input.fileNames = cms.untracked.vstring([
0118 '/store/relval/CMSSW_11_2_0_pre5/RelValMinBias_14TeV/GEN-SIM-DIGI-RAW/110X_mcRun4_realistic_v3_2026D49noPU-v1/20000/09AA31DF-737A-B142-A82B-6E48B4B965CD.root',
0119 '/store/relval/CMSSW_11_2_0_pre5/RelValMinBias_14TeV/GEN-SIM-DIGI-RAW/110X_mcRun4_realistic_v3_2026D49noPU-v1/20000/A18897B2-7509-C845-B83A-CEE4AC55FF86.root',
0120 '/store/relval/CMSSW_11_2_0_pre5/RelValMinBias_14TeV/GEN-SIM-DIGI-RAW/110X_mcRun4_realistic_v3_2026D49noPU-v1/20000/184F91C7-EA57-2B49-9E85-D1F494152CDD.root',
0121 '/store/relval/CMSSW_11_2_0_pre5/RelValMinBias_14TeV/GEN-SIM-DIGI-RAW/110X_mcRun4_realistic_v3_2026D49noPU-v1/20000/A505AC6C-6DEA-484C-8FFC-1EA4B54892F5.root',
0122 '/store/relval/CMSSW_11_2_0_pre5/RelValMinBias_14TeV/GEN-SIM-DIGI-RAW/110X_mcRun4_realistic_v3_2026D49noPU-v1/20000/5636AD91-D035-0B44-8D53-2B4FFE6A7722.root',
0123 '/store/relval/CMSSW_11_2_0_pre5/RelValMinBias_14TeV/GEN-SIM-DIGI-RAW/110X_mcRun4_realistic_v3_2026D49noPU-v1/20000/03D1F17E-33EE-A94C-A869-00071F1F45C7.root',
0124 '/store/relval/CMSSW_11_2_0_pre5/RelValMinBias_14TeV/GEN-SIM-DIGI-RAW/110X_mcRun4_realistic_v3_2026D49noPU-v1/20000/EB99E4B3-838A-CC4C-B1B2-8A9D1E1EB453.root',
0125 '/store/relval/CMSSW_11_2_0_pre5/RelValMinBias_14TeV/GEN-SIM-DIGI-RAW/110X_mcRun4_realistic_v3_2026D49noPU-v1/20000/7F44A9B9-38C1-484F-9B4B-DCD0FD7224A8.root',
0126 '/store/relval/CMSSW_11_2_0_pre5/RelValMinBias_14TeV/GEN-SIM-DIGI-RAW/110X_mcRun4_realistic_v3_2026D49noPU-v1/20000/2A3CCF08-CDD1-6246-827F-27CD0CC42478.root',
0127 '/store/relval/CMSSW_11_2_0_pre5/RelValMinBias_14TeV/GEN-SIM-DIGI-RAW/110X_mcRun4_realistic_v3_2026D49noPU-v1/20000/0745B823-5DB0-B74F-B0A6-78E24ED39EE5.root',
0128 ])
0129 process.mix.playback = True
0130 process.mix.digitizers = cms.PSet()
0131 for a in process.aliases: delattr(process, a)
0132 process.RandomNumberGeneratorService.restoreStateLabel=cms.untracked.string("randomEngineStateProducer")
0133 from Configuration.AlCa.GlobalTag import GlobalTag
0134 process.GlobalTag = GlobalTag(process.GlobalTag, 'auto:phase2_realistic', '')
0135 
0136 # Path and EndPath definitions
0137 process.raw2digi_step = cms.Path(process.RawToDigi)
0138 process.L1Reco_step = cms.Path(process.L1Reco)
0139 process.trackerlocalreco_step  = cms.Path(process.trackerlocalreco+process.siPhase2VectorHits)
0140 process.analysis_step = cms.Path(process.analysis)
0141 process.RECOSIMoutput_step = cms.EndPath(process.RECOSIMoutput)
0142 
0143 # Schedule definition
0144 process.schedule = cms.Schedule(process.raw2digi_step,process.L1Reco_step,process.trackerlocalreco_step,process.RECOSIMoutput_step, process.analysis_step)
0145