|
9 | 9 | * [Raw to digits](#raw-to-digits) |
10 | 10 | * [Preclustering](#preclustering) |
11 | 11 | * [Clustering](#clustering) |
| 12 | +* [Local to global cluster transformation](#local-to-global-cluster-transformation) |
12 | 13 | * [Tracking](#tracking) |
13 | 14 | * [Original track finder](#original-track-finder) |
14 | 15 | * [New track finder](#new-track-finder) |
@@ -76,6 +77,23 @@ o2-mch-preclusters-to-clusters-original-workflow |
76 | 77 |
|
77 | 78 | Take as input the list of all preclusters ([PreCluster](../Base/include/MCHBase/PreCluster.h)) in the current time frame, the list of all associated digits ([Digit](../Base/include/MCHBase/Digit.h)) and the list of ROF records ([ROFRecord](../../../../DataFormats/Detectors/MUON/MCH/include/DataFormatsMCH/ROFRecord.h)) pointing to the preclusters associated to each interaction, with the data description "PRECLUSTERS", "PRECLUSTERDIGITS" and "PRECLUSTERROFS", respectively. Send the list of all clusters ([ClusterStruct](../Base/include/MCHBase/ClusterBlock.h)) in the time frame, the list of all associated digits ([Digit](../Base/include/MCHBase/Digit.h)) and the list of ROF records ([ROFRecord](../../../../DataFormats/Detectors/MUON/MCH/include/DataFormatsMCH/ROFRecord.h)) pointing to the clusters associated to each interaction in three separate messages with the data description "CLUSTERS", "CLUSTERDIGITS" and "CLUSTERROFS", respectively. |
78 | 79 |
|
| 80 | +## Local to global cluster transformation |
| 81 | + |
| 82 | +The `o2-mch-clusters-transformer-workflow` takes as as input the list of all clusters ([ClusterStruct](../Base/include/MCHBase/ClusterBlock.h)), in local reference frame, in the current time frame, with the data description "CLUSTERS". |
| 83 | + |
| 84 | +It sends the list of the same clusters, but converted in global reference frame, with the data description "GLOBALCLUSTERS". |
| 85 | + |
| 86 | +To test it one can use e.g. a sampler-transformer-sink pipeline as such : |
| 87 | + |
| 88 | +``` |
| 89 | +o2-mch-clusters-sampler-workflow |
| 90 | + -b --nEventsPerTF 1000 --infile someclusters.data | |
| 91 | +o2-mch-clusters-transformer-workflow |
| 92 | + -b --geometry Detectors/MUON/MCH/Geometry/Test/ideal-geometry-o2.json | |
| 93 | +o2-mch-clusters-sink-workflow |
| 94 | + -b --txt --outfile global-clusters.txt --no-digits --global |
| 95 | +``` |
| 96 | + |
79 | 97 | ## Tracking |
80 | 98 |
|
81 | 99 | ### Original track finder |
@@ -224,15 +242,15 @@ Option `--useRun2DigitUID` allows to convert the run3 pad ID stored in the digit |
224 | 242 | ### Cluster sink |
225 | 243 |
|
226 | 244 | ```shell |
227 | | -o2-mch-clusters-sink-workflow --outfile "clusters.out" |
| 245 | +o2-mch-clusters-sink-workflow --outfile "clusters.out" [--txt] [--no-digits] [--global] |
228 | 246 | ``` |
229 | 247 |
|
230 | | -Take as input the list of all clusters ([ClusterStruct](../Base/include/MCHBase/ClusterBlock.h)) in the current time frame, the list of all associated digits ([Digit](../Base/include/MCHBase/Digit.h)) and the list of ROF records ([ROFRecord](../../../../DataFormats/Detectors/MUON/MCH/include/DataFormatsMCH/ROFRecord.h)) pointing to the clusters associated to each interaction, with the data description "CLUSTERS", "CLUSTERDIGITS" and "CLUSTERROFS", respectively, and write them event-by-event in the binary file `clusters.out` with the following format for each event: |
| 248 | +Take as input the list of all clusters ([ClusterStruct](../Base/include/MCHBase/ClusterBlock.h)) in the current time frame, and, optionnally, the list of all associated digits ([Digit](../Base/include/MCHBase/Digit.h)) and the list of ROF records ([ROFRecord](../../../../DataFormats/Detectors/MUON/MCH/include/DataFormatsMCH/ROFRecord.h)) pointing to the clusters associated to each interaction, with the data description "CLUSTERS" (or "GLOBALCLUSTERS" if `--global` option is used), "CLUSTERDIGITS" (unless `--no-digits` option is used) and "CLUSTERROFS", respectively, and write them event-by-event in the binary file `clusters.out` with the following format for each event: |
231 | 249 |
|
232 | 250 | * number of clusters (int) |
233 | | -* number of associated digits (int) |
| 251 | +* number of associated digits (int) (unless option `--no-digits` is used) |
234 | 252 | * list of clusters ([ClusterStruct](../Base/include/MCHBase/ClusterBlock.h)) |
235 | | -* list of associated digits ([Digit](../Base/include/MCHBase/Digit.h)) |
| 253 | +* list of associated digits ([Digit](../Base/include/MCHBase/Digit.h))(unless option `--no-digits` is used) |
236 | 254 |
|
237 | 255 | Option `--txt` allows to write the clusters in the output file in text format. |
238 | 256 |
|
|
0 commit comments