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 # debug
0073 #process.MessageLogger = cms.Service("MessageLogger",
0074 #                                    destinations = cms.untracked.vstring("debugVH_tilted"),
0075 #                                    debugModules = cms.untracked.vstring("*"),
0076 #                                    categories = cms.untracked.vstring("VectorHitBuilderEDProducer","VectorHitBuilderAlgorithm","VectorHitsBuilderValidation","VectorHitBuilder"),
0077 #                                    debugVH_tilted = cms.untracked.PSet(threshold = cms.untracked.string("DEBUG"),
0078 #                                                                       DEBUG = cms.untracked.PSet(limit = cms.untracked.int32(0)),
0079 #                                                                       default = cms.untracked.PSet(limit = cms.untracked.int32(0)),
0080 #                                                                       VectorHitBuilder = cms.untracked.PSet(limit = cms.untracked.int32(-1)),
0081 #                                                                       VectorHitBuilderEDProducer = cms.untracked.PSet(limit = cms.untracked.int32(-1)),
0082 #                                                                       VectorHitBuilderAlgorithm = cms.untracked.PSet(limit = cms.untracked.int32(-1)),
0083 #                                                                       VectorHitsBuilderValidation = cms.untracked.PSet(limit = cms.untracked.int32(-1))
0084 #                                                                       )
0085 #                                    )
0086 
0087 # Analyzer
0088 process.analysis = cms.EDAnalyzer('VectorHitsBuilderValidation',
0089     src = cms.string("siPhase2Clusters"),
0090     VH_acc = cms.InputTag("siPhase2VectorHits", "accepted"),
0091     VH_rej = cms.InputTag("siPhase2VectorHits", "rejected"),
0092     CPE = cms.ESInputTag("phase2StripCPEESProducer", "Phase2StripCPE"),
0093     links = cms.InputTag("simSiPixelDigis", "Tracker"),
0094     trackingParticleSrc = cms.InputTag('mix', 'MergedTrackTruth'),
0095 )
0096 process.TFileService = cms.Service('TFileService',
0097     fileName = cms.string('file:VHs_validation.root')
0098 )
0099 
0100 
0101 # Other statements
0102 from Configuration.AlCa.GlobalTag import GlobalTag
0103 process.GlobalTag = GlobalTag(process.GlobalTag, 'auto:phase2_realistic', '')
0104 
0105 # Path and EndPath definitions
0106 process.raw2digi_step = cms.Path(process.RawToDigi)
0107 process.L1Reco_step = cms.Path(process.L1Reco)
0108 process.trackerlocalreco_step  = cms.Path(process.trackerlocalreco+process.siPhase2VectorHits)
0109 process.analysis_step = cms.Path(process.analysis)
0110 process.RECOSIMoutput_step = cms.EndPath(process.RECOSIMoutput)
0111 
0112 # Schedule definition
0113 process.schedule = cms.Schedule(process.raw2digi_step,process.L1Reco_step,process.trackerlocalreco_step,process.RECOSIMoutput_step, process.analysis_step)
0114