Project
Loading...
Searching...
No Matches
TimingInfo.h
Go to the documentation of this file.
1// Copyright 2019-2020 CERN and copyright holders of ALICE O2.
2// See https://alice-o2.web.cern.ch/copyright for details of the copyright holders.
3// All rights not expressly granted are reserved.
4//
5// This software is distributed under the terms of the GNU General Public
6// License v3 (GPL Version 3), copied verbatim in the file "COPYING".
7//
8// In applying this license CERN does not waive the privileges and immunities
9// granted to it by virtue of its status as an Intergovernmental Organization
10// or submit itself to any jurisdiction.
11
12#ifndef O2_FRAMEWORK_TIMINGINFO_H_
13#define O2_FRAMEWORK_TIMINGINFO_H_
14
16#include <cstddef>
17#include <cstdint>
18
21namespace o2::framework
22{
23
24struct TimingInfo {
26 size_t timeslice = 0;
32 uint32_t tfCounter = -1; // the counter associated to a TF
35 uint64_t lapse = 0; // time at the start of the processing. Per thread.
44 bool keepAtEndOfStream = false;
45
46 static bool timesliceIsTimer(size_t timeslice) { return timeslice > 1652945069870351; }
47 [[nodiscard]] bool isTimer() const { return timesliceIsTimer(timeslice); };
48};
49
50} // namespace o2::framework
51
52#endif // O2_FRAMEWORK_TIMINGINFO_H_
Timeframe settings Average distance in cm of events merged into Randomize distance around average distance of merged events Simulate correct bunch interactions instead of placing only the average number of events A value[n] sets TFlen for[n] collisions in Number of bunches per trainsort Number of bunch trains Instantaneous interaction rate Do not simulate border Total number of collisions to be placed in the interior of all time Do not select random but walk over array of events in stride steps h Event generator settings h configStandalone Use CPU for GPU Force usage of the specified GPU device no CPU fallback Continue processing after an error First event to Number of events to Number of iterations to Number of iterations to Number of initial iterations excluded from const char Directory with events to Events directory is and not inside events Show standalone event Run event generator maximum time bin of continuous for triggered for automatic continuous for automatic continuous triggered uint64_t
Defining ITS Vertex explicitly as messageable.
Definition Cartesian.h:288
ServiceKind
The kind of service we are asking for.
static constexpr ServiceKind service_kind
Definition TimingInfo.h:25
bool keepAtEndOfStream
Wether this kind of data should be flushed during end of stream.
Definition TimingInfo.h:44
static bool timesliceIsTimer(size_t timeslice)
Definition TimingInfo.h:46
uint32_t tfCounter
the orbit the TF begins
Definition TimingInfo.h:32