ATLAS Offline Software
Loading...
Searching...
No Matches
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
9namespace 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}
static Double_t Tp(Double_t *t, Double_t *par)
bool isCustom(const Primitive &p)