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