countElectronMuons  = cms.bool(BUILD_ELECTRON_MUON),
	countElectronTaus = cms.bool(BUILD_ELECTRON_TAU),
	countMuonMuons = cms.bool(BUILD_MUON_MUON),
	countMuonTaus = cms.bool(BUILD_MUON_TAU),
	countTauTaus = cms.bool(BUILD_TAU_TAU),
    filter = cms.bool(True)
)

###############################
# test -- start
################################

from DavisRunIITauTau.PythonHelperClasses.pairContainer_cff import PairWiseMetHelper


mvaMEThelper = PairWiseMetHelper(process,sampleData)

# we also need to remake PFMET since it lacks met significance in Phys14
# this is unrelated to mvaMET

from RecoMET.METProducers.PFMET_cfi import pfMet
process.load("RecoMET/METProducers.METSignificance_cfi")
process.load("RecoMET/METProducers.METSignificanceParams_cfi")
process.pfMet = pfMet.clone(src = "packedPFCandidates")
process.pfMet.calculateSignificance = True
# before setting the above to true need to follow 
# https://twiki.cern.ch/twiki/bin/view/CMSPublic/SWGuideMETSignificance



#################################
	countElectronMuons  = cms.bool(BUILD_ELECTRON_MUON),
	countElectronTaus = cms.bool(BUILD_ELECTRON_TAU),
	countMuonMuons = cms.bool(BUILD_MUON_MUON),
	countMuonTaus = cms.bool(BUILD_MUON_TAU),
	countTauTaus = cms.bool(BUILD_TAU_TAU),
    filter = cms.bool(True)
)

###############################
# test -- start
################################

from DavisRunIITauTau.PythonHelperClasses.pairContainer_cff import PairWiseMetHelper


mvaMEThelper = PairWiseMetHelper(process,sampleData)

# we also need to remake PFMET since it lacks met significance in Phys14
# this is unrelated to mvaMET

from RecoMET.METProducers.PFMET_cfi import pfMet
process.load("RecoMET/METProducers.METSignificance_cfi")
process.load("RecoMET/METProducers.METSignificanceParams_cfi")
process.pfMet = pfMet.clone(src = "packedPFCandidates")
process.pfMet.calculateSignificance = True
# before setting the above to true need to follow 
# https://twiki.cern.ch/twiki/bin/view/CMSPublic/SWGuideMETSignificance



#################################