Geometry
HGCalCommonData
interface
HGCalParametersFromDD.h
Go to the documentation of this file.
1
#ifndef HGCalCommonData_HGCalParametersFromDD_h
2
#define HGCalCommonData_HGCalParametersFromDD_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
HGCalParameters
;
11
12
class
HGCalParametersFromDD
{
13
public
:
14
HGCalParametersFromDD
() {}
15
virtual
~HGCalParametersFromDD
() {}
16
17
bool
build
(
const
DDCompactView
* cpv,
18
HGCalParameters
& 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
HGCalParameters
& 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
void
getCellPosition
(
HGCalParameters
& php,
int
type
);
33
double
getDDDValue
(
const
char
*
s
,
const
DDsvalues_type
&
sv
);
34
std::vector<double>
getDDDArray
(
const
char
*
s
,
const
DDsvalues_type
&
sv
);
35
constexpr
static
double
tan30deg_
= 0.5773502693;
36
};
37
38
#endif
cms::DDCompactView
Definition:
DDCompactView.h:31
HGCalParametersFromDD::HGCalParametersFromDD
HGCalParametersFromDD()
Definition:
HGCalParametersFromDD.h:14
alignCSCRings.s
s
Definition:
alignCSCRings.py:92
pfDeepBoostedJetPreprocessParams_cfi.sv
sv
Definition:
pfDeepBoostedJetPreprocessParams_cfi.py:352
HGCalParametersFromDD::build
bool build(const DDCompactView *cpv, HGCalParameters &php, const std::string &name, const std::string &namew, const std::string &namec, const std::string &namet)
Definition:
HGCalParametersFromDD.cc:57
hfnoseParametersInitialization_cfi.name2
name2
Definition:
hfnoseParametersInitialization_cfi.py:7
type
type
Definition:
SiPixelVCal_PayloadInspector.cc:39
DDCompactView
Compact representation of the geometrical detector hierarchy.
Definition:
DDCompactView.h:81
AlCaHLTBitMon_QueryRunRegistry.string
string string
Definition:
AlCaHLTBitMon_QueryRunRegistry.py:256
HGCalParametersFromDD::~HGCalParametersFromDD
virtual ~HGCalParametersFromDD()
Definition:
HGCalParametersFromDD.h:15
DDsvalues_type
std::vector< std::pair< unsigned int, DDValue > > DDsvalues_type
Definition:
DDsvalues.h:12
HGCalParametersFromDD
Definition:
HGCalParametersFromDD.h:12
HGCalParameters
Definition:
HGCalParameters.h:15
DDCompactView.h
HGCalParametersFromDD::getDDDValue
double getDDDValue(const char *s, const DDsvalues_type &sv)
Definition:
HGCalParametersFromDD.cc:570
DDsvalues.h
DDCompactView.h
HGCalParametersFromDD::getDDDArray
std::vector< double > getDDDArray(const char *s, const DDsvalues_type &sv)
Definition:
HGCalParametersFromDD.cc:583
Skims_PA_cff.name
name
Definition:
Skims_PA_cff.py:17
HGCalParametersFromDD::tan30deg_
static constexpr double tan30deg_
Definition:
HGCalParametersFromDD.h:35
HGCalParametersFromDD::getCellPosition
void getCellPosition(HGCalParameters &php, int type)
Definition:
HGCalParametersFromDD.cc:507
Generated for CMSSW Reference Manual by
1.8.14