import FWCore.ParameterSet.Config as cms
from DQMServices.Core.DQMEDHarvester import DQMEDHarvester

l1EmulatorErrorFlagClient = DQMEDHarvester("L1EmulatorErrorFlagClient",
    #
    # for each L1 system, give:
    #     - SystemLabel:  system label
    #     - HwValLabel:   system label as used in hardware validation package 
    #                     (the package producing the ErrorFlag histogram)
    #     - SystemMask:   system mask: if 1, the system is masked in the summary plot
    #     - SystemFolder: the folder where the ErrorFlag histogram is looked for
    #
    # the position in the parameter set gives, in reverse order, the position in the reportSummaryMap
    # in the emulator column (left column)
    L1Systems = cms.VPSet(
                    cms.PSet(
                        SystemLabel = cms.string("ECAL"),
                        HwValLabel = cms.string("ETP"),
                        SystemMask  = cms.uint32(1),
                        SystemFolder = cms.string("")
                        ),
                    cms.PSet(
                        SystemLabel = cms.string("HCAL"),
                        HwValLabel = cms.string("HTP"),
                        SystemMask  = cms.uint32(1),
                        SystemFolder = cms.string("")
                        ),
                    cms.PSet(
                        SystemLabel = cms.string("RCT"),
                        HwValLabel = cms.string("RCT"),
                        SystemMask  = cms.uint32(0),
                        SystemFolder = cms.string("")
                        ),
                    cms.PSet(
                        SystemLabel = cms.string("Stage1Layer2"),
                        HwValLabel = cms.string("Stage1Layer2"),
                        SystemMask  = cms.uint32(0),
                        SystemFolder = cms.string("")
                        ),
                    cms.PSet(
                        SystemLabel = cms.string("DTTF"),
                        HwValLabel = cms.string("DTF"),
                        SystemMask  = cms.uint32(0),
                        SystemFolder = cms.string("")
                        ),
                    cms.PSet(
                        SystemLabel = cms.string("DTTPG"),
                        HwValLabel = cms.string("DTP"),
                        SystemMask  = cms.uint32(1),
                        SystemFolder = cms.string("")
                        ),
                    cms.PSet(
                        SystemLabel = cms.string("CSCTF"),
                        HwValLabel = cms.string("CTF"),
                        SystemMask  = cms.uint32(1),
                        SystemFolder = cms.string("")
                        ),
                    cms.PSet(
                        SystemLabel = cms.string("CSCTPG"),
                        HwValLabel = cms.string("CTP"),
                        SystemMask  = cms.uint32(1),
                        SystemFolder = cms.string("")
                        ),
                    cms.PSet(
                        SystemLabel = cms.string("RPC"),
                        HwValLabel = cms.string("RPC"),
                        SystemMask  = cms.uint32(0),
                        SystemFolder = cms.string("")
                        ),
                    cms.PSet(
                        SystemLabel = cms.string("GMT"),
                        HwValLabel = cms.string("GMT"),
                        SystemMask  = cms.uint32(0),
                        SystemFolder = cms.string("")
                        ),
                    cms.PSet(
                        SystemLabel = cms.string("GT"),
                        HwValLabel = cms.string("GT"),
                        SystemMask  = cms.uint32(1),
                        SystemFolder = cms.string("L1TEMU/Stage1GTexpert")
                        )
                        
                     )
)

