|
![CMS Logo](/cmsdoxygen/common/rightImage.jpg) |
Go to the documentation of this file.
18 const std::vector<double>& paras = sol.
parameters();
20 edm::LogVerbatim(
"HcalTBSim") <<
"HcalTB02ParametersFromDD (for " <<
name <<
"): Solid " << namx <<
" Shape "
21 << sol.
shape() <<
" Parameter 0 = " << paras[0];
24 php.
lengthMap_.insert(std::pair<std::string, double>(namx,
dz));
28 edm::LogVerbatim(
"HcalTBSim") <<
"HcalTB02ParametersFromDD: Length Table for ReadOutName = " <<
name <<
":";
29 std::map<std::string, double>::const_iterator it = php.
lengthMap_.begin();
32 edm::LogVerbatim(
"HcalTBSim") <<
" " <<
i <<
" " << it->first <<
" L = " << it->second;
42 const std::vector<double>& paras = fv.
parameters();
43 edm::LogVerbatim(
"HcalTBSim") <<
"HcalTB02ParametersFromDD (for " <<
name <<
"): Solid " << namx <<
" Shape "
47 php.
lengthMap_.insert(std::pair<std::string, double>(namx,
dz));
50 edm::LogVerbatim(
"HcalTBSim") <<
"HcalTB02ParametersFromDD: Length Table for ReadOutName = " <<
name <<
":";
51 std::map<std::string, double>::const_iterator it = php.
lengthMap_.begin();
54 edm::LogVerbatim(
"HcalTBSim") <<
" " <<
i <<
" " << it->first <<
" L = " << it->second;
const std::vector< double > parameters() const
extract shape parameters
const DDLogicalPart & logicalPart() const
The logical-part of the current node in the filtered-view.
std::string_view name() const
DDSolidShape shape(void) const
The type of the solid.
static constexpr double k_ScaleFromDD4HepToG4
bool firstChild()
set the current node to the first child ...
std::string name(Mapping a, V value)
bool next()
set current node to the next node in the filtered tree
Compact representation of the geometrical detector hierarchy.
std::string_view noNamespace(std::string_view)
bool firstChild()
set the current node to the first child
const cms::DDSolidShape shape() const
bool build(const DDCompactView *cpv, HcalTB02Parameters &php, const std::string &name)
const std::array< const cms::dd::NameValuePair< DDSolidShape >, 19 > DDSolidShapeMap
const std::string & name() const
Returns the name.
std::map< std::string, double > lengthMap_
const std::vector< double > & parameters(void) const
Give the parameters of the solid.
static constexpr double k_ScaleFromDDDToG4
A DDSolid represents the shape of a part.
auto isATrapezoid(Ts &&... ts) const -> decltype(isA< dd4hep::Trap >(std::forward< Ts >(ts)...))
const DDSolid & solid(void) const
Returns a reference object of the solid being the shape of this LogicalPart.