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

postProcessorMuonIsolation = DQMEDHarvester(
    "DQMGenericClient",
    subDirs = cms.untracked.vstring("Muons/MuonIsolationV*"),
    efficiency = cms.vstring(""),
    resolution = cms.vstring(""),
    normalization = cms.untracked.vstring("sumPt",
                                          "emEt",
                                          "hadEt",
                                          "hoEt",
                                          "nTracks",
                                          "nJets",
                                          "trackerVetoPt",
                                          "emVetoEt",
                                          "hadVetoEt",
                                          "hoVetoEt",
                                          "muonPt",
                                          "muonEta",
                                          "muonPhi",
                                          "avgPt",
                                          "weightedEt",
                                          "PFsumChargedHadronPt",
                                          "PFsumChargedTotalPt",
                                          "PFsumEMuPt",
                                          "PFsumNeutralHadronEt",
                                          "PFsumPhotonEt",
                                          "PFsumPUPt",
                                          "sumPt_cd",
                                          "emEt_cd",
                                          "hadEt_cd",
                                          "hoEt_cd",
                                          "nTracks_cd",
                                          "nJets_cd",
                                          "trackerVetoPt_cd",
                                          "emVetoEt_cd",
                                          "hadVetoEt_cd",
                                          "hoVetoEt_cd",                                          
                                          "muonPt_cd",
                                          "muonEta_cd",
                                          "muonPhi_cd",
                                          "avgPt_cd",
                                          "weightedEt_cd",
                                          "PFsumChargedHadronPt_cd",
                                          "PFsumChargedTotalPt_cd",
                                          "PFsumEMuPt_cd",
                                          "PFsumNeutralHadronEt_cd",
                                          "PFsumPhotonEt_cd",
                                          "PFsumPUPt_cd"
                                         ),
    cumulativeDists = cms.untracked.vstring("sumPt_cd",
                                            "emEt_cd",
                                            "hadEt_cd",
                                            "hoEt_cd",
                                            "nTracks_cd",
                                            "nJets_cd",
                                            "trackerVetoPt_cd",
                                            "emVetoEt_cd",
                                            "hadVetoEt_cd",
                                            "hoVetoEt_cd",
                                            "muonPt_cd",
                                            "avgPt_cd",
                                            "weightedEt_cd",
                                            "PFsumChargedHadronPt_cd",
                                            "PFsumChargedTotalPt_cd",
                                            "PFsumEMuPt_cd",
                                            "PFsumNeutralHadronEt_cd",
                                            "PFsumPhotonEt_cd",
                                            "PFsumPUPt_cd"
                                            ),
    outputFileName = cms.untracked.string("")
)        

MuIsoValPostProcessor = cms.Sequence(postProcessorMuonIsolation)
