Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2024-04-06 12:33:40

0001 import FWCore.ParameterSet.Config as cms
0002 
0003 from Configuration.Eras.Era_Phase2_cff import Phase2
0004 process = cms.Process('digiTest',Phase2)
0005 process.maxEvents = cms.untracked.PSet(
0006     input = cms.untracked.int32(-1)
0007 )
0008 #process.MessageLogger = cms.Service("MessageLogger",
0009 #    debugModules = cms.untracked.vstring('siPixelRawData'),
0010 #    destinations = cms.untracked.vstring("cout"),
0011 #    cout = cms.untracked.PSet(
0012 #        threshold = cms.untracked.string('ERROR')
0013 #    )
0014 #)
0015 process.load('Configuration.StandardSequences.Services_cff')
0016 process.load('FWCore.MessageService.MessageLogger_cfi')
0017 process.load('Configuration.EventContent.EventContent_cff')
0018 process.load('Configuration.Geometry.GeometryExtended2023D17Reco_cff')
0019 process.load('Configuration.StandardSequences.MagneticField_cff')
0020 process.load('Configuration.StandardSequences.FrontierConditions_GlobalTag_cff')
0021 process.load('Configuration.StandardSequences.EndOfProcess_cff')
0022 
0023 # Other statements
0024 from Configuration.AlCa.GlobalTag import GlobalTag
0025 process.GlobalTag = GlobalTag(process.GlobalTag, 'auto:phase2_realistic', '')
0026 # list of files
0027 
0028 process.source = cms.Source("PoolSource",
0029     fileNames =  cms.untracked.vstring(
0030         'file:step2_DIGI.root'
0031       )
0032 )
0033 # Production Info
0034 process.configurationMetadata = cms.untracked.PSet(
0035     version = cms.untracked.string('$Revision: 1.19 $'),
0036     annotation = cms.untracked.string('step1 nevts:1'),
0037     name = cms.untracked.string('Applications')
0038 )
0039 # Output definition
0040 
0041 process.DQMoutput = cms.OutputModule("PoolOutputModule",
0042     splitLevel = cms.untracked.int32(0),
0043     outputCommands = process.DQMEventContent.outputCommands,
0044     fileName = cms.untracked.string('step1_DigiTest.root'),
0045     dataset = cms.untracked.PSet(
0046         filterName = cms.untracked.string(''),
0047         dataTier = cms.untracked.string('')
0048     )
0049 )
0050 
0051 process.load('Validation.SiTrackerPhase2V.Phase2TrackerValidateDigi_cff')
0052 process.digiana_seq = cms.Sequence(process.pixDigiValid * process.otDigiValid)
0053 
0054 process.load('DQMServices.Components.DQMEventInfo_cfi')
0055 process.dqmEnv.subSystemFolder = cms.untracked.string('Ph2TkDigi')
0056 
0057 process.dqm_comm = cms.Sequence(process.dqmEnv)
0058 
0059 # Path and EndPath definitions
0060 process.endjob_step = cms.EndPath(process.endOfProcess)
0061 process.DQMoutput_step = cms.EndPath(process.DQMoutput)
0062 
0063 #process.digi_step = cms.Sequence(process.siPixelRawData*process.siPixelDigis)
0064 process.p = cms.Path(process.digiana_seq * process.dqm_comm )