Project
Loading...
Searching...
No Matches
StatusMapWriterSpec.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 "
StatusMapWriterSpec.h
"
13
14
#include "
DPLUtils/MakeRootTreeWriterSpec.h
"
15
#include "
MCHStatus/StatusMap.h
"
16
17
using namespace
o2::framework
;
18
19
namespace
o2::mch
20
{
21
22
template
<
typename
T>
23
using
BranchDefinition
=
MakeRootTreeWriterSpec::BranchDefinition<T>
;
24
25
DataProcessorSpec
getStatusMapWriterSpec
(
const
char
*
specName
)
26
{
27
return
MakeRootTreeWriterSpec
(
specName
,
28
"mchstatusmaps.root"
,
29
MakeRootTreeWriterSpec::TreeAttributes
{
"o2sim"
,
"Tree MCH StatusMaps"
},
30
BranchDefinition<StatusMap>
{
InputSpec
{
"statusmaps"
,
"MCH"
,
"STATUSMAP"
},
"statusmaps"
})();
31
}
32
33
}
// namespace o2::mch
MakeRootTreeWriterSpec.h
Configurable generator for RootTreeWriter processor spec.
StatusMapWriterSpec.h
StatusMap.h
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::getStatusMapWriterSpec
DataProcessorSpec getStatusMapWriterSpec(const char *specName)
Definition
StatusMapWriterSpec.cxx:25
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
IO
src
StatusMapWriterSpec.cxx
Generated on Tue Feb 25 2025 17:03:05 for Project by
1.9.8