<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	xmlns:georss="http://www.georss.org/georss">

<channel>
	<title>CERN Love &#187; presentations</title>
	<atom:link href="http://www.cernlove.org/blog/tag/presentations/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.cernlove.org/blog</link>
	<description>where physics and life collide</description>
	<lastBuildDate>Wed, 07 Dec 2011 22:53:57 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
		<item>
		<title>Behind the scenes: how physics really gets done</title>
		<link>http://www.cernlove.org/blog/2010/03/behind-the-scenes-how-physics-really-gets-done/</link>
		<comments>http://www.cernlove.org/blog/2010/03/behind-the-scenes-how-physics-really-gets-done/#comments</comments>
		<pubDate>Mon, 15 Mar 2010 08:54:46 +0000</pubDate>
		<dc:creator>biglove</dc:creator>
				<category><![CDATA[Science's cutting edge]]></category>
		<category><![CDATA[Indico]]></category>
		<category><![CDATA[laptop]]></category>
		<category><![CDATA[meetings]]></category>
		<category><![CDATA[physics analysis]]></category>
		<category><![CDATA[PowerPoint]]></category>
		<category><![CDATA[presentations]]></category>
		<category><![CDATA[ROOT]]></category>
		<category><![CDATA[slides]]></category>
		<category><![CDATA[tutorial]]></category>

		<guid isPermaLink="false">http://www.cernlove.org/blog/?p=435</guid>
		<description><![CDATA[As a non-physicist, you may think that physicists spend their time writing equations on chalkboards, tweaking complicated machines, or scribbling equations on chalkboards. If you read Dan Brown, you probably think they run around in white lab coats. However, hands-on work involving machines and equipment is often given to undergraduate interns and graduate students, while [...]]]></description>
			<content:encoded><![CDATA[<a href='http://www.cernlove.org/blog/wp-content/uploads/2010/03/Audience1.jpg' ><img src="http://www.cernlove.org/blog/wp-content/uploads/2010/03/Audience1-115x115.jpg" style="border:0; display:block; margin:0 auto .5em auto;" alt="The audience is engrossed." title="The audience is engrossed."/></a>
<p>As a non-physicist, you may think that physicists spend their time writing equations on chalkboards, tweaking complicated machines, or scribbling equations on chalkboards. If you read Dan Brown, you probably think they run around in white lab coats. However, <a href="http://www.cernlove.org/blog/2009/09/mr-electric-brushy-bear">hands-on work involving machines and equipment</a> is often given to undergraduate interns and graduate students, while PhD physicists conduct their work a little differently&#8230;</p>
<ul>
<li>CERN physicists spend most of their work day in meetings, not in labs or their offices.</li>
<li>There are so many meetings that committees have been formed to hold meetings to figure out how to reduce the number of meetings (I am not making this up).</li>
<li>Physics analysis is done on laptops during meetings, because it has to get done sometime, and physicists are always in meetings.</li>
<li>Nobody pays attention to the speaker because they&#8217;re submitting physics analysis jobs and <a href="http://www.cernlove.org/blog/2009/10/the-root-of-all-evil/">creating ugly ROOT graphs</a> on their laptops; they know they can always get the slides later from <a href="http://cdsware.cern.ch/indico">Indico</a>, the conference management tool everybody uses to post their slides.</li>
<li>The presenters know nobody is listening so instead of creating readable PowerPoint slides or learning the most basic presentation skills, they write entire blocks of fully formed text in their PowerPoint slides using miniscule font sizes and read verbatim from the slides in an often inaudible monotone. They know that if anyone wants to see their results, they&#8217;ll just read the slides on Indico later. Generally the presenter faces the screen, with his/her back to the audience.</li>
</ul>
<p>This behavior habitual and completely ingrained. I was once in a tutorial for physicists held in a computer lab, where every seat had a desk with a dedicated computer terminal. The participants all filed into the room, sat down at their computer terminals, got out their laptops, <em>put them in front of the computer terminals</em>, and plugged their laptops in at the same time, blowing the room&#8217;s electrical circuits.</p>
<p><a href="http://www.cernlove.org/blog/wp-content/uploads/2010/03/Audience1.jpg" rel="lightbox[435]" title="The audience is engrossed."><img class="aligncenter size-large wp-image-1792" title="The audience is engrossed." src="http://www.cernlove.org/blog/wp-content/uploads/2010/03/Audience1-600x241.jpg" alt="" width="600" height="241" /></a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.cernlove.org/blog/2010/03/behind-the-scenes-how-physics-really-gets-done/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>The ROOT of all my frustrations</title>
		<link>http://www.cernlove.org/blog/2009/10/the-root-of-all-evil/</link>
		<comments>http://www.cernlove.org/blog/2009/10/the-root-of-all-evil/#comments</comments>
		<pubDate>Fri, 16 Oct 2009 06:00:56 +0000</pubDate>
		<dc:creator>lots-o-love</dc:creator>
				<category><![CDATA[Science's cutting edge]]></category>
		<category><![CDATA[histograms]]></category>
		<category><![CDATA[presentations]]></category>
		<category><![CDATA[ROOT]]></category>
		<category><![CDATA[software frustrations]]></category>

		<guid isPermaLink="false">http://www.cernlove.org/blog/?p=355</guid>
		<description><![CDATA[If you work in high energy physics (HEP) you almost certainly come in contact with some software called ROOT on a very regular basis. ROOT is a collection of tools and a framework of C++ classes developed at CERN specifically for the data collection and processing that many physicists perform.  It defines a &#8220;Tree&#8221; format [...]]]></description>
			<content:encoded><![CDATA[<a href='http://www.cernlove.org/blog/2009/10/the-root-of-all-evil/' ><img src="http://www.cernlove.org/blog/wp-content/uploads/2009/10/root_plot2d-115x115.png" style="border:0; float:left; margin: 0 1em .5em 0;" alt="The ROOT of all my frustrations" title="The ROOT of all my frustrations"/></a>
<p>If you work in high energy physics (HEP) you almost certainly come in contact with some software called <a href="http://root.cern.ch/">ROOT</a> on a very regular basis.  ROOT is a collection of tools and a framework of C++ classes developed at CERN specifically for the data collection and processing that many physicists perform.  It defines a &#8220;Tree&#8221; format designed specifically for HEP data (the name is a play on the name ROOT and not much of a tree in the classic algorithms-and-data-structures sense), it produces nearly all the plots that we show each other at meetings, and it provides a C++ environment that can be used both interactively and compiled.  (There is also a Python interface which I actually use more often these days.)  If you use something every day you are bound to become frustrated with it in some way or another.  Unfortunately, ROOT&#8217;s annoyances are very pernicious:</p>
<ol>
<li>Its default behavior is to produce hideous plots, and</li>
<li>Every now and then you can come up with the simplest of goals (something such as &#8220;set the color of these histograms to red&#8221;) that teases you with the prospect of an easy solution but instead sucks you into a whirlwind of failure that invariably transports you to the <a href="http://root.cern.ch/root/html/ClassIndex.html">colorful land of the ROOT source code</a> where you search for a way home skipping from function call to function call until you find the solution didn&#8217;t make any sense at all but was right in front of you the whole time.  If you are luck enough to reach this point it is probably 4am.</li>
</ol>
<p>These issues frustrate my personality especially because</p>
<ol>
<li>I&#8217;m particular when it comes to aesthetics, and</li>
<li>I&#8217;m a stubborn optimist always willing to stay up just a little bit longer.</li>
</ol>
<p>This post will feature a couple examples of item 1, but the infinitely long scroll of bits that this blog could fill is just barely long enough for the further rants I may produce.</p>
<p>Below is an example of two fitted histograms.  The left is a plot drawn with the default style and the right is using the &#8220;Plain&#8221; style.  There are two main issues with the default style: the uniform gray background makes it an eyesore on almost any white page or white presentation background, and the last time the chamfering and shadow effects were cool was back in 1995.  I have seen <strong>no circumstance</strong> in which the &#8220;Plain&#8221; style on the right wasn&#8217;t a clearly better choice.</p>
<div id="attachment_525" class="wp-caption aligncenter" style="width: 610px"><a href="http://www.cernlove.org/blog/wp-content/uploads/2009/10/root_plot1d.png" rel="lightbox[355]" title="Comparing 1D histograms"><img class="size-medium wp-image-525" title="Comparing 1D histograms" src="http://www.cernlove.org/blog/wp-content/uploads/2009/10/root_plot1d-600x287.png" alt="Histograms plotted with the default (left) and &quot;Plain&quot; (right) styles" width="600" height="287" /></a><p class="wp-caption-text">Histograms plotted with the default (left) and &quot;Plain&quot; (right) styles</p></div>
<p>What&#8217;s madding is the Plain style can be enabled with one simple line of code, and yet after I started using ROOT every day and was immediately struck by these offensive plots I went months between the stages of realizing</p>
<ol>
<li>The backgrounds of my plots are not just a stupid mistake on my part;</li>
<li>I can fix this with five lines of boilerplate code at the top of all my programs;</li>
<li>I can put this code in a configuration file that appears in every directory where I run;</li>
<li>I can set a ROOT path and put this code in a single configuration file for my entire login session; and finally,</li>
<li>That there are perfectly good styles build into the code called &#8220;Plain&#8221; and &#8220;Pub&#8221; that setup every as you wanted it to begin with using a single line of code.</li>
</ol>
<p>These days when I see a presentation with these ugly gray backgrounds I presume the presenter has either not been using ROOT for very long (at least not long enough to produce a publication, since no publication would accept such plots), or they are still on stages 2 or 3 and the plots where made in a hurry.   Both of these scenarios are common.</p>
<p>What&#8217;s even more maddening is that I didn&#8217;t reach stage 5 by reading <a href="http://root.cern.ch/drupal/content/users-guide">the documentation</a>, which really needs to begin with</p>
<blockquote><p><strong>In order for your ROOT plots to not suck</strong> be sure to set a Unix.*.Root.MacroPath: in  your ~/.rootrc file and then add gROOT-&gt;SetStyle(&#8220;Plain&#8221;); to a  rootlogon.C file somewhere in this path.</p></blockquote>
<p>Admittedly, this style setting stuff <strong>is</strong> in the documentation, but a section called &#8220;Create or Modify a Style&#8221; is not one you would read too carefully when you are rushing to make plots for your next presentation.  Instead, I came upon the &#8220;Plain&#8221; and &#8220;Pub&#8221; styles by <a href="http://root.cern.ch/root/html524/src/TStyle.cxx.html#QyE97C">finding them in the source code</a> while on one of those lovely journeys mentioned in item 2 of my opening.</p>
<p>Finally, here is another example of crap that ROOT gives you by default.  It&#8217;s possible the default plot offers some advantages to those who are color blind or to those who are 13 years old and are really trying to piss me off, but otherwise why?  Why?</p>
<div id="attachment_524" class="wp-caption aligncenter" style="width: 610px"><a href="http://www.cernlove.org/blog/wp-content/uploads/2009/10/root_plot2d.png" rel="lightbox[355]" title="Comparing 2D histograms"><img class="size-medium wp-image-524" title="Comparing 2D histograms" src="http://www.cernlove.org/blog/wp-content/uploads/2009/10/root_plot2d-600x287.png" alt="2D histograms plotted with the default palette (left) and SetPalette(1) (right)" width="600" height="287" /></a><p class="wp-caption-text">2D histograms plotted with the default palette (left) and gStyle-&gt;SetPalette(1) (right)</p></div>
]]></content:encoded>
			<wfw:commentRss>http://www.cernlove.org/blog/2009/10/the-root-of-all-evil/feed/</wfw:commentRss>
		<slash:comments>12</slash:comments>
		</item>
	</channel>
</rss>

