Example #1
0
VECGEOM_CUDA_HEADER_BOTH
void LogicalVolume::PrintContent(const int depth) const {
  for (int i = 0; i < depth; ++i) printf("  ");
  unplaced_volume()->Print();
  printf("\n");
  for (Iterator<VPlacedVolume const*> vol = daughters_->begin();
       vol != daughters_->end(); ++vol) {
    (*vol)->logical_volume()->PrintContent(depth + 1);
  }
}
Example #2
0
VPlacedVolume* LogicalVolume::Place(char const *const label) const {
  return unplaced_volume()->PlaceVolume(
           label, this, &Transformation3D::kIdentity
         );
}
Example #3
0
VPlacedVolume* LogicalVolume::Place(
    char const *const label,
    Transformation3D const *const transformation) const {
  return unplaced_volume()->PlaceVolume(label, this, transformation);
}