Project
Loading...
Searching...
No Matches
FT0DataProcessDPLSpec.cxx
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
14
#include "
FT0Workflow/FT0DataProcessDPLSpec.h
"
15
16
using namespace
o2::framework
;
17
18
namespace
o2
19
{
20
namespace
ft0
21
{
22
using namespace
std
;
23
void
FT0DataProcessDPLSpec::init
(
InitContext
& ic)
24
{
25
}
26
27
void
FT0DataProcessDPLSpec::run
(
ProcessingContext
& pc)
28
{
29
LOG
(info) <<
"FT0DataProcessDPLSpec running..."
;
30
auto
vecDigits = pc.
inputs
().
get
<std::vector<Digit>>(
"digits"
);
31
auto
vecChannelData = pc.
inputs
().
get
<std::vector<ChannelData>>(
"digch"
);
32
if
(mDumpEventBlocks) {
33
DigitBlockFT0::print
(vecDigits, vecChannelData);
34
}
35
}
36
37
DataProcessorSpec
getFT0DataProcessDPLSpec
(
bool
dumpProcessor)
38
{
39
std::vector<InputSpec> inputSpec;
40
inputSpec.emplace_back(
"digits"
,
o2::header::gDataOriginFT0
,
"DIGITSBC"
, 0, Lifetime::Timeframe);
41
inputSpec.emplace_back(
"digch"
,
o2::header::gDataOriginFT0
,
"DIGITSCH"
, 0, Lifetime::Timeframe);
42
LOG
(info) <<
"DataProcessorSpec getFT0DataProcessDPLSpec"
;
43
return
DataProcessorSpec
{
44
"ft0-dataprocess-dpl-flp"
,
45
inputSpec,
46
Outputs
{},
47
AlgorithmSpec
{adaptFromTask<FT0DataProcessDPLSpec>(dumpProcessor)},
48
Options
{}};
49
}
50
51
}
// namespace ft0
52
}
// namespace o2
FT0DataProcessDPLSpec.h
o2::fit::DigitBlockFIT::print
void print() const
Definition
DigitBlockFIT.h:302
o2::framework::InitContext
Definition
InitContext.h:25
o2::framework::InputRecord::get
decltype(auto) get(R binding, int part=0) const
Definition
InputRecord.h:248
o2::framework::ProcessingContext
Definition
ProcessingContext.h:27
o2::framework::ProcessingContext::inputs
InputRecord & inputs()
The inputs associated with this processing context.
Definition
ProcessingContext.h:37
o2::ft0::FT0DataProcessDPLSpec::run
void run(ProcessingContext &pc) final
Definition
FT0DataProcessDPLSpec.cxx:27
o2::ft0::FT0DataProcessDPLSpec::init
void init(InitContext &ic) final
Definition
FT0DataProcessDPLSpec.cxx:23
o2::header::gDataOriginFT0
constexpr o2::header::DataOrigin gDataOriginFT0
Definition
DataHeader.h:566
o2::framework
Defining PrimaryVertex explicitly as messageable.
Definition
TFIDInfo.h:20
o2::framework::Options
std::vector< ConfigParamSpec > Options
Definition
DataProcessorSpec.h:31
o2::framework::Outputs
std::vector< OutputSpec > Outputs
Definition
DataProcessorSpec.h:30
o2::ft0::getFT0DataProcessDPLSpec
framework::DataProcessorSpec getFT0DataProcessDPLSpec(bool dumpProcessor)
Definition
FT0DataProcessDPLSpec.cxx:37
o2::upgrades_utils::ft0
struct o2::upgrades_utils::@462 ft0
structure to keep V0C information
o2
a couple of static helper functions to create timestamp values for CCDB queries or override obsolete ...
Definition
BitstreamReader.h:24
std
Defining DataPointCompositeObject explicitly as copiable.
Definition
CcdbObjectInfo.h:121
o2::framework::AlgorithmSpec
Definition
AlgorithmSpec.h:43
o2::framework::DataProcessorSpec
Definition
DataProcessorSpec.h:41
LOG
LOG(info)<< "Compressed in "<< sw.CpuTime()<< " s"
Detectors
FIT
FT0
workflow
src
FT0DataProcessDPLSpec.cxx
Generated on Tue Feb 25 2025 17:02:57 for Project by
1.9.8