#-------------------------------------------------
# GEOMETRY
#-------------------------------------------------
process.load("Configuration.StandardSequences.GeometryRecoDB_cff")

#--------------------------
# Calibration
#--------------------------
# Condition for P5 cluster
if (live):
    process.load("DQM.Integration.config.FrontierCondition_GT_cfi")
# Condition for lxplus: change and possibly customise the GT
elif (offlineTesting):
    from Configuration.AlCa.GlobalTag import GlobalTag as gtCustomise
    process.GlobalTag = gtCustomise(process.GlobalTag, 'auto:run2_data', '')

#--------------------------------------------
## Patch to avoid using Run Info information in reconstruction
#
process.siStripQualityESProducer.ListOfRecordToMerge = cms.VPSet(
    cms.PSet(record=cms.string("SiStripDetVOffRcd"), tag=cms.string("")),
    cms.PSet(record=cms.string("SiStripDetCablingRcd"), tag=cms.string("")),
    #  cms.PSet( record = cms.string("RunInfoRcd"),           tag    = cms.string("") ),
    cms.PSet(record=cms.string("SiStripBadChannelRcd"), tag=cms.string("")),
    cms.PSet(record=cms.string("SiStripBadFiberRcd"), tag=cms.string("")),
    cms.PSet(record=cms.string("SiStripBadModuleRcd"), tag=cms.string("")))
#-------------------------------------------

#-----------------------
#  Reconstruction Modules
Esempio n. 2
0
import FWCore.ParameterSet.Config as cms

from Configuration.StandardSequences.FrontierConditions_GlobalTag_cff import *
from Configuration.AlCa.GlobalTag import GlobalTag as gtCustomise

GlobalTag = gtCustomise(GlobalTag, 'auto:com10_GRun', '')
debugstr		= "### HcalDQM::cfg::DEBUG: "
warnstr			= "### HcalDQM::cfg::WARN: "
errorstr		= "### HcalDQM::cfg::ERROR:"
useOfflineGT	= False
useFileInput	= False
useMap		= False

#-------------------------------------
#	Central DQM Stuff imports
#-------------------------------------
from DQM.Integration.config.online_customizations_cfi import *
process.load('DQM.Integration.config.FrontierCondition_GT_cfi')
if useOfflineGT:
	# DB condition for offline test: change and possibly customise the GT
	from Configuration.AlCa.GlobalTag import GlobalTag as gtCustomise
	process.GlobalTag = gtCustomise(process.GlobalTag, 'auto:run2_hlt', '')
if useFileInput:
	process.load("DQM.Integration.config.fileinputsource_cfi")
else:
	process.load('DQM.Integration.config.inputsource_cfi')
process.load('DQM.Integration.config.environment_cfi')

#-------------------------------------
#	Central DQM Customization
#-------------------------------------
process.dqmEnv.subSystemFolder = subsystem
process.dqmSaver.tag = subsystem
referenceFileName = '/dqmdata/dqm/reference/hcal_reference.root'
process.DQMStore.referenceFileName = referenceFileName
process = customise(process)
process.DQMStore.verbose = 0
Esempio n. 4
0
import FWCore.ParameterSet.Config as cms

from Configuration.StandardSequences.FrontierConditions_GlobalTag_cff import *
from Configuration.AlCa.GlobalTag import GlobalTag as gtCustomise

GlobalTag = gtCustomise(GlobalTag, 'auto:run2_data', '')