Project
Loading...
Searching...
No Matches
ErrorWriterSpec.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
12
#include "
MCHWorkflow/ErrorWriterSpec.h
"
13
14
#include <vector>
15
#include "
DPLUtils/MakeRootTreeWriterSpec.h
"
16
#include "
MCHBase/Error.h
"
17
18
using namespace
o2::framework
;
19
20
namespace
o2::mch
21
{
22
23
template
<
typename
T>
24
using
BranchDefinition
=
MakeRootTreeWriterSpec::BranchDefinition<T>
;
25
26
DataProcessorSpec
getErrorWriterSpec
(
const
char
*
specName
)
27
{
28
return
MakeRootTreeWriterSpec
(
specName
,
29
"mcherrors.root"
,
30
MakeRootTreeWriterSpec::TreeAttributes
{
"o2sim"
,
"Tree MCH Errors"
},
31
BranchDefinition<std::vector<Error>
>{
InputSpec
{
"errors"
,
"MCH"
,
"PROCERRORS"
},
"errors"
})();
32
}
33
34
}
// namespace o2::mch
ErrorWriterSpec.h
Error.h
definition of the MCH processing errors
MakeRootTreeWriterSpec.h
Configurable generator for RootTreeWriter processor spec.
specName
const char * specName
Definition
badchannel-calib-workflow.cxx:23
o2::framework::MakeRootTreeWriterSpec
Generate a processor spec for the RootTreeWriter utility.
Definition
MakeRootTreeWriterSpec.h:196
o2::framework
Defining PrimaryVertex explicitly as messageable.
Definition
TFIDInfo.h:20
o2::mch
Definition
SimTraits.h:155
o2::mch::getErrorWriterSpec
framework::DataProcessorSpec getErrorWriterSpec(const char *specName="mch-error-writer")
Definition
ErrorWriterSpec.cxx:26
o2::framework::DataProcessorSpec
Definition
DataProcessorSpec.h:41
o2::framework::InputSpec
Definition
InputSpec.h:31
o2::framework::MakeRootTreeWriterSpec::BranchDefinition
Definition
MakeRootTreeWriterSpec.h:273
o2::framework::MakeRootTreeWriterSpec::TreeAttributes
Definition
MakeRootTreeWriterSpec.h:315
Detectors
MUON
MCH
Workflow
src
ErrorWriterSpec.cxx
Generated on Tue Feb 25 2025 17:03:06 for Project by
1.9.8