Translate

Friday, 7 November 2014

Subversion to github

A big part of the daily routine of a particle physicist is writing code. Unfortunately, we're not particularly well trained for this, so new developments trickle through the system rather slowly. Recently a couple of colleagues and I chose to re-start development of a package that had seen only little activity in a while. The code was hosted on subversion, together with dozens of other packages. For our project, we chose to migrate to github.

So here's a little review on how we got on:

  1. create github dir
  2. checkout old code from svn
  3. check new code into git
  4. commit code
  5. start applying some patches and start coding
At this point a colleague suggested that we should preserve the old commit history from subversion when importing the code. Terrific idea! But we already started coding... I'm lazy, so starting all over is clearly not an option. So here's what I did.
  1. Import the code from subversion into github including the commit history and existing svn branches and tags
  2. checkout the repository with our developments
  3. git log #gives you the history, together with the sha for each commit
  4. git format-patch -4 HEAD # to get patches for the last 4 commits. This creates 4 patch files
  5. git checkout <new repo from github import>
  6. cd <new repo from github import>
  7. apply the patches from step 4 one by one. I think the "git am" command would do all of this in one step, so that may be a better solution. I will try that next time.
At one point, there was a conflict in the merge. I have simply copied the conflicting file over from the other repo. Again, "git am" looks like it would have worked better. I'm still on the upward path of the learning curve.

Tuesday, 4 November 2014

FPCCD Neutron Damage test at Tohoku CYRIC

From afar the ILC detectors are going to have a very similar look to the LHC detectors ATLAS and CMS. They are cylindrical objects, with different sub-detectors for measuring different properties of the high-energy particles that will be produced by the collisions of bunches of electrons and positrons. Closest to the interaction point in the center of the detector will be the vertex detector for the precise measurement of the decay point of long-lived particles. Next, a tracking detector measures the momenta of charged particles from their trajectories in a magnetic field. The calorimeters outside of the tracking detectors measure the energy of the particles.
Yet, at second glance, because of much cleaner environment of the ILC detectors, particularly the inner detectors look very different from their LHC counterparts. While for the LHC detectors the requirement of radiation hardness puts a serious constraint on the achievable precision, ILC vertex detectors hope to achieve about an order of magnitude better precision on momentum and impact parameter measurements. Nevertheless, radiation damage is also a concern for ILC detectors. The beams after the collision cannot be re-used for collisions. (But we can hopefully recover at least some of their energy.) The current plan is to safely dispose of them in a beam dump. Some of the neutrons produced there can travel back up the beam pipe and enter the detector. Their energy has been studied and roughly looks like this.
 
Expected Neutron energies from the ILC beam dump.
The first layer of a vertex detector at the ILC has to deal with
up to 1010 neutrons / cm2 / year

Not a big problem compared to the factor of about 1,000 that the LHC detectors have to cope with, but nevertheless something we need to study. We have a facility at Tohoku University where we can get a neutron beam. The energy is close enough to what we would expect at the ILC.
Distribution of Neutron energies in the
Tohoku CYRIC facility. We still have to
evaluate our own measurements of
 neutron flux and energy.

After some intense preparation and frantic manufacture of beam profile monitor from scintillator bars, we now have pixel detectors with the equivalent of about 2.5 years equivalent of ILC neutron dose. Analysis of the data is underway, so I can't show anything yet. We are still not even done with the complete analysis of last year's data. Here are two plots to give you just a rough idea of what we are studying. I will try to go into more detail in some future blog posts.
Active area of the FPCCD chip. The red dot is a "hot pixel".
Similarly to a dead pixel in your LCD screen, this is bad.
In this case, we define a "hot pixel" as one that has a signal
significantly above the (blue) background.

We are measuring the number of pixels that was affected
by the neutron radiation. As you can see, measurements
at low temperatures are significantly less affected by the
damage, but the difference before and after irradiation is
obvious.

The ILC and time zones

A surprisingly big problem in a global collaboration is to find a meeting time that suits people in Asia, America and Europe equally badly well.
Usually this means getting up early at the west coast of the US, and being up late in Japan. The Europeans sacrifice their tea time or run into conflict with supper.

The fact that Europe and the US cannot agree on a common start and end of daylight savings time, adds an additional dimension of complication, because - when do you change the time of the meeting: When daylight savings time ends in Europe, or in the US, or do you change it at all? Japan, after all, does not change the clocks.
This whole conundrum leads to much confusion and conflicts. Even more confusing is the fact that some of my venerable colleagues do not seem to understand the abbreviations of time zones. Here is something that helps:
http://www.timeanddate.com/time/zones

