cernopendata / opendata.cern.ch

Source code for the CERN Open Data portal
http://opendata.cern.ch/
GNU General Public License v2.0
656 stars 147 forks source link

LHCb: introduce getting started page #500

Closed tiborsimko closed 9 years ago

tiborsimko commented 9 years ago

Similarly to the VM page, see #499, an LHCb getting started page should be introduced and customised:

@pamfilos Please create a template containing FIXME so that @samerio can provide some text later.

samerio commented 9 years ago

Hi, here is some text for the getting started page. It also contains detailed instructions to run the masterclass exercise.

Getting Started How do I start LHCb software? LHCb software comes via a virtual machine image. The only thing you need to install by yourself on you desktop is Virtual Box. Then you just need to download the LHCb virtual machine image  open it with Virtual Box and click on the LHCMasterclass icon on the desktop. (see instructions here [LINK TO THE VM INSTRUCTIONS].

What kind of LHCb data will I work on? The data samples you can download from this portal consists of candidates for a type of charmed particle known as a D0 particle found in a sample of randomly collected LHC interactions during 2011 data taking. A D0 particle consists of a charm quark and an up anti-quark. The particles are measured decaying in the mode D0→K-π+ where the final state particles are a kaon (K-) consisting of a strange quark and an anti-up quark, and a pion (π+) which consists of a down anti-quark and an up quark. The +, - and 0 refer to the electric charge of the particle, whether it is positively charged, negatively charged or neutral. These particles have lifetime which are long enough that, for the purpose of this exercise, they are stable within the LHCb detector. The particles have been preselected using loose criteria so that you begin in the samples you will have ith a visible signal, but background events are also present.

I have installed VirtualBox, downloaded LHCb VM image and launched it. And now? The LHCbMasterclass exercise is divided into two parts: the Event Display and the D0 lifetime fitting exercise which should be executed in this order. Once you click on the icon LHCbMasterclass you will be asked to select a language, enter your details and select the sample you want to analyse. After clicking on the Save button, you can start the Event Display. If you want to move directly to the second exercise, just click on Move on to D0 exercise.

What can I learn from this exercise? You will be working on real collisions recorded by the LHCb experiment during 2011 data taking, which contain both signal and background particles. This set of two exercises is designed to teach you how to

  1. Use an event display of the proton-proton collisions inside the LHCb detector to search for charmed particles and separate this signal from backgrounds.
  2. Fit functional forms for the signal and background to the data in order to measure the number of signal events in the data sample and their purity (defined as the fraction of signal events in the total sample).
  3. Obtain the distribution of signal events in a given variable by taking the combined distribution of events in the data sample (which contains both signal and background events) and subtracting the background distribution. The result of the fit in the previous step is used to find a sample of pure background events for subtraction, and to compute from the signal yield and purity the appropriate amount of background which should be subtracted.
  4. The signal you will be looking at decays exponentially with time, analogously to a radioactive isotope. You can now use the sample of events passing the previous step to measure the "lifetime" of the signal particle. The lifetime is defined as the time taken for (e-1)/e of the signal events to decay, where e~2.718 is the base of the natural logarithm. It is analogous to the concept of half-life in radioactive decay.

How does the Event display exercise work? The aim of the event display exercise is to locate displaced vertices belonging to D0 particles in the vertex detector of the LHCb experiment. When you launch the exercise and load an event, you will see an image of the LHCb detector and particle trajectories ("tracks") inside it. These tracks are colour coded, and a legend at the bottom of the GUI tells you which colour corresponds to which kind of particle.

In order to make identifying vertices easier, you can view an event in three different two-dimensional projections : y-z, y-x, and x-z, show for one event the following pictures:

PICTURES GUI-2.png (y-z), GUI-3.png (y-x) and GUI-4.png (x-z) gui-2 gui-3 gui-4

Different events will be clearer in different projections, so feel free to experiment with all three! Displaced vertices appear as a pair of intersecting tracks, far away from the other tracks in the event. When you click on a particle, you will see its information, including mass and momentum, in the Particle Info box. A D0 particle decays into a kaon and a pion, so you will need to find a displaced vertex where a kaon track intersects with a pion track. Once you find a track which you think is part of the displaced vertex, you can save it using the Save Particle button. Once you have saved two particles, you can compute their mass by clicking on the Calculate button. If you think this combination has a mass compatible with that of the D0 particle, click on Add to save it : by saving a combination for each event, you will build up a histogram of the masses of the displaced vertices in the different events. Remember that you are looking at real data so it contains both signal and background, and the detector has a finite resolution, so not all displaced vertices will have exactly the D0 mass (even the signal ones). They should, however, be within the range 1816-1914 MeV (this range is around 3% each way around the true D0 mass). If you try to save a combination which is too far away from the real D0 mass the exercise will warn you that you have not found the correct displaced vertex pair and won't let you save it. If you are not able to find the displaced vertex for an event after a few minutes, move on to the next event and come back to the one which was giving you trouble if you have time at the end of the exercise. Once you have looked at all events, you can examine your mass histogram by clicking the Draw button. How does the D0 lifetime fitting exercise work? Before describing the fitting part of the exercise, it will be useful to list the variables involved in this exercise : D0 mass: this is the invariant mass of the D0 particle. The signal can be seen as a peaking structure rising above a at background. The range of masses relevant for this analysis is 1816-1914 MeV. The signal shape is described by the Gaussian (also known as "normal") distribution. The center ("mean") of this distribution is the mass of the D0 particle, while the width represents the experimental resolution of the detector. D0 TAU: this is the distribution of decay times of the D0 candidates. The signal is described by a single exponential whose slope is the D0 lifetime (the object of the last exercise), while the background concentrates at short decay times. D0 IP: this is the D0 distance of closest approach ("impact parameter") with respect to the proton-proton interaction in the event. The smaller the impact parameter, the more likely it is that the D0 actually came from that primary interaction. In order to simplify the drawing, we actually plot and cut on the logarithm (base 10) of this quantity in the exercise. D0 PT: this is the momentum of the D0 transverse to the LHC beamline. Now let's proceed through the exercise itself.

samerio commented 9 years ago

I can also add the text by myself in the xml file once the template will be ready. But as next Monday I will be travelling I prefer to copy it here in the meantime. thanks!