File indexing completed on 2024-04-06 12:31:48
0001 {% extends "base.html" %}
0002
0003 {% block content %}
0004
0005 {% block header %}
0006 <div class="span-20"><h1>{{ dir_name }}</h1></div>
0007 <div class="span-1"><h1><a href="{% if static_html %}{{ base_path }}{% else %}/{{ db_name }}{% endif %}/{{ release_title }}/{{ st_test }}/{% if args %}{{ file_id }}/{% endif %}{% for arg in args %}{% if not loop.last %}{{ arg }}/{% endif %}{% endfor %}{% if threshold %}?threshold={{ threshold }}{% endif %}">..</a></h1></div>
0008 <div class="span-3 last"><img width="54" hight="54" class="top right"
0009 src="http://cms-service-reldqm.web.cern.ch/cms-service-reldqm/style/CMS.gif"></div>
0010 <hr>
0011 {% if parent_name %}
0012 <h2 class="alt">{{ parent_name }}</h2>
0013 <hr>
0014 {% endif %}
0015 {% endblock %}
0016
0017 {% block directory_summary %}
0018 <div class="span-8"><h3>Summary</h3><p>
0019 <span class="caps alt">{{ total }} comparisons:</span></p>
0020 <ul>
0021 <li><span class="caps">Success: {{ success }}% ({{ successes }})</span></li>
0022 <li><span class="caps">Null: {{ null }}% ({{ nulls }})</span></li>
0023 <li><span class="caps">Fail: {{ fail }}% ({{ fails }})</span></li>
0024 </ul>
0025 <a href="http://cmsweb.cern.ch/dqm/relval/start?runnr={{run1}};dataset=/{{sample1}}/{{release1}}/DQMIO;sampletype=offline_data;filter=all;referencepos=on-side;referenceshow=all;referencenorm=True;referenceobj1=other:{{run2}}:/{{sample2}}/{{release2}}/DQMIO:;referenceobj2=none;referenceobj3=none;referenceobj4=none;search=;striptype=object;stripruns=;stripaxis=run;stripomit=none;workspace=Everything;size=M;focus=;zoom=no;">To the DQM GUI...</a>
0026 </div>
0027 <div class="span-5 colborder">
0028 <img class="top right" src="https://chart.googleapis.com/chart?cht=p3&chco=00FF00|FFFF00|FF0000&chs=200x200&chd=t:{{ success }},{{ null }},{{ fail }}">
0029 </div>
0030 <div class="span-9 last">
0031 <h3>Releases:</h3>
0032 <ul>
0033 <li><p>{{ release1 }}</p></li>
0034 <li><p>{{ release2 }}</p></li>
0035 </ul>
0036 <h3>Statistical Test (Pvalue threshold):</h3>
0037 <p><ul><li>
0038 <div class="caps" style="display: inline-block;width: 100px;">{{ st_test }} (<label id="threshold"></label>)</div>{% if not static_html %}
0039 <span id="slider" class='ui-slider ui-widget ui-widget-content ui-corner-all'></span>
0040 <input type="button" class="defaultbtn" value="Default" title="">
0041 {% endif %}
0042 </li></ul></p>
0043 </div>
0044 <hr>
0045 {% endblock %}
0046
0047 {% block subdirectories %}
0048 {% if subdirs %}
0049 <div class="span-20 colborder">
0050 <h2 class="alt">Sub-Directories</h2>
0051 {% for name, total, successes, nulls, fails, success, null, fail in subdirs %}
0052 <div class="span-4 prepend-2 colborder"><h3>{{ name }}</h3></div>
0053 <div class="span-7"><p><span class="caps alt">{{ total }} comparisons:</span></p>
0054 <ul>
0055 {% if successes %}
0056 <li><span class="caps">Success: {{ success }}% ({{ successes }})</span></li>
0057 {% endif %}
0058 {% if nulls %}
0059 <li><span class="caps">Null: {{ null }}% ({{ nulls }})</span></li>
0060 {% endif %}
0061 {% if fails %}
0062 <li><span class="caps">Fail: {{ fail }}% ({{ fails }})</span></li>
0063 {% endif %}
0064 </ul>
0065 </div>
0066 <div class="span-6 last"><a href="{{ file_id }}/{% if static_html %}{% endif %}{{ name }}{% if static_html %}.html{% endif %}{% if threshold
0067 %}?threshold={{ threshold }}{% endif %}"><img class="top right"
0068 src="https://chart.googleapis.com/chart?cht=p3&chco=00FF00|FFFF00|FF0000&chs=150x100&chd=t:{{ success }},{{ null }},{{ fail }}"></a>
0069 </div>
0070 <hr>
0071 {% endfor %}
0072 </div>
0073 {% endif %}
0074 {% endblock %}
0075
0076
0077 {% block failed_comparisons %}
0078 {% if failed_histos %}
0079 <div class="span-20"><h2 class="alt">Failing Comparisons</h2></div>
0080 {% endif %}
0081 {% for name, p_value, url1, url2, overlay in failed_histos %}
0082 <div class="span-6 colborder {% if loop.index is divisibleby 3 %}last{% endif %}"><p>{{ name }}</p>
0083 <p class="alt">Chi2: {{ p_value }}</p>
0084 <div><a href="{{ url1 }}" class="black_link">{{ release1 }}</a></div>
0085 <div><a href="{{ url2 }}">{{ release2 }}</a></div>
0086 <a href="{{ overlay }}"><img class="top center fail" src="{{ overlay }}"></a>
0087 </div>
0088 {% endfor %}
0089 {% if failed_histos %}
0090 <hr>
0091 {% endif %}
0092 {% endblock %}
0093
0094 {% block successful_comparisons %}
0095 {% if successful_histos %}
0096 <div class="span-20"><h2 class="alt">Successful Comparisons</h2></div>
0097 {% for name, p_value, url1, url2, overlay in successful_histos %}
0098 <div class="span-6 colborder {% if loop.index is divisibleby 3 %}last{% endif %}"><p>{{ name }}</p>
0099 <p class="alt">Chi2: {{ p_value }}</p>
0100 <div><a href="{{ url1 }}" class="black_link">{{ release1 }}</a></div>
0101 <div><a href="{{ url2 }}">{{ release2 }}</a></div>
0102 <a href="{{ overlay }}"><img class="top center succes" src="{{ overlay }}"></a>
0103 </div>
0104 {% endfor %}
0105 <hr>
0106 {% endif %}
0107 {% endblock %}
0108
0109 {% block null_comparisons %}
0110 {% if null_histos %}
0111 <div class="span-20"><h2 class="alt">Null Comparisons</h2></div>
0112 {% for name, p_value, url1, url2, overlay in null_histos %}
0113 <div class="span-6 colborder {% if loop.index is divisibleby 3 %}last{% endif %}"><p>{{ name }}</p>
0114 <p class="alt">Chi2: {{ p_value }}</p>
0115 <div><a href="{{ url1 }}" class="black_link">{{ release1 }}</a></div>
0116 <div><a href="{{ url2 }}">{{ release2 }}</a></div>
0117 <a href="{{ overlay }}"><img class="top center null" src="{{ overlay }}"></a>
0118 </div>
0119 {% endfor %}
0120 <hr>
0121 {% endif %}
0122 {% endblock %}
0123
0124 {% block ranks_summary %}
0125 {# Only if directory is RootFileComparison directory #}
0126 {% endblock %}
0127
0128 {% endblock %}