Project
Loading...
Searching...
No Matches
TOFIntegrateClusterWriterSpec.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 <vector>
15
#include "
TOFWorkflowIO/TOFIntegrateClusterWriterSpec.h
"
16
#include "
DPLUtils/MakeRootTreeWriterSpec.h
"
17
#include "
CommonDataFormat/TFIDInfo.h
"
18
19
using namespace
o2::framework
;
20
21
namespace
o2
22
{
23
namespace
tof
24
{
25
template
<
typename
T>
26
using
BranchDefinition
=
MakeRootTreeWriterSpec::BranchDefinition<T>
;
27
28
DataProcessorSpec
getTOFIntegrateClusterWriterSpec
()
29
{
30
return
MakeRootTreeWriterSpec
(
"tof-currents-writer"
,
31
"o2currents_tof.root"
,
32
"itofc"
,
33
BranchDefinition
<std::vector<float>>{
InputSpec
{
"itofcn"
,
o2::header::gDataOriginTOF
,
"ITOFCN"
, 0, Lifetime::Timeframe},
"ITOFCN"
, 1},
34
BranchDefinition<std::vector<float>
>{
InputSpec
{
"itofcq"
,
o2::header::gDataOriginTOF
,
"ITOFCQ"
, 0, Lifetime::Timeframe},
"ITOFCQ"
, 1},
35
BranchDefinition<o2::dataformats::TFIDInfo>
{
InputSpec
{
"itoftfid"
,
o2::header::gDataOriginTOF
,
"ITOFTFID"
, 0, Lifetime::Timeframe},
"tfID"
, 1})();
36
}
37
38
}
// namespace tof
39
}
// namespace o2
MakeRootTreeWriterSpec.h
Configurable generator for RootTreeWriter processor spec.
TFIDInfo.h
TOFIntegrateClusterWriterSpec.h
o2::framework::MakeRootTreeWriterSpec
Generate a processor spec for the RootTreeWriter utility.
Definition
MakeRootTreeWriterSpec.h:196
o2::header::gDataOriginTOF
constexpr o2::header::DataOrigin gDataOriginTOF
Definition
DataHeader.h:575
o2::framework
Defining PrimaryVertex explicitly as messageable.
Definition
TFIDInfo.h:20
o2::tof::getTOFIntegrateClusterWriterSpec
o2::framework::DataProcessorSpec getTOFIntegrateClusterWriterSpec()
Definition
TOFIntegrateClusterWriterSpec.cxx:28
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
o2::framework::InputSpec
Definition
InputSpec.h:31
o2::framework::MakeRootTreeWriterSpec::BranchDefinition
Definition
MakeRootTreeWriterSpec.h:273
Detectors
TOF
workflowIO
src
TOFIntegrateClusterWriterSpec.cxx
Generated on Tue Feb 25 2025 17:03:09 for Project by
1.9.8