Project
Loading...
Searching...
No Matches
EventBuilderSpec.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
13#include "Framework/Task.h"
14
15namespace o2
16{
17
18namespace phos
19{
20class TriggerRecord;
21class Cell;
22
34{
35 public:
37 EventBuilderSpec() = default;
38
40 ~EventBuilderSpec() override = default;
41
42 void init(framework::InitContext& ctx) final;
43 void run(framework::ProcessingContext& ctx) final;
44
45 private:
46 class SubspecSet
47 {
48 public:
49 SubspecSet(gsl::span<const o2::phos::TriggerRecord> r, gsl::span<const o2::phos::Cell> c)
50 {
51 trSpan = r;
52 cellSpan = c;
53 }
54 ~SubspecSet() = default;
55 gsl::span<const o2::phos::TriggerRecord> trSpan;
56 gsl::span<const o2::phos::Cell> cellSpan;
57 };
58};
59
61
62} // namespace phos
63
64} // namespace o2
uint32_t c
Definition RawData.h:2
Class merges subevents from two FLPs.
EventBuilderSpec()=default
Constructor.
void init(framework::InitContext &ctx) final
~EventBuilderSpec() override=default
Destructor.
void run(framework::ProcessingContext &ctx) final
GLboolean r
Definition glcorearb.h:1233
o2::framework::DataProcessorSpec getEventBuilderSpec()
a couple of static helper functions to create timestamp values for CCDB queries or override obsolete ...