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
12
#include "
Framework/DataProcessorSpec.h
"
13
#include "
Framework/Task.h
"
14
15
namespace
o2
16
{
17
18
namespace
phos
19
{
20
class
TriggerRecord;
21
class
Cell;
22
33
class
EventBuilderSpec
:
public
framework::Task
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
60
o2::framework::DataProcessorSpec
getEventBuilderSpec
();
61
62
}
// namespace phos
63
64
}
// namespace o2
DataProcessorSpec.h
c
uint32_t c
Definition
RawData.h:2
Task.h
o2::framework::InitContext
Definition
InitContext.h:25
o2::framework::ProcessingContext
Definition
ProcessingContext.h:27
o2::framework::Task
Definition
Task.h:32
o2::phos::EventBuilderSpec
Class merges subevents from two FLPs.
Definition
EventBuilderSpec.h:34
o2::phos::EventBuilderSpec::EventBuilderSpec
EventBuilderSpec()=default
Constructor.
o2::phos::EventBuilderSpec::init
void init(framework::InitContext &ctx) final
Definition
EventBuilderSpec.cxx:22
o2::phos::EventBuilderSpec::~EventBuilderSpec
~EventBuilderSpec() override=default
Destructor.
o2::phos::EventBuilderSpec::run
void run(framework::ProcessingContext &ctx) final
Definition
EventBuilderSpec.cxx:26
r
GLboolean r
Definition
glcorearb.h:1233
o2::phos::getEventBuilderSpec
o2::framework::DataProcessorSpec getEventBuilderSpec()
Definition
EventBuilderSpec.cxx:185
o2
a couple of static helper functions to create timestamp values for CCDB queries or override obsolete ...
Definition
BitstreamReader.h:24
o2::framework::DataProcessorSpec
Definition
DataProcessorSpec.h:41
Detectors
PHOS
workflow
include
PHOSWorkflow
EventBuilderSpec.h
Generated on Tue Feb 25 2025 23:16:25 for Project by
1.9.8