import FWCore.ParameterSet.Config as cms
from DQMServices.Core.DQMEDHarvester import DQMEDHarvester
from Validation.MuonGEMHits.MuonGEMCommonParameters_cfi import GEMValidationCommonParameters

gemDigiHarvesting = DQMEDHarvester("MuonGEMDigisHarvestor",
    GEMValidationCommonParameters,
    regionIds = cms.untracked.vint32(-1, 1),
    stationIds = cms.untracked.vint32(1),
    layerIds = cms.untracked.vint32(1, 2, 3, 4, 5, 6),
)

MuonGEMDigisPostProcessors = cms.Sequence(gemDigiHarvesting)

from Configuration.Eras.Modifier_phase2_common_cff import phase2_common
phase2_common.toModify( gemDigiHarvesting, stationIds = (0, 1, 2) )
