You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
EventsPerBC calibration task for FT0 (O2-6563) (#14986)
Implements the EventsPerBC calibration task for FT0, which generates a histogram of VTX events above a defined amplitude threshold plotted against the BC.
* FT0: created first sketch of implementation of generation of TVX per Event calibration object
* FT0: Updated CMakeLists for calibration
* FT0: Added missing entry in FT0CalibrationLinkDef.h
* FT0 calibration: fixed ROOT directory compilation, fixed CCDB output
* FT0: refined logs in EventsPerBc calibration, fixed setting TF info in run method
* FT0: Added readme to calibrations
* FT0: Changed calibration object name, implemented missing OrbitReset fetching
* FT0 EventsPerBc calibration: storing histograms in float format, updated readme
* Changed type of EventsPerBc calibration object to std::array
* FT0: corrected macro FT0readEventsPerBc, corrected typo in calibration README
* Created CCDB object class for EvetnsPerBC calibration
* FT0: formatted EvensPerBc.h
* FT0: removed amplitudes thresholds from EventsPerBc
* FT0: Removed from EventsPerBc calibarion option to define slot lenght in TFs; Small code cleaning
* Changed default value of min number of entries in EventsPerBcProcessor from 5000 to 5000u
Generates histograms of **Events per Bunch Crossing (BC)**. Events can be filtered by applying amplitude thresholds to the **A-side** and **C-side**.
6
+
7
+
### Command-Line Options
8
+
| Option | Default | Description |
9
+
| :--- | :--- | :--- |
10
+
|`--slot-len-sec`|`3600`| Duration of each slot in seconds. |
11
+
|`--slot-len-tf`|`0`| Slot length in Time Frames (TFs). |
12
+
|`--one-object-per-run`| — | If set, the workflow creates only one calibration object per run. |
13
+
|`--min-entries-number`|`0`| Minimum number of entries required for a slot to be valid. |
14
+
|`--min-ampl-side-a`|`-2147483648`| Amplitude threshold for Side A events. |
15
+
|`--min-ampl-side-c`|`-2147483648`| Amplitude threshold for Side C events. |
16
+
17
+
---
18
+
19
+
## How to Run
20
+
21
+
### Simulation Data
22
+
First, it is important to digitize data with a non-zero run number, orbit, and timestamp. To set these parameters, one can use the `--configKeyValues` option, as shown in the example below.
To process simulation data, digits must first be converted to RAW format. The `o2-ft0-digi2raw` tool performs this conversion and generates the required configuration file.
30
+
31
+
Once converted, you can run the calibration either as a single integrated workflow or by spawning as the sender and receiver components separately.
32
+
33
+
#### Single Workflow Example
34
+
Execute the following command within the simulation directory:
0 commit comments