Testbeam Analysis Documentation

23
Testbeam Analysis Documentation Release 0.0.1 David-Leon Pohl, Christian Bespin, Jens Janssen, Luigi Vigani January 24, 2017

Transcript of Testbeam Analysis Documentation

Page 1: Testbeam Analysis Documentation

Testbeam Analysis DocumentationRelease 0.0.1

David-Leon Pohl, Christian Bespin, Jens Janssen, Luigi Vigani

January 24, 2017

Page 2: Testbeam Analysis Documentation
Page 3: Testbeam Analysis Documentation

Contents

1 Installation 3

2 Example usage 5

3 Latest commits 7

4 Examples 94.1 ATLAS FE-I4 telescope . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 10

5 API 175.1 hit_analysis . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 175.2 dut_alignment . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 175.3 track_analysis . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 175.4 result_analysis . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 17

6 Indices and tables 19

i

Page 4: Testbeam Analysis Documentation

ii

Page 5: Testbeam Analysis Documentation

Testbeam Analysis Documentation, Release 0.0.1

Contents:

Testbeam analysis is a simple analysis of pixel-sensor data in particle beams. All steps of a complete analysis areimplemented with a few independent python functions. If you want to understand the basics of telescope data recon-struction this code might help. If you want to have something fancy to account for thick devices in combination withlow energetic beams use e.g. _EUTelescope_. Depending on the setup a resolution that is only ~ 15% worse can bearchieved with this code. For a quick first impression check the examples in the documentation.

In future releases it is forseen to make the code more readable and to implement a Kalman Filter to have the bestpossible track fit results.

Contents 1

Page 6: Testbeam Analysis Documentation

Testbeam Analysis Documentation, Release 0.0.1

2 Contents

Page 7: Testbeam Analysis Documentation

CHAPTER 1

Installation

You have to have Python 2/3 with the following modules installed: - cython - tables - scipy - matplotlib - numba

If you are new to Python please look at the installation guide in the wiki. Since it is recommended to change examplefiles according to your needs you should install the module with

python setup.py develop

This does not copy the code to a new location, but just links to it. Uninstall:

pip uninstall testbeam_analysis

3

Page 8: Testbeam Analysis Documentation

Testbeam Analysis Documentation, Release 0.0.1

4 Chapter 1. Installation

Page 9: Testbeam Analysis Documentation

CHAPTER 2

Example usage

Check the examples folder with data and examples of a Mimosa26 and a FE-I4 telescope analysis. Run eutele-scope_example.py or fei4_telescope_example.py in the example folder and check the text output to the console aswell as the plot and data files that are created to understand what is going on. In the examples folder type e.g.:

python fei4_telescope_example.py

5

Page 10: Testbeam Analysis Documentation

Testbeam Analysis Documentation, Release 0.0.1

6 Chapter 2. Example usage

Page 11: Testbeam Analysis Documentation

CHAPTER 3

Latest commits

• DOC by DavidLP at 2017-01-19 09:19:46

• DOC: mock clusterizer by DavidLP at 2017-01-19 09:13:58

• DOC: mock tables package by DavidLP at 2017-01-19 09:11:42

• PRJ: delete, does not work by DavidLP at 2017-01-19 09:06:37

• MAINT: delete additional tmp files by DavidLP at 2017-01-19 08:27:55

• PRJ: try fixing rtd by DavidLP at 2017-01-19 08:27:39

• PRJ: try use anaconda for readthedocs autobuild by DavidLP at 2017-01-18 16:59:03

• MAINT: adding newlines at the end by Jens Janssen at 2017-01-18 16:46:58

• PRJ: use new clusterizer version 3.0, also fixes unittests by DavidLP at 2017-01-18 15:13:33

• MAINT by DavidLP at 2017-01-18 15:11:39

7

Page 12: Testbeam Analysis Documentation

Testbeam Analysis Documentation, Release 0.0.1

8 Chapter 3. Latest commits

Page 13: Testbeam Analysis Documentation

CHAPTER 4

Examples

There are several examples available that cover different setups. These examples are a good starting point to get toknow Testbeam Analysis.

9

Page 14: Testbeam Analysis Documentation

Testbeam Analysis Documentation, Release 0.0.1

4.1 ATLAS FE-I4 telescope

10 Chapter 4. Examples

Page 15: Testbeam Analysis Documentation

Testbeam Analysis Documentation, Release 0.0.1

Original correlation pdf output

4.1. ATLAS FE-I4 telescope 11

Page 16: Testbeam Analysis Documentation

Testbeam Analysis Documentation, Release 0.0.1

12 Chapter 4. Examples

Page 17: Testbeam Analysis Documentation

Testbeam Analysis Documentation, Release 0.0.1

Original pre-alignment pdf output

4.1. ATLAS FE-I4 telescope 13

Page 18: Testbeam Analysis Documentation

Testbeam Analysis Documentation, Release 0.0.1

Original track fitting pdf output

14 Chapter 4. Examples

Page 19: Testbeam Analysis Documentation

Testbeam Analysis Documentation, Release 0.0.1

Original event plot pdf output

4.1. ATLAS FE-I4 telescope 15

Page 20: Testbeam Analysis Documentation

Testbeam Analysis Documentation, Release 0.0.1

Original efficiency pdf output

16 Chapter 4. Examples

Page 21: Testbeam Analysis Documentation

CHAPTER 5

API

The major analysis steps are divided into these modules:

5.1 hit_analysis

5.1.1 Methods

5.2 dut_alignment

5.2.1 Methods

5.3 track_analysis

5.3.1 Methods

5.4 result_analysis

5.4.1 Methods

17

Page 22: Testbeam Analysis Documentation

Testbeam Analysis Documentation, Release 0.0.1

18 Chapter 5. API

Page 23: Testbeam Analysis Documentation

CHAPTER 6

Indices and tables

• genindex

• modindex

• search

19