ATLAS Offline Software
Loading...
Searching...
No Matches
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
}
Tp
static Double_t Tp(Double_t *t, Double_t *par)
Definition
LArPhysWaveHECTool.cxx:354
PrimitiveHelpers.h
detail
Definition
extract_histogram_tag.cxx:14
detail::isCustom
bool isCustom(const Primitive &p)
Definition
PrimitiveHelpers.cxx:10
Primitive
Definition
Primitive.h:10
Primitive::Type
Type
Definition
Primitive.h:11
Generated on
for ATLAS Offline Software by
1.14.0