#include <Ded.h>
Definition at line 18 of file Ded.h.
◆ Ded()
◆ build() [1/2]
Definition at line 35 of file Ded.cxx.
37 std::vector<Cutout *> vcutdef;
39 return build(matManager, mysql, cutoutson, vcutdef);
◆ build() [2/2]
Definition at line 42 of file Ded.cxx.
46 const DED *
r =
dynamic_cast<const DED*
>(mysql.GetTechnology(
name));
48 double tckaluminum =
r->AlThickness;
49 double honthickness =
r->HoneyCombThickness;
51 const GeoShape *shon =
new GeoTrd(honthickness / 2, honthickness / 2,
width / 2. - tckaluminum,
longWidth / 2. - tckaluminum,
length / 2. - tckaluminum);
53 const GeoMaterial *mded = matManager.
getMaterial(
"std::Aluminium");
54 GeoLogVol *lded =
new GeoLogVol(
"DedModuleSkin", sded, mded);
55 GeoPhysVol *pded =
new GeoPhysVol(lded);
58 const GeoMaterial *mhon = matManager.
getMaterial(
"muo::RpcPapHonC");
59 GeoLogVol *lhon =
new GeoLogVol(
"DedModulehoneycomb", shon, mhon);
60 GeoPhysVol *phon =
new GeoPhysVol(lhon);
65 if (cutoutson && !vcutdef.empty()) {
66 GeoPhysVol *tempPhys =
nullptr;
67 Cutout *
cut =
nullptr;
68 GeoShape *cutoutShape =
nullptr;
70 for (
unsigned i = 0;
i < vcutdef.size();
i++) {
73 cutTrans = GeoTrf::Translate3D(0.0,
cut->dx, -
length / 2 +
cut->dy +
cut->lengthY / 2.);
75 GeoIntrusivePtr<GeoVPhysVol> toCut{pded};
76 GeoCutVolAction cutAction(*cutoutShape, cutTrans);
77 toCut->apply(&cutAction);
78 tempPhys = cutAction.getPV();
◆ print()
void MuonGM::Ded::print |
( |
| ) |
const |
|
overridevirtual |
◆ setLogVolName()
void MuonGM::DetectorElement::setLogVolName |
( |
const std::string & |
str | ) |
|
|
inlineinherited |
◆ length
double MuonGM::Ded::length {0.} |
Definition at line 22 of file Ded.h.
◆ logVolName
std::string MuonGM::DetectorElement::logVolName {} |
|
inherited |
◆ longWidth
double MuonGM::Ded::longWidth {0.} |
Definition at line 24 of file Ded.h.
◆ m_component
Definition at line 36 of file Ded.h.
◆ name
std::string MuonGM::DetectorElement::name {} |
|
inherited |
◆ thickness
double MuonGM::Ded::thickness {0.} |
Definition at line 23 of file Ded.h.
◆ width
double MuonGM::Ded::width {0.} |
Definition at line 21 of file Ded.h.
The documentation for this class was generated from the following files: