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
15
16using namespace o2::framework;
17
18namespace o2
19{
20namespace ft0
21{
22using namespace std;
26
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
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
decltype(auto) get(R binding, int part=0) const
InputRecord & inputs()
The inputs associated with this processing context.
void run(ProcessingContext &pc) final
void init(InitContext &ic) final
constexpr o2::header::DataOrigin gDataOriginFT0
Definition DataHeader.h:566
Defining PrimaryVertex explicitly as messageable.
Definition TFIDInfo.h:20
std::vector< ConfigParamSpec > Options
std::vector< OutputSpec > Outputs
framework::DataProcessorSpec getFT0DataProcessDPLSpec(bool dumpProcessor)
struct o2::upgrades_utils::@462 ft0
structure to keep V0C information
a couple of static helper functions to create timestamp values for CCDB queries or override obsolete ...
Defining DataPointCompositeObject explicitly as copiable.
LOG(info)<< "Compressed in "<< sw.CpuTime()<< " s"