Main Page
Namespaces
Classes
Package Documentation
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Properties
Friends
Macros
Groups
Pages
FWCore
SOA
interface
tablehelpers.h
Go to the documentation of this file.
1
#ifndef FWCore_SOA_tablehelpers_h
2
#define FWCore_SOA_tablehelpers_h
3
// -*- C++ -*-
4
//
5
// Package: FWCore/SOA
6
//
15
//
16
// Original Author: Chris Jones
17
// Created: Thu, 24 Aug 2017 16:18:18 GMT
18
//
19
20
// system include files
21
#include <type_traits>
22
#include <tuple>
23
24
// user include files
25
26
// forward declarations
27
28
namespace
edm {
29
namespace
soa
{
30
namespace
impl {
31
32
template
<
int
I>
33
struct
FoundIndex
{
34
static
constexpr
int
index
=
I
;
35
};
36
37
template
<
int
I,
typename
T,
typename
TPL>
38
struct
GetIndex
{
39
static
constexpr
int
index
=
std::conditional<std::is_same<T, typename std::tuple_element<I, TPL>::type
>
::value
,
40
FoundIndex<I>
,
41
GetIndex<I + 1, T, TPL>
>
::type::index
;
42
};
43
44
}
// namespace impl
45
}
// namespace soa
46
}
// namespace edm
47
48
#endif
relativeConstraints.value
tuple value
Definition:
relativeConstraints.py:55
edm::soa::impl::GetIndex::index
static constexpr int index
Definition:
tablehelpers.h:39
edm::soa::impl::FoundIndex::index
static constexpr int index
Definition:
tablehelpers.h:34
AlignmentPI::index
index
Definition:
AlignmentPayloadInspectorHelper.h:46
gainCalibHelper::gainCalibPI::type
type
Definition:
SiPixelGainCalibHelper.h:40
gpuVertexFinder::soa
ZVertexSoA * soa
Definition:
gpuVertexFinder.cc:21
Exhume::I
const std::complex< double > I
Definition:
I.h:8
edm::soa::impl::FoundIndex
Definition:
tablehelpers.h:33
edm::soa::impl::GetIndex
Definition:
tablehelpers.h:38
Generated for CMSSW Reference Manual by
1.8.5