Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2022-07-14 22:55:44

0001 from __future__ import print_function
0002 # $Id: physics_dqm_sourceclient-live_cfg.py,v 1.11 2012/02/13 15:09:30 lilopera Exp $
0003 
0004 import FWCore.ParameterSet.Config as cms
0005 
0006 from Configuration.Eras.Era_Run3_cff import Run3
0007 process = cms.Process("Physics", Run3)
0008 
0009 #----------------------------
0010 # Event Source
0011 #-----------------------------
0012 
0013 # for live online DQM in P5
0014 process.load("DQM.Integration.config.inputsource_cfi")
0015 from DQM.Integration.config.inputsource_cfi import options
0016 
0017 # for testing in lxplus
0018 #process.load("DQM.Integration.config.fileinputsource_cfi")
0019 #from DQM.Integration.config.fileinputsource_cfi import options
0020 
0021 #----------------------------
0022 # DQM Environment
0023 #-----------------------------
0024 
0025 process.load("DQM.Integration.config.environment_cfi")
0026 process.dqmEnv.subSystemFolder = 'Physics'
0027 process.dqmSaver.tag = 'Physics'
0028 process.dqmSaver.runNumber = options.runNumber
0029 process.dqmSaverPB.tag = 'Physics'
0030 process.dqmSaverPB.runNumber = options.runNumber
0031 
0032 # 0=random, 1=physics, 2=calibration, 3=technical
0033 process.hltTriggerTypeFilter = cms.EDFilter("HLTTriggerTypeFilter",
0034     SelectedTriggerType = cms.int32(1)
0035 )
0036 
0037 #---- for P5 (online) DB access
0038 process.load("DQM.Integration.config.FrontierCondition_GT_cfi")
0039 # Condition for lxplus: change and possibly customise the GT
0040 #from Configuration.AlCa.GlobalTag import GlobalTag as gtCustomise
0041 #process.GlobalTag = gtCustomise(process.GlobalTag, 'auto:run3_data', '')
0042 
0043 process.load('Configuration.StandardSequences.GeometryRecoDB_cff')
0044 process.load('Configuration/StandardSequences/MagneticField_AutoFromDBCurrent_cff')
0045 process.load('DQM/Physics/qcdLowPtDQM_cfi')
0046 
0047 #process.dump = cms.EDAnalyzer('EventContentAnalyzer')
0048 
0049 process.p = cms.Path(
0050     process.hltTriggerTypeFilter *
0051     process.myRecoSeq1  *
0052     process.myRecoSeq2  *
0053 #    process.dump *
0054     process.qcdLowPtDQM *
0055     process.dqmEnv *
0056     process.dqmSaver *
0057     process.dqmSaverPB
0058 )
0059 
0060 process.siPixelDigis.cpu.InputLabel = "rawDataCollector"
0061 
0062 ### process customizations included here
0063 from DQM.Integration.config.online_customizations_cfi import *
0064 process = customise(process)
0065 
0066 #--------------------------------------------------
0067 # Heavy Ion Specific Fed Raw Data Collection Label
0068 #--------------------------------------------------
0069 
0070 print("Running with run type = ", process.runType.getRunType())
0071 
0072 if (process.runType.getRunType() == process.runType.hi_run):
0073     process.siPixelDigis.cpu.InputLabel = "rawDataRepacker"