Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2024-04-06 12:27:41

0001 import FWCore.ParameterSet.Config as cms
0002 
0003 process = cms.Process('RECO')
0004 
0005 # import of standard configurations
0006 process.load('Configuration.StandardSequences.Services_cff')
0007 process.load('FWCore.MessageService.MessageLogger_cfi')
0008 process.load('Configuration.EventContent.EventContent_cff')
0009 #process.load('Configuration.StandardSequences.FrontierConditions_GlobalTag_cff')
0010 
0011 #from Configuration.AlCa.GlobalTag import GlobalTag
0012 #process.GlobalTag = GlobalTag(process.GlobalTag, 'auto:run2_data', '')
0013 
0014 # raw data source
0015 #process.source = cms.Source("NewEventStreamFileReader",
0016 #    fileNames = cms.untracked.vstring(
0017 #        '/store/t0streamer/Data/Physics/000/286/591/run286591_ls0521_streamPhysics_StorageManager.dat',
0018 #        '/store/t0streamer/Minidaq/A/000/303/982/run303982_ls0001_streamA_StorageManager.dat',
0019 #    )
0020 #)
0021 process.source = cms.Source('PoolSource',
0022     fileNames = cms.untracked.vstring(
0023         '/store/data/Run2018D/ZeroBias/RAW/v1/000/324/747/00000/97A72F4B-786F-5A48-B97E-C596DD73BD77.root',
0024     ),
0025 )
0026 
0027 process.maxEvents = cms.untracked.PSet(
0028     input = cms.untracked.int32(-1)
0029 )
0030 
0031 # raw-to-digi conversion
0032 process.load('CalibPPS.ESProducers.totemT2DAQMapping_cff')
0033 process.load('EventFilter.CTPPSRawToDigi.totemT2Digis_cfi')
0034 process.totemT2Digis.rawDataTag = cms.InputTag("rawDataCollector")
0035 
0036 # rechits production
0037 process.load('Geometry.ForwardCommonData.totemT22021V2XML_cfi')
0038 process.load('Geometry.ForwardGeometry.totemGeometryESModule_cfi')
0039 process.load('RecoPPS.Local.totemT2RecHits_cfi')
0040 
0041 process.output = cms.OutputModule("PoolOutputModule",
0042     fileName = cms.untracked.string("file:output.root"),
0043     outputCommands = cms.untracked.vstring(
0044         'drop *',
0045         'keep *_totemT2*_*_*',
0046     ),
0047 )
0048 
0049 # execution configuration
0050 process.p = cms.Path(
0051     process.totemT2Digis
0052     * process.totemT2RecHits
0053 )
0054 
0055 process.outpath = cms.EndPath(process.output)