ATLAS Offline Software
Loading...
Searching...
No Matches
MuonValidation_CreateSlides_config.py
Go to the documentation of this file.
1# Copyright (C) 2002-2017 CERN for the benefit of the ATLAS collaboration
2
3#by Dan Mori
4#config file for CreateMuonValidationSlides.py
5#all strings here are for LaTeX
6
7from collections import OrderedDict
8
9texfile = 'muon_validation.tex' #The output pdf file name will be the same
10
11#dataset info
12RefVersion = 'ttbar'
13TestVersion = 'Zprime'
14RefDataset = 'r6059'
15TestDataset = 'r6059'
16RefDescription = ''
17TestDescription = ''
18
19#titlepage info
20Title = 'Muon Validation of {0}'.format( TestVersion, RefVersion )
21Subtitle = ''
22Author = 'Me'
23ShortAuthor = 'Me'
24Institute = 'CERN'
25ShortInstitute = 'CERN'
26Date = r'\today'
27
28ShortTitle = r'\textcolor{red}{Test: %s} \textcolor{black}{Ref: %s}'%( TestVersion, RefVersion ) #this will be in the footline of each slide - shows versions of test/ref in red/black
29
30#intro slide
31Intro = ''#'Everything looks good'
32
33#summary slide
34Summary = []
35#Summary = [
36# 'item 1',
37# 'item 2',
38# 'item 3' ]
39
40
45
46PlotPages = OrderedDict()
47PlotComments = {}
48
49#kinematics
50PlotPages[ r'Kinematics - $p_T$, $\eta$, $\phi$' ] = [
51 'Muons/All/reco/AllMuons/kinematics/Muons_All_reco_AllMuons_kinematics_pt',
52 'Muons/All/reco/AllMuons/kinematics/Muons_All_reco_AllMuons_kinematics_eta',
53 'Muons/All/reco/AllMuons/kinematics/Muons_All_reco_AllMuons_kinematics_phi' ]
54#PlotComments[ r'Kinematics - $p_T$, $\eta$, $\phi$' ] = 'PUT COMMENTS HERE IF YOU WANT'
55
56PlotPages[ r'Kinematics - $d_0$, $z_0$' ] = [
57 'Muons/All/reco/AllMuons/parameters/Muons_All_reco_AllMuons_parameters_d0',
58 'Muons/All/reco/AllMuons/parameters/Muons_All_reco_AllMuons_parameters_z0' ]
59#PlotComments[ r'Kinematics - $d_0$, $z_0$' ] = 'PUT COMMENTS HERE IF YOU WANT'
60
61#layers
62PlotPages[ 'Precision Layers' ] = [
63 'Muons/All/reco/AllMuons/hits/Muons_All_reco_AllMuons_hits_nprecLayers',
64 'Muons/All/reco/AllMuons/hits/Muons_All_reco_AllMuons_hits_nphiLayers' ]
65#PlotComments[ 'Precision Layers' ] = 'PUT COMMENTS HERE IF YOU WANT'
66
67#hits
68PlotPages[ 'Precision Hits - Inner' ] = [
69 'Muons/All/reco/AllMuons/hits/Muons_All_reco_AllMuons_hits_innersmallhits',
70 'Muons/All/reco/AllMuons/hits/Muons_All_reco_AllMuons_hits_innerlargehits' ]
71#PlotComments[ 'Precision Hits - Inner' ] = 'PUT COMMENTS HERE IF YOU WANT'
72
73PlotPages[ 'Precision Hits - Middle' ] = [
74 'Muons/All/reco/AllMuons/hits/Muons_All_reco_AllMuons_hits_middlesmallhits',
75 'Muons/All/reco/AllMuons/hits/Muons_All_reco_AllMuons_hits_middlelargehits' ]
76#PlotComments[ 'Precision Hits - Middle' ] = 'PUT COMMENTS HERE IF YOU WANT'
77
78PlotPages[ 'Precision Hits - Outer' ] = [
79 'Muons/All/reco/AllMuons/hits/Muons_All_reco_AllMuons_hits_outersmallhits',
80 'Muons/All/reco/AllMuons/hits/Muons_All_reco_AllMuons_hits_outerlargehits' ]
81#PlotComments[ 'Precision Hits - Outer' ] = 'PUT COMMENTS HERE IF YOU WANT'
82
83#isolation
84PlotPages[ r'Isolation - $p_T$-cone / $p_T$' ] = [
85 'Muons/All/reco/AllMuons/isolation/Muons_All_reco_AllMuons_isolation_ptcone20rel',
86 'Muons/All/reco/AllMuons/isolation/Muons_All_reco_AllMuons_isolation_ptcone30rel',
87 'Muons/All/reco/AllMuons/isolation/Muons_All_reco_AllMuons_isolation_ptcone40rel' ]
88#PlotComments[ r'Isolation - $p_T$-cone / $p_T$' ] = 'PUT COMMENTS HERE IF YOU WANT'
89
90PlotPages[ r'Isolation - $E_T$-cone / $p_T$' ] = [
91 'Muons/All/reco/AllMuons/isolation/Muons_All_reco_AllMuons_isolation_etcone20rel',
92 'Muons/All/reco/AllMuons/isolation/Muons_All_reco_AllMuons_isolation_etcone30rel',
93 'Muons/All/reco/AllMuons/isolation/Muons_All_reco_AllMuons_isolation_etcone40rel' ]
94#PlotComments[ r'Isolation - $E_T$-cone / $p_T$' ] = 'PUT COMMENTS HERE IF YOU WANT'
95
96#chi^2
97PlotPages[ 'Track Fit Quality' ] = [
98 'Muons/All/reco/AllMuons/parameters/Muons_All_reco_AllMuons_parameters_tchi2',
99 'Muons/All/reco/AllMuons/parameters/Muons_All_reco_AllMuons_parameters_chi2ndof' ]
100#PlotComments[ 'Track Fit Quality' ] = 'PUT COMMENTS HERE IF YOU WANT'
101
102#Resolution
103PlotPages[ 'Resolution (Combined)' ] = [
104 'Muons/Prompt/matched/MuidCo/resolution/Muons_Prompt_matched_MuidCo_resolution_Res_PtResol_vs_pT',
105 'Muons/Prompt/matched/MuidCo/resolution/Muons_Prompt_matched_MuidCo_resolution_Res_PtResol_vs_eta',
106 'Muons/Prompt/matched/MuidCo/resolution/Muons_Prompt_matched_MuidCo_resolution_Res_PtResol_vs_phi' ]
107#PlotComments[ 'Resolution (Combined)' ] = 'PUT COMMENTS HERE IF YOU WANT'
108
109# PlotPages[ 'Resolution (ID)' ] = [
110# 'Muons/Prompt/matched/MuidCo/resolution/Muons_Prompt_matched_MuidCo_resolution_ResID_PtResol_vs_pT',
111# 'Muons/Prompt/matched/MuidCo/resolution/Muons_Prompt_matched_MuidCo_resolution_ResID_PtResol_vs_eta',
112# 'Muons/Prompt/matched/MuidCo/resolution/Muons_Prompt_matched_MuidCo_resolution_ResID_PtResol_vs_phi' ]
113# #PlotComments[ 'Resolution (ID)' ] = 'PUT COMMENTS HERE IF YOU WANT'
114
115# PlotPages[ 'Resolution (MS)' ] = [
116# 'Muons/Prompt/matched/MuidCo/resolution/Muons_Prompt_matched_MuidCo_resolution_ResMS_PtResol_vs_pT',
117# 'Muons/Prompt/matched/MuidCo/resolution/Muons_Prompt_matched_MuidCo_resolution_ResMS_PtResol_vs_eta',
118# 'Muons/Prompt/matched/MuidCo/resolution/Muons_Prompt_matched_MuidCo_resolution_ResMS_PtResol_vs_phi' ]
119# #PlotComments[ 'Resolution (MS)' ] = 'PUT COMMENTS HERE IF YOU WANT'
120
121#Momentum scale
122PlotPages[ r'$p_T$ Scale (Combined)' ] = [
123 'Muons/Prompt/matched/MuidCo/resolution/Muons_Prompt_matched_MuidCo_resolution_Res_PtScale_vs_pT',
124 'Muons/Prompt/matched/MuidCo/resolution/Muons_Prompt_matched_MuidCo_resolution_Res_PtScale_vs_eta',
125 'Muons/Prompt/matched/MuidCo/resolution/Muons_Prompt_matched_MuidCo_resolution_Res_PtScale_vs_phi' ]
126#PlotComments[ r'$p_T$ Scale (Combined)' ] = 'PUT COMMENTS HERE IF YOU WANT'
127
128# PlotPages[ r'$p_T$ Scale (ID)' ] = [
129# 'Muons/Prompt/matched/MuidCo/resolution/Muons_Prompt_matched_MuidCo_resolution_ResID_PtScale_vs_pT',
130# 'Muons/Prompt/matched/MuidCo/resolution/Muons_Prompt_matched_MuidCo_resolution_ResID_PtScale_vs_eta',
131# 'Muons/Prompt/matched/MuidCo/resolution/Muons_Prompt_matched_MuidCo_resolution_ResID_PtScale_vs_phi' ]
132# #PlotComments[ r'$p_T$ Scale (ID)' ] = 'PUT COMMENTS HERE IF YOU WANT'
133
134# PlotPages[ r'$p_T$ Scale (MS)' ] = [
135# 'Muons/Prompt/matched/MuidCo/resolution/Muons_Prompt_matched_MuidCo_resolution_ResMS_PtScale_vs_pT',
136# 'Muons/Prompt/matched/MuidCo/resolution/Muons_Prompt_matched_MuidCo_resolution_ResMS_PtScale_vs_eta',
137# 'Muons/Prompt/matched/MuidCo/resolution/Muons_Prompt_matched_MuidCo_resolution_ResMS_PtScale_vs_phi' ]
138# #PlotComments[ r'$p_T$ Scale (MS)' ] = 'PUT COMMENTS HERE IF YOU WANT'
139
140#Pulls
141PlotPages[ r'Track Pull Plots - $q/P$, $\theta$, $\phi$' ] = [
142 'Muons/All/matched/AllMuons/Pulls/Muons_All_matched_AllMuons_Pulls_Pull_qOverP',
143 'Muons/All/matched/AllMuons/Pulls/Muons_All_matched_AllMuons_Pulls_Pull_theta',
144 'Muons/All/matched/AllMuons/Pulls/Muons_All_matched_AllMuons_Pulls_Pull_phi' ]
145#PlotComments[ r'Track Pull Plots - $q/P$, $\theta$, $\phi$' ] = 'PUT COMMENTS HERE IF YOU WANT'
146
147PlotPages[ r'Track Pull Plots - $d_0$, $z_0$' ] = [
148 'Muons/All/matched/AllMuons/Pulls/Muons_All_matched_AllMuons_Pulls_Pull_d0',
149 'Muons/All/matched/AllMuons/Pulls/Muons_All_matched_AllMuons_Pulls_Pull_z0' ]
150#PlotComments[ r'Track Pull Plots - $d_0$, $z_0$' ] = 'PUT COMMENTS HERE IF YOU WANT'
151
152# #Efficiency
153PlotPages[ 'Efficiency' ] = [
154 'Muons/All/matched/AllMuons/efficiency/Muons_All_matched_AllMuons_efficiency_pt',
155 'Muons/All/matched/AllMuons/efficiency/Muons_All_matched_AllMuons_efficiency_eta',
156 'Muons/All/matched/AllMuons/efficiency/Muons_All_matched_AllMuons_efficiency_phi' ]
157#PlotComments[ 'Efficiency' ] = 'PUT COMMENTS HERE IF YOU WANT'
158
159#Purity
160PlotPages[ 'Purity' ] = [
161 'Muons/All/matched/AllMuons/purity/Muons_All_matched_AllMuons_purity_pt',
162 'Muons/All/matched/AllMuons/purity/Muons_All_matched_AllMuons_purity_eta',
163 'Muons/All/matched/AllMuons/purity/Muons_All_matched_AllMuons_purity_phi' ]
164#PlotComments[ 'Purity' ] = 'PUT COMMENTS HERE IF YOU WANT'
165
166# #Reco fraction
167# PlotPages[ 'Reco Fraction - Inflight Muons' ] = [
168# 'Muons/InFlight/reco/AllMuons/RecoFraction/Muons_InFlight_reco_AllMuons_RecoFraction_pt',
169# 'Muons/InFlight/reco/AllMuons/RecoFraction/Muons_InFlight_reco_AllMuons_RecoFraction_eta',
170# 'Muons/InFlight/reco/AllMuons/RecoFraction/Muons_InFlight_reco_AllMuons_RecoFraction_phi' ]
171# #PlotComments[ 'Reco Fraction - Inflight Muons' ] = 'PUT COMMENTS HERE IF YOU WANT'
172
173# PlotPages[ 'Reco Fraction - NonIsolated Muons' ] = [
174# 'Muons/NonIsolated/reco/AllMuons/RecoFraction/Muons_NonIsolated_reco_AllMuons_RecoFraction_pt',
175# 'Muons/NonIsolated/reco/AllMuons/RecoFraction/Muons_NonIsolated_reco_AllMuons_RecoFraction_eta',
176# 'Muons/NonIsolated/reco/AllMuons/RecoFraction/Muons_NonIsolated_reco_AllMuons_RecoFraction_phi' ]
177# # PlotComments[ 'Reco Fraction - NonIsolated Muons' ] = 'PUT COMMENTS HERE IF YOU WANT'
178
179PlotPages[ 'Reco Fraction - Unmatched All Authors' ] = [
180 'Muons/UnmatchedRecoMuons/RecoFraction/Muons_UnmatchedRecoMuons__RecoFraction_pt',
181 'Muons/UnmatchedRecoMuons/RecoFraction/Muons_UnmatchedRecoMuons__RecoFraction_eta',
182 'Muons/UnmatchedRecoMuons/RecoFraction/Muons_UnmatchedRecoMuons__RecoFraction_phi' ]
183#PlotComments[ 'Reco Fraction - Unmatched All Authors' ] = 'PUT COMMENTS HERE IF YOU WANT'