00001 import FWCore.ParameterSet.Config as cms 00002 import copy 00003 00004 from RecoTauTag.RecoTau.PFRecoTauTagInfoProducer_cfi import * 00005 from RecoTauTag.RecoTau.PFRecoTauProducer_cfi import * 00006 from RecoTauTag.RecoTau.PFRecoTauDiscriminationByIsolation_cfi import * 00007 from RecoTauTag.RecoTau.PFRecoTauDiscriminationByIsolationUsingLeadingPion_cfi import * 00008 from RecoTauTag.RecoTau.PFRecoTauDiscriminationByLeadingTrackFinding_cfi import * 00009 from RecoTauTag.RecoTau.PFRecoTauDiscriminationByLeadingTrackPtCut_cfi import * 00010 from RecoTauTag.RecoTau.PFRecoTauDiscriminationByLeadingPionPtCut_cfi import * 00011 from RecoTauTag.RecoTau.PFRecoTauDiscriminationByTrackIsolation_cfi import * 00012 from RecoTauTag.RecoTau.PFRecoTauDiscriminationByTrackIsolationUsingLeadingPion_cfi import * 00013 from RecoTauTag.RecoTau.PFRecoTauDiscriminationByECALIsolation_cfi import * 00014 from RecoTauTag.RecoTau.PFRecoTauDiscriminationByECALIsolationUsingLeadingPion_cfi import * 00015 from RecoTauTag.RecoTau.PFRecoTauDiscriminationAgainstElectron_cfi import * 00016 from RecoTauTag.RecoTau.PFRecoTauDiscriminationAgainstMuon_cfi import * 00017 00018 #copying the PFTau producer and select the shrinkingCone 00019 pfRecoTauProducerHighEfficiency = copy.deepcopy(pFRecoTauProducer) 00020 pfRecoTauProducerHighEfficiency.TrackerSignalConeSizeFormula = '5.0/ET' 00021 pfRecoTauProducerHighEfficiency.TrackerSignalConeSize_min = 0.07 00022 pfRecoTauProducerHighEfficiency.TrackerSignalConeSize_max = 0.15 00023 pfRecoTauProducerHighEfficiency.GammaCand_minPt = 1.5 00024 00025 00026 #copying Discriminator ByLeadingTrack(finding and pt_cut) 00027 pfRecoTauDiscriminationByLeadingTrackFindingHighEfficiency = copy.deepcopy(pFRecoTauDiscriminationByLeadingTrackFinding) 00028 pfRecoTauDiscriminationByLeadingTrackFindingHighEfficiency.PFTauProducer = 'pfRecoTauProducerHighEfficiency' 00029 00030 pfRecoTauDiscriminationByLeadingTrackPtCutHighEfficiency = copy.deepcopy(pFRecoTauDiscriminationByLeadingTrackPtCut) 00031 pfRecoTauDiscriminationByLeadingTrackPtCutHighEfficiency.PFTauProducer = 'pfRecoTauProducerHighEfficiency' 00032 00033 #copying Discriminator ByPionTrackPtCut 00034 pfRecoTauDiscriminationByLeadingPionPtCutHighEfficiency = copy.deepcopy(pFRecoTauDiscriminationByLeadingPionPtCut) 00035 pfRecoTauDiscriminationByLeadingPionPtCutHighEfficiency.PFTauProducer = 'pfRecoTauProducerHighEfficiency' 00036 00037 #copying the Discriminator by Isolation 00038 pfRecoTauDiscriminationByIsolationHighEfficiency = copy.deepcopy(pFRecoTauDiscriminationByIsolation) 00039 pfRecoTauDiscriminationByIsolationHighEfficiency.PFTauProducer = 'pfRecoTauProducerHighEfficiency' 00040 00041 pfRecoTauDiscriminationByTrackIsolationHighEfficiency = copy.deepcopy(pFRecoTauDiscriminationByTrackIsolation) 00042 pfRecoTauDiscriminationByTrackIsolationHighEfficiency.PFTauProducer = 'pfRecoTauProducerHighEfficiency' 00043 00044 pfRecoTauDiscriminationByECALIsolationHighEfficiency = copy.deepcopy(pFRecoTauDiscriminationByECALIsolation) 00045 pfRecoTauDiscriminationByECALIsolationHighEfficiency.PFTauProducer = 'pfRecoTauProducerHighEfficiency' 00046 00047 #copying the Discriminator by Isolation for leadingPion 00048 pfRecoTauDiscriminationByIsolationUsingLeadingPionHighEfficiency = copy.deepcopy(pFRecoTauDiscriminationByIsolationUsingLeadingPion) 00049 pfRecoTauDiscriminationByIsolationUsingLeadingPionHighEfficiency.PFTauProducer = 'pfRecoTauProducerHighEfficiency' 00050 00051 pfRecoTauDiscriminationByTrackIsolationUsingLeadingPionHighEfficiency = copy.deepcopy(pFRecoTauDiscriminationByTrackIsolationUsingLeadingPion) 00052 pfRecoTauDiscriminationByTrackIsolationUsingLeadingPionHighEfficiency.PFTauProducer = 'pfRecoTauProducerHighEfficiency' 00053 00054 pfRecoTauDiscriminationByECALIsolationUsingLeadingPionHighEfficiency = copy.deepcopy(pFRecoTauDiscriminationByECALIsolationUsingLeadingPion) 00055 pfRecoTauDiscriminationByECALIsolationUsingLeadingPionHighEfficiency.PFTauProducer = 'pfRecoTauProducerHighEfficiency' 00056 00057 #copying discriminator against electrons and muons 00058 pfRecoTauDiscriminationAgainstElectronHighEfficiency = copy.deepcopy(pFRecoTauDiscriminationAgainstElectron) 00059 pfRecoTauDiscriminationAgainstElectronHighEfficiency.PFTauProducer = 'pfRecoTauProducerHighEfficiency' 00060 00061 pfRecoTauDiscriminationAgainstMuonHighEfficiency = copy.deepcopy(pFRecoTauDiscriminationAgainstMuon) 00062 pfRecoTauDiscriminationAgainstMuonHighEfficiency.PFTauProducer = 'pfRecoTauProducerHighEfficiency' 00063 00064