Ejemplo n.º 1
0
from Configuration.Eras.Modifier_run3_common_cff import run3_common
run3_common.toReplaceWith(RawToDigiTask,
                          RawToDigiTask.copyAndExclude([castorDigis]))

from Configuration.Eras.Modifier_phase2_tracker_cff import phase2_tracker
# Remove siPixelDigis until we have Phase 2 pixel digis
phase2_tracker.toReplaceWith(RawToDigiTask,
                             RawToDigiTask.copyAndExclude([siPixelDigis
                                                           ]))  # FIXME

# add CTPPS 2016 raw-to-digi modules
from Configuration.Eras.Modifier_ctpps_cff import ctpps

_ctpps_RawToDigiTask = RawToDigiTask.copy()
_ctpps_RawToDigiTask.add(ctppsRawToDigiTask)
ctpps.toReplaceWith(RawToDigiTask, _ctpps_RawToDigiTask)

_ctpps_RawToDigiTask_noTk = RawToDigiTask_noTk.copy()
_ctpps_RawToDigiTask_noTk.add(ctppsRawToDigiTask)
ctpps.toReplaceWith(RawToDigiTask_noTk, _ctpps_RawToDigiTask_noTk)

# GEM settings
_gem_RawToDigiTask = RawToDigiTask.copy()
_gem_RawToDigiTask.add(muonGEMDigis)

from Configuration.Eras.Modifier_run2_GEM_2017_cff import run2_GEM_2017
run2_GEM_2017.toReplaceWith(RawToDigiTask, _gem_RawToDigiTask)

from Configuration.Eras.Modifier_run3_GEM_cff import run3_GEM
from Configuration.Eras.Modifier_phase2_GEM_cff import phase2_GEM
(run3_GEM & ~phase2_GEM).toReplaceWith(RawToDigiTask, _gem_RawToDigiTask)
Ejemplo n.º 2
0
                                      ctppsDiamondDQMOfflineSource +
                                      diamondSampicDQMSourceOffline +
                                      ctppsCommonDQMSourceOffline)

_ctppsDQMOfflineHarvest = cms.Sequence()

from Configuration.Eras.Modifier_ctpps_2018_cff import ctpps_2018

ctpps_2018.toReplaceWith(
    _ctppsDQMOfflineSource,
    cms.Sequence(ctppsPixelDQMOfflineSource + ctppsDiamondDQMOfflineSource +
                 totemTimingDQMSource + ctppsCommonDQMSourceOffline))

# the actually used sequences must be empty for pre-PPS data
from Configuration.Eras.Modifier_ctpps_cff import ctpps

ctppsDQMOnlineSource = cms.Sequence()
ctppsDQMOnlineHarvest = cms.Sequence()
ctpps.toReplaceWith(ctppsDQMOnlineSource, _ctppsDQMOnlineSource)
ctpps.toReplaceWith(ctppsDQMOnlineHarvest, _ctppsDQMOnlineHarvest)

ctppsDQMCalibrationSource = cms.Sequence()
ctppsDQMCalibrationHarvest = cms.Sequence()
ctpps.toReplaceWith(ctppsDQMCalibrationSource, _ctppsDQMCalibrationSource)
ctpps.toReplaceWith(ctppsDQMCalibrationHarvest, _ctppsDQMCalibrationHarvest)

ctppsDQMOfflineSource = cms.Sequence()
ctppsDQMOfflineHarvest = cms.Sequence()
ctpps.toReplaceWith(ctppsDQMOfflineSource, _ctppsDQMOfflineSource)
ctpps.toReplaceWith(ctppsDQMOfflineHarvest, _ctppsDQMOfflineHarvest)
Ejemplo n.º 3
0
from Configuration.Eras.Modifier_phase2_timing_layer_cff import phase2_timing_layer
_phase2_timing_layer_localrecoTask = _run3_localrecoTask.copy()
_phase2_timing_layer_localrecoTask.add(fastTimingLocalRecoTask)
_phase2_timing_layer_localreco_HcalNZSTask = _run3_localreco_HcalNZSTask.copy()
_phase2_timing_layer_localreco_HcalNZSTask.add(fastTimingLocalRecoTask)
phase2_timing_layer.toReplaceWith(localrecoTask,
                                  _phase2_timing_layer_localrecoTask)
phase2_timing_layer.toReplaceWith(localreco_HcalNZSTask,
                                  _phase2_timing_layer_localreco_HcalNZSTask)

from Configuration.Eras.Modifier_ctpps_cff import ctpps

_ctpps_localrecoTask = localrecoTask.copy()
_ctpps_localrecoTask.add(recoCTPPSTask)
ctpps.toReplaceWith(localrecoTask, _ctpps_localrecoTask)

_ctpps_localreco_HcalNZSTask = localreco_HcalNZSTask.copy()
_ctpps_localreco_HcalNZSTask.add(recoCTPPSTask)
ctpps.toReplaceWith(localreco_HcalNZSTask, _ctpps_localreco_HcalNZSTask)

###########################################
# no castor, zdc, Totem/CTPPS RP in FastSim
###########################################
_fastSim_localrecoTask = localrecoTask.copyAndExclude([
    castorreco, totemRPLocalReconstructionTask,
    totemTimingLocalReconstructionTask, ctppsDiamondLocalReconstructionTask,
    ctppsLocalTrackLiteProducer, ctppsPixelLocalReconstructionTask,
    ctppsProtons, trackerlocalrecoTask
])
fastSim.toReplaceWith(localrecoTask, _fastSim_localrecoTask)