Back to home page

Project CMSSW displayed by LXR

 
 

    


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

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('Configuration.Geometry.GeometryExtended2026D49Reco_cff')
0014 process.load('Configuration.StandardSequences.MagneticField_cff')
0015 process.load('Configuration.StandardSequences.RawToDigi_cff')
0016 process.load('Configuration.StandardSequences.L1Reco_cff')
0017 process.load('Configuration.StandardSequences.Reconstruction_cff')
0018 process.load('Configuration.StandardSequences.EndOfProcess_cff')
0019 #process.load('Configuration.StandardSequences.Validation_cff')
0020 #process.load('DQMOffline.Configuration.DQMOfflineMC_cff')
0021 process.load('Configuration.StandardSequences.FrontierConditions_GlobalTag_cff')
0022 
0023 #adding only recolocalreco
0024 process.load('RecoLocalTracker.Configuration.RecoLocalTracker_cff')
0025 
0026 # import VectorHitBuilder                                                                                                                                                      
0027 process.load('RecoLocalTracker.SiPhase2VectorHitBuilder.siPhase2VectorHits_cfi')
0028 
0029 
0030 process.maxEvents = cms.untracked.PSet(
0031     input = cms.untracked.int32(10)
0032 )
0033 
0034 # Input source
0035 process.source = cms.Source("PoolSource",
0036     fileNames = cms.untracked.vstring('/store/relval/CMSSW_11_2_0_pre3/RelValSingleMuFlatPt2To100/GEN-SIM-DIGI-RAW/PU25ns_110X_mcRun4_realistic_v3_2026D49PU200-v1/20000/863B48BB-03ED-0548-AA60-1269291ED1E6.root',
0037                       '/store/relval/CMSSW_11_2_0_pre3/RelValSingleMuFlatPt2To100/GEN-SIM-DIGI-RAW/PU25ns_110X_mcRun4_realistic_v3_2026D49PU200-v1/20000/9B6E3A66-B330-8E42-B85E-96A9952A002E.root',
0038                       '/store/relval/CMSSW_11_2_0_pre3/RelValSingleMuFlatPt2To100/GEN-SIM-DIGI-RAW/PU25ns_110X_mcRun4_realistic_v3_2026D49PU200-v1/20000/29706FE9-16C9-CE4F-B744-66E07B250D1E.root',
0039                       '/store/relval/CMSSW_11_2_0_pre3/RelValSingleMuFlatPt2To100/GEN-SIM-DIGI-RAW/PU25ns_110X_mcRun4_realistic_v3_2026D49PU200-v1/20000/AAB16BEE-B0CE-644A-8E96-35236D793C04.root',
0040                       '/store/relval/CMSSW_11_2_0_pre3/RelValSingleMuFlatPt2To100/GEN-SIM-DIGI-RAW/PU25ns_110X_mcRun4_realistic_v3_2026D49PU200-v1/20000/36F89E35-DE2F-174B-95B7-7A9423DED2D8.root',
0041                       '/store/relval/CMSSW_11_2_0_pre3/RelValSingleMuFlatPt2To100/GEN-SIM-DIGI-RAW/PU25ns_110X_mcRun4_realistic_v3_2026D49PU200-v1/20000/1BE0A565-4F64-8D42-A5D5-62692F64F0A5.root',
0042                       '/store/relval/CMSSW_11_2_0_pre3/RelValSingleMuFlatPt2To100/GEN-SIM-DIGI-RAW/PU25ns_110X_mcRun4_realistic_v3_2026D49PU200-v1/20000/8671B5C9-DE1F-8B4C-8A1C-9C99898FE191.root',
0043                       '/store/relval/CMSSW_11_2_0_pre3/RelValSingleMuFlatPt2To100/GEN-SIM-DIGI-RAW/PU25ns_110X_mcRun4_realistic_v3_2026D49PU200-v1/20000/6CA0E490-73F4-1147-906D-050B8B3A3134.root',
0044                       '/store/relval/CMSSW_11_2_0_pre3/RelValSingleMuFlatPt2To100/GEN-SIM-DIGI-RAW/PU25ns_110X_mcRun4_realistic_v3_2026D49PU200-v1/20000/AFAB961F-E31F-064D-9031-BEAA10702345.root',
0045                       '/store/relval/CMSSW_11_2_0_pre3/RelValSingleMuFlatPt2To100/GEN-SIM-DIGI-RAW/PU25ns_110X_mcRun4_realistic_v3_2026D49PU200-v1/20000/2AB6718E-EEA6-494B-AC25-B59CF36DF941.root',
0046     ),
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_1event.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     cout = cms.untracked.PSet(
0082         enable = cms.untracked.bool(True),
0083         threshold = cms.untracked.string('ERROR')
0084     ),
0085     debugModules = cms.untracked.vstring('siPhase2Clusters')
0086 )
0087 
0088 # Analyzer
0089 # Analyzer
0090 process.analysis = cms.EDAnalyzer('Phase2TrackerClusterizerValidation',
0091     src = cms.InputTag("siPhase2Clusters"),
0092     links = cms.InputTag("simSiPixelDigis", "Tracker"),
0093     simhitsbarrel = cms.InputTag("g4SimHits", "TrackerHitsPixelBarrelLowTof"),
0094     simhitsendcap = cms.InputTag("g4SimHits", "TrackerHitsPixelEndcapLowTof"),
0095     simtracks = cms.InputTag("g4SimHits"),
0096     ECasRings = cms.bool(True),
0097     SimTrackMinPt = cms.double(2.)
0098 )
0099 
0100 #process.analysis = cms.EDAnalyzer('Phase2TrackerClusterizerValidationTGraph',
0101 #    src = cms.string("siPhase2Clusters"),
0102 #    links = cms.InputTag("simSiPixelDigis", "Tracker")
0103 #)
0104 process.TFileService = cms.Service('TFileService',
0105     fileName = cms.string('file:Clusters_validation.root')
0106 )
0107 
0108 
0109 # Other statements
0110 from Configuration.AlCa.GlobalTag import GlobalTag
0111 process.GlobalTag = GlobalTag(process.GlobalTag, 'auto:phase2_realistic', '')
0112 
0113 # Path and EndPath definitions
0114 process.raw2digi_step = cms.Path(process.RawToDigi)
0115 process.L1Reco_step = cms.Path(process.L1Reco)
0116 process.trackerlocalreco_step  = cms.Path(process.trackerlocalreco)
0117 process.analysis_step = cms.Path(process.analysis)
0118 process.RECOSIMoutput_step = cms.EndPath(process.RECOSIMoutput)
0119 
0120 # Schedule definition
0121 process.schedule = cms.Schedule(process.raw2digi_step,process.L1Reco_step,process.trackerlocalreco_step,process.RECOSIMoutput_step, process.analysis_step)
0122