src
Geometry
HGCalTBCommonData
interface
HGCalTBParametersFromDD.h
Go to the documentation of this file.
1
#ifndef HGCalCommonData_HGCalTBParametersFromDD_h
2
#define HGCalCommonData_HGCalTBParametersFromDD_h
3
4
#include <string>
5
#include <vector>
6
#include "
DetectorDescription/Core/interface/DDsvalues.h
"
7
#include "
DetectorDescription/Core/interface/DDCompactView.h
"
8
#include "
DetectorDescription/DDCMS/interface/DDCompactView.h
"
9
10
class
HGCalTBParameters
;
11
12
class
HGCalTBParametersFromDD
{
13
public
:
14
HGCalTBParametersFromDD
() =
default
;
15
virtual
~HGCalTBParametersFromDD
() =
default
;
16
17
bool
build
(
const
DDCompactView
* cpv,
18
HGCalTBParameters
& php,
19
const
std::string
&
name
,
20
const
std::string
& namew,
21
const
std::string
& namec,
22
const
std::string
& namet);
23
bool
build
(
const
cms::DDCompactView
* cpv,
24
HGCalTBParameters
& php,
25
const
std::string
&
name
,
26
const
std::string
& namew,
27
const
std::string
& namec,
28
const
std::string
& namet,
29
const
std::string
&
name2
);
30
31
private
:
32
double
getDDDValue
(
const
char
*
s
,
const
DDsvalues_type
&
sv
);
33
std::vector<double>
getDDDArray
(
const
char
*
s
,
const
DDsvalues_type
&
sv
);
34
constexpr
static
double
tan30deg_
= 0.5773502693;
35
};
36
37
#endif
cms::DDCompactView
Definition:
DDCompactView.h:31
HGCalTBParametersFromDD::build
bool build(const DDCompactView *cpv, HGCalTBParameters &php, const std::string &name, const std::string &namew, const std::string &namec, const std::string &namet)
Definition:
HGCalTBParametersFromDD.cc:14
HGCalTBParameters
Definition:
HGCalTBParameters.h:15
HGCalTBParametersFromDD::HGCalTBParametersFromDD
HGCalTBParametersFromDD()=default
alignCSCRings.s
s
Definition:
alignCSCRings.py:92
HGCalTBParametersFromDD::getDDDValue
double getDDDValue(const char *s, const DDsvalues_type &sv)
Definition:
HGCalTBParametersFromDD.cc:181
pfDeepBoostedJetPreprocessParams_cfi.sv
sv
Definition:
pfDeepBoostedJetPreprocessParams_cfi.py:352
ALPAKA_ACCELERATOR_NAMESPACE::brokenline::constexpr
if constexpr(n > 3)
Definition:
BrokenLine.h:165
hfnoseParametersInitialization_cfi.name2
name2
Definition:
hfnoseParametersInitialization_cfi.py:7
DDCompactView
Compact representation of the geometrical detector hierarchy.
Definition:
DDCompactView.h:81
AlCaHLTBitMon_QueryRunRegistry.string
string string
Definition:
AlCaHLTBitMon_QueryRunRegistry.py:256
HGCalTBParametersFromDD::~HGCalTBParametersFromDD
virtual ~HGCalTBParametersFromDD()=default
HGCalTBParametersFromDD::getDDDArray
std::vector< double > getDDDArray(const char *s, const DDsvalues_type &sv)
Definition:
HGCalTBParametersFromDD.cc:194
DDsvalues_type
std::vector< std::pair< unsigned int, DDValue > > DDsvalues_type
Definition:
DDsvalues.h:12
HGCalTBParametersFromDD
Definition:
HGCalTBParametersFromDD.h:12
HGCalTBParametersFromDD::tan30deg_
static constexpr double tan30deg_
Definition:
HGCalTBParametersFromDD.h:34
DDCompactView.h
DDsvalues.h
DDCompactView.h
Skims_PA_cff.name
name
Definition:
Skims_PA_cff.py:17
Generated for CMSSW Reference Manual by
1.8.14