Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2021-04-14 02:22:56

0001 import FWCore.ParameterSet.Config as cms
0002 
0003 from Configuration.Eras.Modifier_ctpps_cff import ctpps
0004 process = cms.Process("CTPPSReconstructionChainTest", ctpps)
0005 
0006 # minimum of logs
0007 process.MessageLogger = cms.Service("MessageLogger",
0008   statistics = cms.untracked.vstring(),
0009   destinations = cms.untracked.vstring('cout'),
0010   cout = cms.untracked.PSet(
0011     threshold = cms.untracked.string('WARNING')
0012   )
0013 )
0014 
0015 # raw data source
0016 process.source = cms.Source("PoolSource",
0017   fileNames = cms.untracked.vstring(
0018     # run 274199, fill 4961, 29 May 2016 (before TS2)
0019     '/store/data/Run2016B/DoubleEG/RAW/v2/000/274/199/00000/04985451-9B26-E611-BEB9-02163E013859.root',
0020     #'root://eostotem.cern.ch//eos/totem/user/j/jkaspar/04C8034A-9626-E611-9B6E-02163E011F93.root'
0021 
0022     # run 283877, fill 5442, 23 Oct 2016 (after TS2)
0023     '/store/data/Run2016H/HLTPhysics/RAW/v1/000/283/877/00000/F28F8896-999B-E611-93D8-02163E013706.root',
0024 
0025     # test file for 2017 mapping (vertical RPs only)
0026     'root://eostotem.cern.ch//eos/totem/data/ctpps/run290874.root'
0027   ),
0028 
0029   inputCommands = cms.untracked.vstring(
0030     'drop *',
0031     'keep FEDRawDataCollection_*_*_*'
0032   )
0033 )
0034 
0035 process.maxEvents = cms.untracked.PSet(
0036   input = cms.untracked.int32(8000)
0037 )
0038 
0039 # raw-to-digi conversion
0040 process.load("EventFilter.CTPPSRawToDigi.ctppsRawToDigi_cff")
0041 
0042 # RP reconstruction chain with standard settings
0043 process.load("RecoPPS.Configuration.recoCTPPS_cff")
0044 
0045 process.p = cms.Path(
0046   process.ctppsRawToDigi *
0047   process.recoCTPPS
0048 )
0049 
0050 # output configuration
0051 from RecoPPS.Configuration.RecoPPS_EventContent_cff import RecoPPSAOD
0052 process.output = cms.OutputModule("PoolOutputModule",
0053   fileName = cms.untracked.string("file:./AOD.root"),
0054   outputCommands = RecoPPSAOD.outputCommands
0055 )
0056 
0057 process.outpath = cms.EndPath(process.output)