Skip to content

Commit 61f71e9

Browse files
author
wpierozak
committed
FT0: corrected macro FT0readEventsPerBc, corrected typo in calibration README
1 parent 797d924 commit 61f71e9

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

Detectors/FIT/FT0/calibration/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ First, it is important to digitize data with a non-zero run number, orbit, and t
2323
```
2424
o2-sim-digitizer-workflow \
2525
--onlyDet FT0 \
26-
--configKeyValues="HBFUtils.nHBFPerTF=128;HBFUtils.orbitFirst=128;HBFUtils.orbitFirstSampled=256;HBFUtils.runNumber=560560;HBFUtils.timestamp=1768464099000"
26+
--configKeyValues="HBFUtils.nHBFPerTF=128;HBFUtils.orbitFirst=128;HBFUtils.orbitFirstSampled=256;HBFUtils.runNumber=560560;HBFUtils.startTime=1768464099000"
2727
```
2828

2929
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.

Detectors/FIT/FT0/macros/FT0readEventsPerBc.C

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ void FT0readEventsPerBc(std::string ccdbUrl, long timestamp)
3333
}
3434

3535
hist = std::make_unique<TH1F>("eventsPerBcHist", "Events per BC", o2::constants::lhc::LHCMaxBunches, 0, o2::constants::lhc::LHCMaxBunches - 1);
36-
for (int idx = 0; idx < LhcOrbits; idx++) {
36+
for (int idx = 0; idx < o2::constants::lhc::LHCMaxBunches; idx++) {
3737
hist->Fill(idx, (*events)[idx]);
3838
}
3939
canvas = std::make_unique<TCanvas>();

0 commit comments

Comments
 (0)