src
Geometry
HcalTestBeamData
interface
HcalTB02ParametersFromDD.h
Go to the documentation of this file.
1
#ifndef HcalTestBeamData_HcalTB02ParametersFromDD_h
2
#define HcalTestBeamData_HcalTB02ParametersFromDD_h
3
4
#include <string>
5
#include <vector>
6
#include "
DetectorDescription/Core/interface/DDCompactView.h
"
7
#include "
DetectorDescription/Core/interface/DDFilteredView.h
"
8
#include "
DetectorDescription/DDCMS/interface/DDCompactView.h
"
9
#include "
DetectorDescription/DDCMS/interface/DDFilteredView.h
"
10
#include "
Geometry/HcalTestBeamData/interface/HcalTB02Parameters.h
"
11
#include "DD4hep/DD4hepUnits.h"
12
13
class
HcalTB02ParametersFromDD
{
14
public
:
15
HcalTB02ParametersFromDD
() =
default
;
16
17
bool
build
(
const
DDCompactView
* cpv,
HcalTB02Parameters
& php,
const
std::string
&
name
);
18
bool
build
(
const
cms::DDCompactView
* cpv,
HcalTB02Parameters
& php,
const
std::string
&
name
);
19
20
private
:
21
static
constexpr
double
k_ScaleFromDDDToG4
= 1.0;
22
static
constexpr
double
k_ScaleFromDD4hepToG4
= (1.0 / dd4hep::mm);
23
};
24
25
#endif
cms::DDCompactView
Definition:
DDCompactView.h:31
HcalTB02ParametersFromDD::k_ScaleFromDD4hepToG4
static constexpr double k_ScaleFromDD4hepToG4
Definition:
HcalTB02ParametersFromDD.h:22
ALPAKA_ACCELERATOR_NAMESPACE::brokenline::constexpr
if constexpr(n > 3)
Definition:
BrokenLine.h:164
DDCompactView
Compact representation of the geometrical detector hierarchy.
Definition:
DDCompactView.h:81
AlCaHLTBitMon_QueryRunRegistry.string
string string
Definition:
AlCaHLTBitMon_QueryRunRegistry.py:256
HcalTB02ParametersFromDD::build
bool build(const DDCompactView *cpv, HcalTB02Parameters &php, const std::string &name)
Definition:
HcalTB02ParametersFromDD.cc:10
mergeVDriftHistosByStation.name
name
Definition:
mergeVDriftHistosByStation.py:78
HcalTB02Parameters
Definition:
HcalTB02Parameters.h:9
DDFilteredView.h
HcalTB02ParametersFromDD::HcalTB02ParametersFromDD
HcalTB02ParametersFromDD()=default
DDCompactView.h
HcalTB02ParametersFromDD
Definition:
HcalTB02ParametersFromDD.h:13
HcalTB02Parameters.h
DDFilteredView.h
DDCompactView.h
HcalTB02ParametersFromDD::k_ScaleFromDDDToG4
static constexpr double k_ScaleFromDDDToG4
Definition:
HcalTB02ParametersFromDD.h:21
Generated for CMSSW Reference Manual by
1.8.14