[((17, 38, 17, 56), 'FWCore.ParameterSet.Config.string', 'cms.string', ({(17, 49, 17, 55): '"""ECAL"""'}, {}), "('ECAL')", True, 'import FWCore.ParameterSet.Config as cms\n'), ((18, 37, 18, 54), 'FWCore.ParameterSet.Config.string', 'cms.string', ({(18, 48, 18, 53): '"""ETP"""'}, {}), "('ETP')", True, 'import FWCore.ParameterSet.Config as cms\n'), ((19, 38, 19, 51), 'FWCore.ParameterSet.Config.uint32', 'cms.uint32', ({(19, 49, 19, 50): '1'}, {}), '(1)', True, 'import FWCore.ParameterSet.Config as cms\n'), ((20, 39, 20, 53), 'FWCore.ParameterSet.Config.string', 'cms.string', ({(20, 50, 20, 52): '""""""'}, {}), "('')", True, 'import FWCore.ParameterSet.Config as cms\n'), ((23, 38, 23, 56), 'FWCore.ParameterSet.Config.string', 'cms.string', ({(23, 49, 23, 55): '"""HCAL"""'}, {}), "('HCAL')", True, 'import FWCore.ParameterSet.Config as cms\n'), ((24, 37, 24, 54), 'FWCore.ParameterSet.Config.string', 'cms.string', ({(24, 48, 24, 53): '"""HTP"""'}, {}), "('HTP')", True, 'import FWCore.ParameterSet.Config as cms\n'), ((25, 38, 25, 51), 'FWCore.ParameterSet.Config.uint32', 'cms.uint32', ({(25, 49, 25, 50): '1'}, {}), '(1)', True, 'import FWCore.ParameterSet.Config as cms\n'), ((26, 39, 26, 53), 'FWCore.ParameterSet.Config.string', 'cms.string', ({(26, 50, 26, 52): '""""""'}, {}), "('')", True, 'import FWCore.ParameterSet.Config as cms\n'), ((29, 38, 29, 55), 'FWCore.ParameterSet.Config.string', 'cms.string', ({(29, 49, 29, 54): '"""RCT"""'}, {}), "('RCT')", True, 'import FWCore.ParameterSet.Config as cms\n'), ((30, 37, 30, 54), 'FWCore.ParameterSet.Config.string', 'cms.string', ({(30, 48, 30, 53): '"""RCT"""'}, {}), "('RCT')", True, 'import FWCore.ParameterSet.Config as cms\n'), ((31, 38, 31, 51), 'FWCore.ParameterSet.Config.uint32', 'cms.uint32', ({(31, 49, 31, 50): '0'}, {}), '(0)', True, 'import FWCore.ParameterSet.Config as cms\n'), ((32, 39, 32, 53), 'FWCore.ParameterSet.Config.string', 'cms.string', ({(32, 50, 32, 52): '""""""'}, {}), "('')", True, 'import FWCore.ParameterSet.Config as cms\n'), ((35, 38, 35, 64), 'FWCore.ParameterSet.Config.string', 'cms.string', ({(35, 49, 35, 63): '"""Stage1Layer2"""'}, {}), "('Stage1Layer2')", True, 'import FWCore.ParameterSet.Config as cms\n'), ((36, 37, 36, 63), 'FWCore.ParameterSet.Config.string', 'cms.string', ({(36, 48, 36, 62): '"""Stage1Layer2"""'}, {}), "('Stage1Layer2')", True, 'import FWCore.ParameterSet.Config as cms\n'), ((37, 38, 37, 51), 'FWCore.ParameterSet.Config.uint32', 'cms.uint32', ({(37, 49, 37, 50): '0'}, {}), '(0)', True, 'import FWCore.ParameterSet.Config as cms\n'), ((38, 39, 38, 53), 'FWCore.ParameterSet.Config.string', 'cms.string', ({(38, 50, 38, 52): '""""""'}, {}), "('')", True, 'import FWCore.ParameterSet.Config as cms\n'), ((41, 38, 41, 56), 'FWCore.ParameterSet.Config.string', 'cms.string', ({(41, 49, 41, 55): '"""DTTF"""'}, {}), "('DTTF')", True, 'import FWCore.ParameterSet.Config as cms\n'), ((42, 37, 42, 54), 'FWCore.ParameterSet.Config.string', 'cms.string', ({(42, 48, 42, 53): '"""DTF"""'}, {}), "('DTF')", True, 'import FWCore.ParameterSet.Config as cms\n'), ((43, 38, 43, 51), 'FWCore.ParameterSet.Config.uint32', 'cms.uint32', ({(43, 49, 43, 50): '0'}, {}), '(0)', True, 'import FWCore.ParameterSet.Config as cms\n'), ((44, 39, 44, 53), 'FWCore.ParameterSet.Config.string', 'cms.string', ({(44, 50, 44, 52): '""""""'}, {}), "('')", True, 'import FWCore.ParameterSet.Config as cms\n'), ((47, 38, 47, 57), 'FWCore.ParameterSet.Config.string', 'cms.string', ({(47, 49, 47, 56): '"""DTTPG"""'}, {}), "('DTTPG')", True, 'import FWCore.ParameterSet.Config as cms\n'), ((48, 37, 48, 54), 'FWCore.ParameterSet.Config.string', 'cms.string', ({(48, 48, 48, 53): '"""DTP"""'}, {}), "('DTP')", True, 'import FWCore.ParameterSet.Config as cms\n'), ((49, 38, 49, 51), 'FWCore.ParameterSet.Config.uint32', 'cms.uint32', ({(49, 49, 49, 50): '1'}, {}), '(1)', True, 'import FWCore.ParameterSet.Config as cms\n'), ((50, 39, 50, 53), 'FWCore.ParameterSet.Config.string', 'cms.string', ({(50, 50, 50, 52): '""""""'}, {}), "('')", True, 'import FWCore.ParameterSet.Config as cms\n'), ((53, 38, 53, 57), 'FWCore.ParameterSet.Config.string', 'cms.string', ({(53, 49, 53, 56): '"""CSCTF"""'}, {}), "('CSCTF')", True, 'import FWCore.ParameterSet.Config as cms\n'), ((54, 37, 54, 54), 'FWCore.ParameterSet.Config.string', 'cms.string', ({(54, 48, 54, 53): '"""CTF"""'}, {}), "('CTF')", True, 'import FWCore.ParameterSet.Config as cms\n'), ((55, 38, 55, 51), 'FWCore.ParameterSet.Config.uint32', 'cms.uint32', ({(55, 49, 55, 50): '1'}, {}), '(1)', True, 'import FWCore.ParameterSet.Config as cms\n'), ((56, 39, 56, 53), 'FWCore.ParameterSet.Config.string', 'cms.string', ({(56, 50, 56, 52): '""""""'}, {}), "('')", True, 'import FWCore.ParameterSet.Config as cms\n'), ((59, 38, 59, 58), 'FWCore.ParameterSet.Config.string', 'cms.string', ({(59, 49, 59, 57): '"""CSCTPG"""'}, {}), "('CSCTPG')", True, 'import FWCore.ParameterSet.Config as cms\n'), ((60, 37, 60, 54), 'FWCore.ParameterSet.Config.string', 'cms.string', ({(60, 48, 60, 53): '"""CTP"""'}, {}), "('CTP')", True, 'import FWCore.ParameterSet.Config as cms\n'), ((61, 38, 61, 51), 'FWCore.ParameterSet.Config.uint32', 'cms.uint32', ({(61, 49, 61, 50): '1'}, {}), '(1)', True, 'import FWCore.ParameterSet.Config as cms\n'), ((62, 39, 62, 53), 'FWCore.ParameterSet.Config.string', 'cms.string', ({(62, 50, 62, 52): '""""""'}, {}), "('')", True, 'import FWCore.ParameterSet.Config as cms\n'), ((65, 38, 65, 55), 'FWCore.ParameterSet.Config.string', 'cms.string', ({(65, 49, 65, 54): '"""RPC"""'}, {}), "('RPC')", True, 'import FWCore.ParameterSet.Config as cms\n'), ((66, 37, 66, 54), 'FWCore.ParameterSet.Config.string', 'cms.string', ({(66, 48, 66, 53): '"""RPC"""'}, {}), "('RPC')", True, 'import FWCore.ParameterSet.Config as cms\n'), ((67, 38, 67, 51), 'FWCore.ParameterSet.Config.uint32', 'cms.uint32', ({(67, 49, 67, 50): '0'}, {}), '(0)', True, 'import FWCore.ParameterSet.Config as cms\n'), ((68, 39, 68, 53), 'FWCore.ParameterSet.Config.string', 'cms.string', ({(68, 50, 68, 52): '""""""'}, {}), "('')", True, 'import FWCore.ParameterSet.Config as cms\n'), ((71, 38, 71, 55), 'FWCore.ParameterSet.Config.string', 'cms.string', ({(71, 49, 71, 54): '"""GMT"""'}, {}), "('GMT')", True, 'import FWCore.ParameterSet.Config as cms\n'), ((72, 37, 72, 54), 'FWCore.ParameterSet.Config.string', 'cms.string', ({(72, 48, 72, 53): '"""GMT"""'}, {}), "('GMT')", True, 'import FWCore.ParameterSet.Config as cms\n'), ((73, 38, 73, 51), 'FWCore.ParameterSet.Config.uint32', 'cms.uint32', ({(73, 49, 73, 50): '0'}, {}), '(0)', True, 'import FWCore.ParameterSet.Config as cms\n'), ((74, 39, 74, 53), 'FWCore.ParameterSet.Config.string', 'cms.string', ({(74, 50, 74, 52): '""""""'}, {}), "('')", True, 'import FWCore.ParameterSet.Config as cms\n'), ((77, 38, 77, 54), 'FWCore.ParameterSet.Config.string', 'cms.string', ({(77, 49, 77, 53): '"""GT"""'}, {}), "('GT')", True, 'import FWCore.ParameterSet.Config as cms\n'), ((78, 37, 78, 53), 'FWCore.ParameterSet.Config.string', 'cms.string', ({(78, 48, 78, 52): '"""GT"""'}, {}), "('GT')", True, 'import FWCore.ParameterSet.Config as cms\n'), ((79, 38, 79, 51), 'FWCore.ParameterSet.Config.uint32', 'cms.uint32', ({(79, 49, 79, 50): '1'}, {}), '(1)', True, 'import FWCore.ParameterSet.Config as cms\n'), ((80, 39, 80, 74), 'FWCore.ParameterSet.Config.string', 'cms.string', ({(80, 50, 80, 73): '"""L1TEMU/Stage1GTexpert"""'}, {}), "('L1TEMU/Stage1GTexpert')", True, 'import FWCore.ParameterSet.Config as cms\n')]