HiggsAnalysis-KITHiggsToTauTau
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros
makePlots_genCPPlots_1 Namespace Reference

Variables

tuple log = logging.getLogger(__name__)
 
tuple parser
 
string help = "Input."
 
string default = "$CMSSW_BASE/src/plots/genCP_plots/"
 
tuple args = parser.parse_args()
 
list w_dy1 = ["((OneProngChargedPart1PdgId == 211 && OneProngChargedPart2PdgId == -211) && (Tau1OneProngsSize == 2 && Tau2OneProngsSize == 2) && (TauMProngEnergy >= 0.55 && TauPProngEnergy >= 0.55))"]
 
list w_dy2 = ["((OneProngChargedPart1PdgId != -999 && OneProngChargedPart1PdgId != 11 && OneProngChargedPart1PdgId != 13 && OneProngChargedPart2PdgId != -999 && OneProngChargedPart2PdgId != 11 && OneProngChargedPart2PdgId != 13) && (Tau1OneProngsSize == 2 && Tau2OneProngsSize == 2) && (TauMProngEnergy >= 0.55 && TauPProngEnergy >= 0.55))"]
 
list w_dy3 = ["((abs(OneProngChargedPart1PdgId) != 999 && abs(OneProngChargedPart1PdgId) != 11 && abs(OneProngChargedPart1PdgId) != 13 && abs(OneProngChargedPart2PdgId) == 11 || abs(OneProngChargedPart2PdgId) == 13) && (Tau1OneProngsSize == 2 && Tau2OneProngsSize == 3) && (TauMProngEnergy >= 0.44 && TauPProngEnergy >= 0.44))"]
 
list w_dy4 = ["((OneProngChargedPart1PdgId == -11 || OneProngChargedPart1PdgId == -13 && OneProngChargedPart2PdgId == 11 || OneProngChargedPart2PdgId == 13) && (Tau1OneProngsSize == 3 && Tau2OneProngsSize == 3) && (TauMProngEnergy >= 0.44 && TauPProngEnergy >= 0.44))"]
 
list w_dy = [w_dy1,w_dy2,w_dy3,w_dy4]
 
list w1 = ["tauSpinnerWeight000","tauSpinnerWeight025","tauSpinnerWeight050","tauSpinnerWeight075","tauSpinnerWeight100"]
 
list w_pp
 
list w_hh
 
list w_hl
 
list w_ll
 
list w_evenandodd = [[w_pp[0],w_dy1,w_dy1],[w_hh[0],w_dy2,w_dy2],[w_hl[0],w_dy3,w_dy3],[w_ll[0],w_dy4,w_dy4]]
 
list w = [w_pp,w_hh,w_hl,w_ll]
 
list names = ["_pionpion","_hadronhadron","_hadronlepton","_leptonlepton"]
 
list names_dy = ["_dypipi","_dyhh","_dyhl","_dyll"]
 
list nicks = ["alpha000","alpha025","alpha050","alpha075","alpha100"]
 
list colors = [ "#ff2400","#0020c2","#4cc417","#a74ac7","#3bb9ff"]
 
list colors_evenandodd = ["#ff2400","#3bb9ff","#4cc417"]
 
list nicks_evenandodd = ["alpha000","alpha100","DYbkg"]
 
list plot_configs = []
 
tuple config1 = jsonTools.JsonDict(os.path.expandvars("$CMSSW_BASE/src/HiggsAnalysis/KITHiggsToTauTau/data/plots/configs/gen_CP/phiCP.json"))
 
tuple config2 = jsonTools.JsonDict(os.path.expandvars("$CMSSW_BASE/src/HiggsAnalysis/KITHiggsToTauTau/data/plots/configs/gen_CP/phiCPevenandodd.json"))
 

Variable Documentation

