Back to home page

Project CMSSW displayed by LXR

 
 

    


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

0001 import FWCore.ParameterSet.Config as cms
0002 
0003 from Configuration.Eras.Modifier_ctpps_cff import ctpps
0004 process = cms.Process('ctppsDQMfromRAW', ctpps)
0005 
0006 # minimum of logs
0007 process.MessageLogger = cms.Service("MessageLogger",
0008   statistics = cms.untracked.vstring(),
0009   destinations = cms.untracked.vstring('cerr'),
0010   cerr = cms.untracked.PSet(
0011       threshold = cms.untracked.string('WARNING')
0012   )
0013 )
0014 
0015 # load DQM framework
0016 process.load("DQM.Integration.config.environment_cfi")
0017 process.dqmEnv.subSystemFolder = "CTPPS"
0018 process.dqmEnv.eventInfoFolder = "EventInfo"
0019 process.dqmSaver.path = ""
0020 process.dqmSaver.tag = "CTPPS"
0021 
0022 # raw data source
0023 process.source = cms.Source("PoolSource",
0024   fileNames = cms.untracked.vstring(
0025     # reference for 2016, pre-TS2 (fill 5029)
0026     #"/store/data/Run2016B/ZeroBias/RAW/v2/000/275/371/00000/FA67145B-8836-E611-8560-02163E012627.root",
0027     #"/store/data/Run2016B/ZeroBias/RAW/v2/000/275/371/00000/EAD70032-8836-E611-8C11-02163E014154.root",
0028     "/store/data/Run2016B/DoubleEG/RAW/v2/000/275/371/00000/FE9F0F13-9436-E611-8F39-02163E012B47.root",  # temporarily use a staged file from a different stream
0029 
0030     # referece for 2016, post-TS2 (fill 5424)
0031     #"/store/data/Run2016H/ZeroBias/RAW/v1/000/283/453/00000/463B84C2-C098-E611-8BC4-FA163E3201B4.root",
0032     #"/store/data/Run2016H/ZeroBias/RAW/v1/000/283/453/00000/3204EE5B-C298-E611-BC39-02163E01448F.root",
0033     "/store/data/Run2016H/SingleMuon/RAW/v1/000/283/453/00000/FE53CBFE-CB98-E611-A106-FA163E04425A.root",  # temporarily use a staged file from a different stream
0034 
0035     # referece for 2017, pre-TS2 (fill 6089)
0036     "/store/data/Run2017C/ZeroBias/RAW/v1/000/301/283/00000/8ED63519-2282-E711-9073-02163E01A3C6.root",
0037     #"/store/data/Run2017C/ZeroBias/RAW/v1/000/301/283/00000/D4508469-2282-E711-82A9-02163E01A31A.root",
0038 
0039     # referece for 2017, post-TS2 (fill 6300)
0040     "/store/data/Run2017F/ZeroBias/RAW/v1/000/305/081/00000/001D08EE-C4B1-E711-B92D-02163E013864.root",
0041     #"/store/data/Run2017F/ZeroBias/RAW/v1/000/305/081/00000/44B0284D-C3B1-E711-BECF-02163E014357.root",
0042 
0043     # referece for 2018 (fill 7006)
0044     "/store/data/Run2018D/ZeroBias/RAW/v1/000/320/688/00000/601A721D-AD95-E811-B21A-FA163E28A50A.root",
0045     #"/store/data/Run2018D/ZeroBias/RAW/v1/000/320/688/00000/EE97DF44-AD95-E811-A444-02163E019FF7.root",
0046   ),
0047 
0048   inputCommands = cms.untracked.vstring(
0049     'drop *',
0050     'keep FEDRawDataCollection_*_*_*'
0051   )
0052 )
0053 
0054 process.maxEvents = cms.untracked.PSet(
0055   input = cms.untracked.int32(-1)
0056 )
0057 
0058 # global tag - conditions for P5 cluster
0059 process.load("DQM.Integration.config.FrontierCondition_GT_cfi")
0060 
0061 # raw-to-digi conversion
0062 process.load("EventFilter.CTPPSRawToDigi.ctppsRawToDigi_cff")
0063 
0064 # local RP reconstruction chain with standard settings
0065 process.load("RecoPPS.Configuration.recoCTPPS_cff")
0066 
0067 # CTPPS DQM modules
0068 process.load("DQM.CTPPS.ctppsDQM_cff")
0069 
0070 process.path = cms.Path(
0071   process.ctppsRawToDigi *
0072   process.recoCTPPS *
0073   process.ctppsDQMElastic
0074 )
0075 
0076 process.end_path = cms.EndPath(
0077   process.dqmEnv +
0078   process.dqmSaver
0079 )
0080 
0081 process.schedule = cms.Schedule(
0082   process.path,
0083   process.end_path
0084 )