src
Geometry
HGCalGeometry
interface
CaloGeometryDBHGCal.h
Go to the documentation of this file.
1
#ifndef Geometry_HGCalGeometry_CaloGeometryDBHGCal_h
2
#define Geometry_HGCalGeometry_CaloGeometryDBHGCal_h
3
4
#include "
Geometry/CaloEventSetup/interface/CaloGeometryDBEP.h
"
5
#include "
Geometry/HGCalGeometry/interface/HGCalGeometry.h
"
6
7
// Specializations for HGCal
8
namespace
calogeometryDBEPimpl
{
9
static
constexpr
auto
nameHGCal
=
"HGCalEESensitive"
;
10
template
<>
11
struct
GeometryTraits
<
HGCalGeometry
,
true
> {
12
using
TokenType
=
edm::ESGetToken<HGCalGeometry, IdealGeometryRecord>
;
13
14
static
TokenType
makeToken
(
edm::ESConsumesCollectorT<HGCalGeometry::AlignedRecord>
&
cc
) {
15
return
cc
.template consumesFrom<HGCalGeometry, IdealGeometryRecord>(
edm::ESInputTag
{
""
,
nameHGCal
});
16
}
17
};
18
template
<>
19
struct
AdditionalTokens
<
HGCalGeometry
> {
20
void
makeTokens
(
edm::ESConsumesCollectorT<HGCalGeometry::AlignedRecord>
&
cc
) {
21
topology
=
cc
.consumesFrom<
HGCalTopology
,
IdealGeometryRecord
>(
edm::ESInputTag
{
""
,
nameHGCal
});
22
}
23
edm::ESGetToken<HGCalTopology, IdealGeometryRecord>
topology
;
24
};
25
}
// namespace calogeometryDBEPimpl
26
27
#endif
HGCalGeometry
Definition:
HGCalGeometry.h:29
gpuPixelDoublets::cc
uint32_t cc[maxCellsPerHit]
Definition:
gpuFishbone.h:49
edm::ESInputTag
Definition:
ESInputTag.h:87
calogeometryDBEPimpl
Definition:
CaloGeometryDBEP.h:33
HGCalGeometry.h
calogeometryDBEPimpl::AdditionalTokens< HGCalGeometry >::makeTokens
void makeTokens(edm::ESConsumesCollectorT< HGCalGeometry::AlignedRecord > &cc)
Definition:
CaloGeometryDBHGCal.h:20
ALPAKA_ACCELERATOR_NAMESPACE::brokenline::constexpr
if constexpr(n > 3)
Definition:
BrokenLine.h:164
CaloGeometryDBEP.h
funct::true
true
Definition:
Factorize.h:173
edm::ESGetToken< HGCalGeometry, IdealGeometryRecord >
HLT_2024v14_cff.topology
topology
Definition:
HLT_2024v14_cff.py:10482
edm::ESConsumesCollectorT
Definition:
ESConsumesCollector.h:128
calogeometryDBEPimpl::AdditionalTokens
Definition:
CaloGeometryDBEP.h:79
IdealGeometryRecord
Definition:
IdealGeometryRecord.h:25
calogeometryDBEPimpl::GeometryTraits
Definition:
CaloGeometryDBEP.h:36
calogeometryDBEPimpl::nameHGCal
static constexpr auto nameHGCal
Definition:
CaloGeometryDBHGCal.h:9
HGCalTopology
Definition:
HGCalTopology.h:12
calogeometryDBEPimpl::GeometryTraits< HGCalGeometry, true >::makeToken
static TokenType makeToken(edm::ESConsumesCollectorT< HGCalGeometry::AlignedRecord > &cc)
Definition:
CaloGeometryDBHGCal.h:14
calogeometryDBEPimpl::AdditionalTokens< HGCalGeometry >::topology
edm::ESGetToken< HGCalTopology, IdealGeometryRecord > topology
Definition:
CaloGeometryDBHGCal.h:23
Generated for CMSSW Reference Manual by
1.8.14