Update Data Model authored by Matteo Tenti's avatar Matteo Tenti
......@@ -78,6 +78,7 @@ The linear fit provides:
***EM Calorimeter***
------------------------------------------------
The calorimeter geometry is based on the instruction provided by KLOE people through two files: [udigic.kloe](uploads/e09fbb27918ed093adc125f131061050/udigic.kloe) [udcalg.kloe](uploads/affea6bb3801cd8ebf709ac059e83157/udcalg.kloe). The barrel is composed by 24 modules with trapeziod cross section. The endcaps are tubes. Both are composed by alternating scintillator and lead layers.
**Cell**
......@@ -86,6 +87,37 @@ A cell represents the real responce of a cell of the e.m. calorimeter. It has on
| Type | Name | Description |
| ------ | ------ | ------ |
| ------ | ------ | ------ |
| int | id | Global index of the cell. It is cell + 100 * lay + 1000 * mod |
| double | x | X position of the center of the cell |
| double | y | Y position of the center of the cell |
| double | z | Z position of the center of the cell |
| double | l | Length of the cell, i.e. optical distance between the associated with the cell |
| double | adc1 | ADC count of the first pmt |
| double | tdc1 | TDC of the frist pmt |
| double | adc2 | ADC count of the second pmt |
| double | tdc2 | TDC of the second pmt |
| int | mod | Index of the module. 0 - 23 for the barrel starting from the upper one and moving upstream. 30 and 40 for the right and left endcap respectively |
| int | lay | Index of the layer. 0 - 4 starting from the inner one |
| int | cel | Index of the cell. 0 - 12 starting from the left |
| std::vector<double> | pe_time1 | Time arrival of the photo-electron collected by the first pmt |
| std::vector<int> | hindex1 | Indices of the hits producing the photo-electrons. It has one-to-one correspondence with pe_time1 |
| std::vector<double> | pe_time2 | Time arrival of the photo-electron collected by the second pmt |
| std::vector<int> | hindex2 | Indices of the hits producing the photo-electrons. It has one-to-one correspondence with pe_time2 |
**Cluster**
The cluster is a set of cell grouped on the basis track that produced them. It has a one-to-many correspondence with the cell.
**Cluster**
\ No newline at end of file
| Type | Name | Description |
| ------ | ------ | ------ |
| int | tid | Index of the track. It corresponds to `TG4Trajectory::TrackId` |
| double | x | X position of the cluster. It is the averaged X position of the cell belonging to the cluster, weighted by the energy collected by the cell |
| double | y | Y position of the cluster. It is the averaged Y position of the cell belonging to the cluster, weighted by the energy collected by the cell |
| double | z | Z position of the cluster. It is the averaged Z position of the cell belonging to the cluster, weighted by the energy collected by the cell |
| double | t | Time associated to the cluster. It is the averaged time of the cell belonging to the cluster, weighted by the energy collected by the cell |
| double | e | Sum of the energy collected by the cell |
| double | sx | Direction of the cluster. For each layer an energy weighted average X position is calculated and then the X positions are fitted |
| double | sy | Direction of the cluster. For each layer an energy weighted average Y position is calculated and then the Y positions are fitted |
| double | varx | Variance in X of the cluster |
| double | vary | Variance in Y of the cluster |
| double | varz | Variance in Z of the cluster |
| std::vector<cell> | cells | Vector of the cell associated to the cluster |
\ No newline at end of file