ATLAS Offline Software
PhysicsAnalysis
JetTagging
JetH5Writer
src
PrimitiveHelpers.cxx
Go to the documentation of this file.
1
/*
2
Copyright (C) 2002-2024 CERN for the benefit of the ATLAS collaboration
3
*/
4
#include "
PrimitiveHelpers.h
"
5
6
#include <unordered_set>
7
8
9
namespace
detail
{
10
bool
isCustom
(
const
Primitive
&
p
) {
11
return
isCustom
(
p
.type);
12
}
13
bool
isCustom
(
const
Primitive::Type
&
t
) {
14
using
Tp =
Primitive::Type
;
15
return
std::unordered_set {
16
Tp::CUSTOM, Tp::PRECISION_CUSTOM
17
}.count(
t
);
18
}
19
}
PrimitiveHelpers.h
Primitive
Definition:
Primitive.h:10
detail
Definition:
extract_histogram_tag.cxx:14
read_hist_ntuple.t
t
Definition:
read_hist_ntuple.py:5
python.utils.AtlRunQueryDQUtils.p
p
Definition:
AtlRunQueryDQUtils.py:210
Primitive::Type
Type
Definition:
Primitive.h:11
detail::isCustom
bool isCustom(const Primitive &p)
Definition:
PrimitiveHelpers.cxx:10
Generated on Mon Nov 18 2024 21:24:11 for ATLAS Offline Software by
1.8.18