So here's a suggestion: Since the ILC will be built in Japan, the canonical time should be JST.
For all of you that don't know what time zone they are in (and there's a few of you, don't deny it), this may help:
http://www.timeanddate.com/time/map/

Finally, our default online agenda - indico - has support for displaying the meeting time in your favorite time zone.
So please, let's all specify the time zone when we announce a meeting. And let's not miss any more meetings because of time zone confusion.

Saturday, 18 October 2014

LCWS14 Recap

Every year the Linear Collider community comes together for two large meetings. One is a regional meeting, usually held in spring. Every year this rotates between the three regions Asia, Europe and the Americas. The other meeting is the Linear Collider Workshop (LCWS), usually held in Fall. This is also hosted by one of the three regions in alternating fashion, and it's not the same region that holds the Spring meeting of the same year.
This year's event was in Belgrade.
View from the Fortress

The city still has not entirely recovered from the effects of the war over 15 years ago. As we were shuttled downtown for the summary sessions on the last day, we saw some derelict buildings with heavily damaged roofs at the outskirts of the city. Downtown, however, was very nice. There are plenty of options for dining, people were very friendly, and it was extremely easy to communicate in English.

The conference itself was held in two upscale hotels. Attendance was unfortunately not as good as previous workshops, but that did not stop the Serbian President from stopping by our little gathering. The sessions were a mix of plenaries and parallel group meetings. A notable item on the agenda was a session on how to make the ILC physics case. We were reminded on the first day that we should try to strengthen our presentation of the potential for discovery of new phenomena beyond the Standard Model. My colleagues and I believe we have a very strong case, so I guess we need to package it better. If you would like to contribute, post your video to the ILC communicators and let us know if you have suggestions how to present the ILC physics case.

In addition to politics we also did some real work. The reality of having a candidate site was very noticeable at the workshop. Both detectors have to agree on a common interface with the collider, which will lead to some changes in their design. And the design of the campus, including a computing center, is progressing as well. The work on estimating the computing requirements, both, for the proposed campus and off-site, unfortunately distracted me somewhat from carrying out my duties as a session convener. Thanks to my co-conveners, in particular Sophie Redford and Jerome Baudot, for picking up the slack.
The details of the computing will be the subject of a post once we have understood the details a bit better.

Tuesday, 23 September 2014

Goals for Detector Optimization: Mass resolution

We have several goals to optimize the ILC detectors to make the best use of the events that the machine will deliver. The physics case depends strongly on being able to deliver high precision and to cover as many new physics scenarios as possible that are still left after the LHC program. For this, we need to make sure the detectors meet our high performance standards. I have prepared an IPython Notebook that investigates the effect of the detector resolution on the reconstructed mass of gauge bosons. You can see that a seemingly small degradation in performance can have a big effect on the physics. We need to understand all of these subtleties when optimizing our detectors.

Saturday, 20 September 2014

Newsline

This week my blog was syndicated on newsline.linearcollider.org. If this is how you found my blog, welcome, friend of the linear collider.
I hope you like what you find here.

Friday, 5 September 2014

The ILC site visits


In my role as the deputy LCC Detector R&D liaison, I have visited the recent workshops of the SiD detector and ILD detector collaborations in Tokyo and Oshu City, respectively. The purpose was to give an overview of where we are in the process of documenting and advertising technologies developed for the Linear Colliders.
While I generally enjoy my work, there was an even more fun aspect to these workshops. Both were coupled with a visit to the ILC candidate site in the Iwate prefecture. One started from Ichinoseki, the other one started from Oshu City. Both of these cities are candidates to host the ILC campus. From my home in Sendai, it's 34 minutes by Shinkansen to Ichinoseki, and another ~30 min by local train to Oshu City. That's pretty much commuting distance.

The local support for the ILC is very visible. There are ILC banners at the lamp posts in Ichinoseki, which you can see in Google Street View, for example, or, of course by just wandering down the streets physically rather than virtually.

Around the planned site there are several signs of support, like the two pictures to the left.

The area around the planned site is very rural. During the visits, several references were made to the nature and to the peaceful and quiet environment. The construction of the ILC will certainly change that, but hopefully, the operations phase after construction won't be too intrusive. The exact location of the campus and the sizes of the site campus and the science city are still under discussion. While some people might enjoy living close to the site in rural Iwate, others will prefer the proximity to shops and businesses of the science city. Or, like me, to live in Sendai.