Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2024-06-08 02:05:44

0001 import FWCore.ParameterSet.Config as cms
0002 from FWCore.ParameterSet.pfnInPath import *
0003 
0004 process = cms.Process('RECO')
0005 
0006 # import of standard configurations
0007 process.load('Configuration.StandardSequences.Services_cff')
0008 process.load('FWCore.MessageService.MessageLogger_cfi')
0009 process.MessageLogger.cerr.threshold = "DEBUG"
0010 # enable LogDebug messages only for specific modules
0011 process.MessageLogger.debugModules = ["Totem"]
0012 
0013 process.load('Configuration.EventContent.EventContent_cff')
0014 process.load('Configuration.StandardSequences.FrontierConditions_GlobalTag_cff')
0015 from Configuration.AlCa.GlobalTag import GlobalTag
0016 process.GlobalTag = GlobalTag(process.GlobalTag, 'auto:run3_data', '')
0017 
0018 process.source = cms.Source('PoolSource',
0019     fileNames =  cms.untracked.pfnInPaths('RecoPPS/Local/data/run364983_ls0001_raw.root')
0020 )
0021 
0022 process.maxEvents = cms.untracked.PSet(
0023     input = cms.untracked.int32(1)
0024 )
0025 
0026 # raw-to-digi conversion
0027 process.load('EventFilter.CTPPSRawToDigi.totemT2Digis_cfi')
0028 process.totemT2Digis.rawDataTag = cms.InputTag("rawDataCollector")
0029 process.totemT2Digis.RawUnpacking.verbosity = 1
0030 process.totemT2Digis.RawToDigi.verbosity = 3
0031 process.totemT2Digis.RawToDigi.useOlderT2TestFile = True
0032 process.totemT2Digis.RawToDigi.printUnknownFrameSummary = True
0033 process.totemT2Digis.RawToDigi.printErrorSummary = True
0034 
0035 # rechits production
0036 #process.load('Geometry.ForwardCommonData.totemT22021V2XML_cfi')
0037 #process.load('Geometry.ForwardGeometry.totemGeometryESModule_cfi')
0038 #process.load('RecoPPS.Local.totemT2RecHits_cfi')
0039 
0040 process.output = cms.OutputModule("PoolOutputModule",
0041         fileName = cms.untracked.string("file:output-miniDaq2303-T2testFile-ver2.1-noRecHits--1ev.root"),
0042     outputCommands = cms.untracked.vstring(
0043         'drop *',
0044         'keep *_totemT2*_*_*',
0045     ),
0046 )
0047 
0048 # execution configuration
0049 process.p = cms.Path(
0050     process.totemT2Digis
0051 #    * process.totemT2RecHits
0052 )
0053 
0054 process.outpath = cms.EndPath(process.output)