tuple makePlots_genCPPlots_1.args = parser.parse_args()
list makePlots_genCPPlots_1.colors = [ "#ff2400","#0020c2","#4cc417","#a74ac7","#3bb9ff"]
list makePlots_genCPPlots_1.colors_evenandodd = ["#ff2400","#3bb9ff","#4cc417"]
tuple makePlots_genCPPlots_1.config1 = jsonTools.JsonDict(os.path.expandvars("$CMSSW_BASE/src/HiggsAnalysis/KITHiggsToTauTau/data/plots/configs/gen_CP/phiCP.json"))
tuple makePlots_genCPPlots_1.config2 = jsonTools.JsonDict(os.path.expandvars("$CMSSW_BASE/src/HiggsAnalysis/KITHiggsToTauTau/data/plots/configs/gen_CP/phiCPevenandodd.json"))
string makePlots_genCPPlots_1.default = "$CMSSW_BASE/src/plots/genCP_plots/"
string makePlots_genCPPlots_1.help = "Input."
tuple makePlots_genCPPlots_1.log = logging.getLogger(__name__)
list makePlots_genCPPlots_1.names = ["_pionpion","_hadronhadron","_hadronlepton","_leptonlepton"]
list makePlots_genCPPlots_1.names_dy = ["_dypipi","_dyhh","_dyhl","_dyll"]
list makePlots_genCPPlots_1.nicks = ["alpha000","alpha025","alpha050","alpha075","alpha100"]
list makePlots_genCPPlots_1.nicks_evenandodd = ["alpha000","alpha100","DYbkg"]
tuple makePlots_genCPPlots_1.parser
Initial value:
1 = argparse.ArgumentParser(description="Make CP plots.",
2  parents=[logger.loggingParser])
list makePlots_genCPPlots_1.plot_configs = []
list makePlots_genCPPlots_1.w = [w_pp,w_hh,w_hl,w_ll]
list makePlots_genCPPlots_1.w1 = ["tauSpinnerWeight000","tauSpinnerWeight025","tauSpinnerWeight050","tauSpinnerWeight075","tauSpinnerWeight100"]
list makePlots_genCPPlots_1.w_dy = [w_dy1,w_dy2,w_dy3,w_dy4]
list makePlots_genCPPlots_1.w_dy1 = ["((OneProngChargedPart1PdgId == 211 && OneProngChargedPart2PdgId == -211) && (Tau1OneProngsSize == 2 && Tau2OneProngsSize == 2) && (TauMProngEnergy >= 0.55 && TauPProngEnergy >= 0.55))"]
list makePlots_genCPPlots_1.w_dy2 = ["((OneProngChargedPart1PdgId != -999 && OneProngChargedPart1PdgId != 11 && OneProngChargedPart1PdgId != 13 && OneProngChargedPart2PdgId != -999 && OneProngChargedPart2PdgId != 11 && OneProngChargedPart2PdgId != 13) && (Tau1OneProngsSize == 2 && Tau2OneProngsSize == 2) && (TauMProngEnergy >= 0.55 && TauPProngEnergy >= 0.55))"]
list makePlots_genCPPlots_1.w_dy3 = ["((abs(OneProngChargedPart1PdgId) != 999 && abs(OneProngChargedPart1PdgId) != 11 && abs(OneProngChargedPart1PdgId) != 13 && abs(OneProngChargedPart2PdgId) == 11 || abs(OneProngChargedPart2PdgId) == 13) && (Tau1OneProngsSize == 2 && Tau2OneProngsSize == 3) && (TauMProngEnergy >= 0.44 && TauPProngEnergy >= 0.44))"]
list makePlots_genCPPlots_1.w_dy4 = ["((OneProngChargedPart1PdgId == -11 || OneProngChargedPart1PdgId == -13 && OneProngChargedPart2PdgId == 11 || OneProngChargedPart2PdgId == 13) && (Tau1OneProngsSize == 3 && Tau2OneProngsSize == 3) && (TauMProngEnergy >= 0.44 && TauPProngEnergy >= 0.44))"]
list makePlots_genCPPlots_1.w_evenandodd = [[w_pp[0],w_dy1,w_dy1],[w_hh[0],w_dy2,w_dy2],[w_hl[0],w_dy3,w_dy3],[w_ll[0],w_dy4,w_dy4]]
list makePlots_genCPPlots_1.w_hh
Initial value:
1 = ["( tauSpinnerWeight000 * tauSpinnerWeightInvSample * ((OneProngChargedPart1PdgId != -999 && OneProngChargedPart1PdgId != 11 && OneProngChargedPart1PdgId != 13 && OneProngChargedPart2PdgId != -999 && OneProngChargedPart2PdgId != 11 && OneProngChargedPart2PdgId != 13) && (Tau1OneProngsSize == 2 && Tau2OneProngsSize == 2) && (TauMProngEnergy >= 0.55 && TauPProngEnergy >= 0.55)))",
2  "( tauSpinnerWeight025 * tauSpinnerWeightInvSample * ((OneProngChargedPart1PdgId != -999 && OneProngChargedPart1PdgId != 11 && OneProngChargedPart1PdgId != 13 && OneProngChargedPart2PdgId != -999 && OneProngChargedPart2PdgId != 11 && OneProngChargedPart2PdgId != 13) && (Tau1OneProngsSize == 2 && Tau2OneProngsSize == 2) && (TauMProngEnergy >= 0.55 && TauPProngEnergy >= 0.55)))",
3  "( tauSpinnerWeight050 * tauSpinnerWeightInvSample * ((OneProngChargedPart1PdgId != -999 && OneProngChargedPart1PdgId != 11 && OneProngChargedPart1PdgId != 13 && OneProngChargedPart2PdgId != -999 && OneProngChargedPart2PdgId != 11 && OneProngChargedPart2PdgId != 13) && (Tau1OneProngsSize == 2 && Tau2OneProngsSize == 2) && (TauMProngEnergy >= 0.55 && TauPProngEnergy >= 0.55)))",
4  "( tauSpinnerWeight075 * tauSpinnerWeightInvSample * ((OneProngChargedPart1PdgId != -999 && OneProngChargedPart1PdgId != 11 && OneProngChargedPart1PdgId != 13 && OneProngChargedPart2PdgId != -999 && OneProngChargedPart2PdgId != 11 && OneProngChargedPart2PdgId != 13) && (Tau1OneProngsSize == 2 && Tau2OneProngsSize == 2) && (TauMProngEnergy >= 0.55 && TauPProngEnergy >= 0.55)))",
5  "( tauSpinnerWeight100 * tauSpinnerWeightInvSample * ((OneProngChargedPart1PdgId != -999 && OneProngChargedPart1PdgId != 11 && OneProngChargedPart1PdgId != 13 && OneProngChargedPart2PdgId != -999 && OneProngChargedPart2PdgId != 11 && OneProngChargedPart2PdgId != 13) && (Tau1OneProngsSize == 2 && Tau2OneProngsSize == 2) && (TauMProngEnergy >= 0.55 && TauPProngEnergy >= 0.55)))"]
list makePlots_genCPPlots_1.w_hl
Initial value:
1 = ["( tauSpinnerWeight000 * tauSpinnerWeightInvSample * ((abs(OneProngChargedPart1PdgId) != 999 && abs(OneProngChargedPart1PdgId) != 11 && abs(OneProngChargedPart1PdgId) != 13 && abs(OneProngChargedPart2PdgId) == 11 || abs(OneProngChargedPart2PdgId) == 13) && (Tau1OneProngsSize == 2 && Tau2OneProngsSize == 3) && (TauMProngEnergy >= 0.44 && TauPProngEnergy >= 0.44)))",
2  "( tauSpinnerWeight025 * tauSpinnerWeightInvSample * ((abs(OneProngChargedPart1PdgId) != 999 && abs(OneProngChargedPart1PdgId) != 11 && abs(OneProngChargedPart1PdgId) != 13 && abs(OneProngChargedPart2PdgId) == 11 || abs(OneProngChargedPart2PdgId) == 13) && (Tau1OneProngsSize == 2 && Tau2OneProngsSize == 3) && (TauMProngEnergy >= 0.44 && TauPProngEnergy >= 0.44)))",
3  "( tauSpinnerWeight050 * tauSpinnerWeightInvSample * ((abs(OneProngChargedPart1PdgId) != 999 && abs(OneProngChargedPart1PdgId) != 11 && abs(OneProngChargedPart1PdgId) != 13 && abs(OneProngChargedPart2PdgId) == 11 || abs(OneProngChargedPart2PdgId) == 13) && (Tau1OneProngsSize == 2 && Tau2OneProngsSize == 3) && (TauMProngEnergy >= 0.44 && TauPProngEnergy >= 0.44)))",
4  "( tauSpinnerWeight075 * tauSpinnerWeightInvSample * ((abs(OneProngChargedPart1PdgId) != 999 && abs(OneProngChargedPart1PdgId) != 11 && abs(OneProngChargedPart1PdgId) != 13 && abs(OneProngChargedPart2PdgId) == 11 || abs(OneProngChargedPart2PdgId) == 13) && (Tau1OneProngsSize == 2 && Tau2OneProngsSize == 3) && (TauMProngEnergy >= 0.44 && TauPProngEnergy >= 0.44)))",
5  "( tauSpinnerWeight100 * tauSpinnerWeightInvSample * ((abs(OneProngChargedPart1PdgId) != 999 && abs(OneProngChargedPart1PdgId) != 11 && abs(OneProngChargedPart1PdgId) != 13 && abs(OneProngChargedPart2PdgId) == 11 || abs(OneProngChargedPart2PdgId) == 13) && (Tau1OneProngsSize == 2 && Tau2OneProngsSize == 3) && (TauMProngEnergy >= 0.44 && TauPProngEnergy >= 0.44)))"]
list makePlots_genCPPlots_1.w_ll
Initial value:
1 = ["( tauSpinnerWeight000 * tauSpinnerWeightInvSample * ((OneProngChargedPart1PdgId == 11 || OneProngChargedPart1PdgId == 13 && OneProngChargedPart2PdgId == -11 || OneProngChargedPart2PdgId == -13) && (Tau1OneProngsSize == 3 && Tau2OneProngsSize == 3) && (TauMProngEnergy >= 0.44 && TauPProngEnergy >= 0.44)))",
2  "( tauSpinnerWeight025 * tauSpinnerWeightInvSample * ((OneProngChargedPart1PdgId == 11 || OneProngChargedPart1PdgId == 13 && OneProngChargedPart2PdgId == -11 || OneProngChargedPart2PdgId == -13) && (Tau1OneProngsSize == 3 && Tau2OneProngsSize == 3) && (TauMProngEnergy >= 0.44 && TauPProngEnergy >= 0.44)))",
3  "( tauSpinnerWeight050 * tauSpinnerWeightInvSample * ((OneProngChargedPart1PdgId == 11 || OneProngChargedPart1PdgId == 13 && OneProngChargedPart2PdgId == -11 || OneProngChargedPart2PdgId == -13) && (Tau1OneProngsSize == 3 && Tau2OneProngsSize == 3) && (TauMProngEnergy >= 0.44 && TauPProngEnergy >= 0.44)))",
4  "( tauSpinnerWeight075 * tauSpinnerWeightInvSample * ((OneProngChargedPart1PdgId == 11 || OneProngChargedPart1PdgId == 13 && OneProngChargedPart2PdgId == -11 || OneProngChargedPart2PdgId == -13) && (Tau1OneProngsSize == 3 && Tau2OneProngsSize == 3) && (TauMProngEnergy >= 0.44 && TauPProngEnergy >= 0.44)))",
5  "( tauSpinnerWeight100 * tauSpinnerWeightInvSample * ((OneProngChargedPart1PdgId == 11 || OneProngChargedPart1PdgId == 13 && OneProngChargedPart2PdgId == -11 || OneProngChargedPart2PdgId == -13) && (Tau1OneProngsSize == 3 && Tau2OneProngsSize == 3) && (TauMProngEnergy >= 0.44 && TauPProngEnergy >= 0.44)))"]
list makePlots_genCPPlots_1.w_pp
Initial value:
1 = ["( tauSpinnerWeight000 * tauSpinnerWeightInvSample * ((OneProngChargedPart1PdgId == -211 && OneProngChargedPart2PdgId == 211) && (Tau1OneProngsSize == 2 && Tau2OneProngsSize == 2) && (TauMProngEnergy >= 0.55 && TauPProngEnergy >= 0.55)))",
2  "( tauSpinnerWeight025 * tauSpinnerWeightInvSample * ((OneProngChargedPart1PdgId == -211 && OneProngChargedPart2PdgId == 211) && (Tau1OneProngsSize == 2 && Tau2OneProngsSize == 2) && (TauMProngEnergy >= 0.55 && TauPProngEnergy >= 0.55)))",
3  "( tauSpinnerWeight050 * tauSpinnerWeightInvSample * ((OneProngChargedPart1PdgId == -211 && OneProngChargedPart2PdgId == 211) && (Tau1OneProngsSize == 2 && Tau2OneProngsSize == 2) && (TauMProngEnergy >= 0.55 && TauPProngEnergy >= 0.55)))",
4  "( tauSpinnerWeight075 * tauSpinnerWeightInvSample * ((OneProngChargedPart1PdgId == -211 && OneProngChargedPart2PdgId == 211) && (Tau1OneProngsSize == 2 && Tau2OneProngsSize == 2) && (TauMProngEnergy >= 0.55 && TauPProngEnergy >= 0.55)))",
5  "( tauSpinnerWeight100 * tauSpinnerWeightInvSample * ((OneProngChargedPart1PdgId == -211 && OneProngChargedPart2PdgId == 211) && (Tau1OneProngsSize == 2 && Tau2OneProngsSize == 2) && (TauMProngEnergy >= 0.55 && TauPProngEnergy >= 0.55)))"]