README.md 1.23 KB
Newer Older
1
# TreeWriterDUT
2
**Maintainer**: Morag Williams (<morag.williams@cern.ch>)   
3
4
**Module Type**: *DUT*  
**Detector Type**: *all*  
5
6
**Status**: Functional  

7
### Description
8
This module writes out data from a Timepix3 DUT for timing analysis. The outputted ROOT TTree contains data in branches. This is intended for analysis of the timing capabilities of Timepix3 devices of different thicknesses.
9

10
For each track associated DUT `cluster` object the following information is written out:
11

12
13
14
15
16
* Event ID
* Size in X
* Size in Y
* Number of pixels in the cluster

Morag Jean Williams's avatar
Morag Jean Williams committed
17
For each `pixel` object in an associated `cluster` the follwing information is written out:
18

19
20
21
22
23
* X position
* Y position
* ToT
* ToA

24
For each `track` with associated DUT `clusters` the following information is written out:
25

26
27
* Intercept with the DUT (3D position vector)

28
### Parameters
29
30
* `file_name`: Name of the data file to create, relative to the output directory of the framework. The file extension `.root` will be appended if not present. Default value is `outputTuples.root`.
* `tree_name`: Name of the tree inside the outputted ROOT file. Default value is `tree`.
31

32
### Plots produced
Morag Jean Williams's avatar
Morag Jean Williams committed
33
No plots are produced.
34

35
### Usage
36
```toml
37
38
39
[TreeWriterDUT]
file_name = "myOutputFile.root"
tree_name = "myTree"
40
```