Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2021-02-14 14:25:02

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.FrontierConditions_GlobalTag_cff')
0019 
0020 #adding only recolocalreco
0021 process.load('RecoLocalTracker.Configuration.RecoLocalTracker_cff')
0022 
0023 # import VectorHitBuilder                                                                                                                                                      
0024 process.load('RecoLocalTracker.SiPhase2VectorHitBuilder.siPhase2VectorHits_cfi')
0025 
0026 
0027 process.maxEvents = cms.untracked.PSet(
0028     input = cms.untracked.int32(10)
0029 )
0030 
0031 # Input source
0032 process.source = cms.Source("PoolSource",
0033     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',
0034                       '/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',
0035                       '/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',
0036                       '/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',
0037                       '/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',
0038                       '/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',
0039                       '/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',
0040                       '/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',
0041                       '/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',
0042                       '/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',
0043     ),
0044     secondaryFileNames = cms.untracked.vstring(),
0045     skipEvents = cms.untracked.uint32(0)
0046 )
0047 
0048 process.options = cms.untracked.PSet(
0049 
0050 )
0051 
0052 # Production Info
0053 process.configurationMetadata = cms.untracked.PSet(
0054     annotation = cms.untracked.string('step3 nevts:10'),
0055     name = cms.untracked.string('Applications'),
0056     version = cms.untracked.string('$Revision: 1.19 $')
0057 )
0058 
0059 # Output definition
0060 
0061 process.RECOSIMoutput = cms.OutputModule("PoolOutputModule",
0062     dataset = cms.untracked.PSet(
0063         dataTier = cms.untracked.string('GEN-SIM-RECO'),
0064         filterName = cms.untracked.string('')
0065     ),
0066     eventAutoFlushCompressedSize = cms.untracked.int32(5242880),
0067     fileName = cms.untracked.string('file:step3_1event.root'),
0068     outputCommands = process.RECOSIMEventContent.outputCommands,
0069     splitLevel = cms.untracked.int32(0)
0070 )
0071 
0072 # Analyzer
0073 process.load('RecoLocalTracker.SiPhase2VectorHitBuilder.vectorHitsBuilderValidation_cfi')
0074 
0075 process.TFileService = cms.Service('TFileService',
0076     fileName = cms.string('file:vh_validation_tilted.root')
0077 )
0078 
0079 from RecoTracker.TkSeedGenerator.SeedingOTEDProducer_cfi import SeedingOTEDProducer as _SeedingOTEDProducer
0080 process.phase2SeedingOTEDProducer = _SeedingOTEDProducer.clone()
0081 process.initialStepSeeds = _SeedingOTEDProducer.clone()
0082 
0083 process.load('RecoLocalTracker.Phase2TrackerRecHits.Phase2StripCPEGeometricESProducer_cfi')
0084 
0085 # Other statements
0086 from Configuration.AlCa.GlobalTag import GlobalTag
0087 process.GlobalTag = GlobalTag(process.GlobalTag, 'auto:phase2_realistic', '')
0088 
0089 
0090 # debug
0091 #process.MessageLogger = cms.Service("MessageLogger",
0092 #                                    destinations = cms.untracked.vstring("debugVH_tilted"),
0093 #                                    debugModules = cms.untracked.vstring("*"),
0094 #                                    categories = cms.untracked.vstring("VectorHitBuilderEDProducer","VectorHitBuilderAlgorithm","VectorHitsBuilderValidation","CkfPattern"),
0095 #                                    debugVH_tilted = cms.untracked.PSet(threshold = cms.untracked.string("DEBUG"),
0096 #                                                                       DEBUG = cms.untracked.PSet(limit = cms.untracked.int32(0)),
0097 #                                                                       default = cms.untracked.PSet(limit = cms.untracked.int32(0)),
0098 #                                                                       VectorHitBuilderEDProducer = cms.untracked.PSet(limit = cms.untracked.int32(-1)),
0099 #                                                                       VectorHitBuilderAlgorithm = cms.untracked.PSet(limit = cms.untracked.int32(-1)),
0100 #                                                                       CkfPattern = cms.untracked.PSet(limit = cms.untracked.int32(-1)),
0101 #                                                                       VectorHitsBuilderValidation = cms.untracked.PSet(limit = cms.untracked.int32(-1))
0102 #                                                                       )
0103 #                                    )
0104 
0105 
0106 # Path and EndPath definitions
0107 process.raw2digi_step = cms.Path(process.RawToDigi)
0108 process.L1Reco_step = cms.Path(process.L1Reco)
0109 process.trackerlocalreco_step  = cms.Path(process.trackerlocalreco+process.siPixelClusters+process.siPhase2VectorHits)
0110 process.seedingOT_step  = cms.Path(process.MeasurementTrackerEvent+process.offlineBeamSpot+process.phase2SeedingOTEDProducer)
0111 process.analysis_step = cms.Path(process.vectorHitsBuilderValidation)
0112 process.RECOSIMoutput_step = cms.EndPath(process.RECOSIMoutput)
0113 
0114 # Schedule definition
0115 process.schedule = cms.Schedule(process.raw2digi_step,process.L1Reco_step,process.trackerlocalreco_step,process.seedingOT_step,process.RECOSIMoutput_step, process.analysis_step)
0116 
0117 # customisation of the process.
0118 
0119 
0120 # End of customisation functions
0121