![]() |
![]() |
DD4hep - The AIDA detector description toolkit for high energy physics experiments
DD4hep
Rev:Unversioneddirectory
|
#include "DD4hep/LCDD.h"
#include "DD4hep/Printout.h"
#include "DD4hep/InstanceCount.h"
#include "DD4hep/MatrixHelpers.h"
#include "DD4hep/objects/ObjectsInterna.h"
#include "TColor.h"
#include "TGeoShape.h"
#include "TGeoVolume.h"
#include "TGeoNode.h"
#include "TGeoMatrix.h"
#include "TGeoMedium.h"
#include "TGeoVoxelFinder.h"
#include "TGeoShapeAssembly.h"
#include <climits>
#include <iostream>
#include <stdexcept>
#include <sstream>
#include "TROOT.h"
Go to the source code of this file.
Typedefs | |
typedef TGeoNode | geo_node_t |
typedef TGeoVolume | geo_volume_t |
typedef TGeoVolumeAssembly | geo_assembly_t |
Functions | |
template<typename T > | |
static T::Object * | _userExtension (const T &v) |
ClassImp (PlacedVolumeExtension) static TGeoVolume *_createTGeoVolume(const string &name | |
e | SetUserExtension (new Volume::Object()) |
static TGeoVolume * | _createTGeoVolumeAssembly (const string &name) |
static PlacedVolume::Object * | _data (const PlacedVolume &v) |
ClassImp (VolumeExtension) VolumeExtension | |
Enable ROOT persistency. More... | |
Volume::Object * | _data (const Volume &v, bool throw_exception=true) |
Accessor to the data part of the Volume. More... | |
static PlacedVolume | _addNode (TGeoVolume *par, TGeoVolume *daughter, TGeoMatrix *transform) |
Variables | |
TGeoShape * | s |
TGeoShape TGeoMedium * | m |
return | e |
typedef TGeoVolumeAssembly geo_assembly_t |
Definition at line 285 of file Volumes.cpp.
typedef TGeoNode geo_node_t |
Definition at line 283 of file Volumes.cpp.
typedef TGeoVolume geo_volume_t |
Definition at line 284 of file Volumes.cpp.
|
static |
Definition at line 490 of file Volumes.cpp.
References DD4hep::Geometry::identityTransform().
Referenced by DD4hep::Geometry::Volume::placeVolume().
|
static |
Definition at line 299 of file Volumes.cpp.
References e.
Referenced by DD4hep::Geometry::Assembly::Assembly().
|
static |
Definition at line 363 of file Volumes.cpp.
References _userExtension().
Referenced by DD4hep::Geometry::PlacedVolume::addPhysVolID(), DD4hep::Geometry::Volume::isSensitive(), DD4hep::Geometry::Volume::limitSet(), DD4hep::Geometry::Volume::region(), DD4hep::Geometry::Volume::sensitiveDetector(), DD4hep::Geometry::Volume::setLimitSet(), DD4hep::Geometry::Volume::setRegion(), DD4hep::Geometry::Volume::setSensitiveDetector(), DD4hep::Geometry::PlacedVolume::toString(), DD4hep::Geometry::Volume::visAttributes(), and DD4hep::Geometry::PlacedVolume::volIDs().
Volume::Object* _data | ( | const Volume & | v, |
bool | throw_exception = true |
||
) |
Accessor to the data part of the Volume.
Definition at line 464 of file Volumes.cpp.
References _userExtension().
Referenced by DD4hep::Geometry::VolumeManager::addSubdetector(), DD4hep::Geometry::VolumeManager::adoptPlacement(), DD4hep::Geometry::VolumeManager::detector(), DD4hep::Geometry::VolumeManager::idSpec(), DD4hep::Geometry::VolumeManager::lookupContext(), DD4hep::Geometry::VolumeManager::subdetector(), and DD4hep::Alignments::GlobalDetectorAlignment::volumeAlignments().
|
static |
Definition at line 286 of file Volumes.cpp.
Referenced by _data(), DD4hep::Geometry::PlacedVolume::data(), DD4hep::Geometry::Volume::data(), and DD4hep::Geometry::Volume::setVisAttributes().
ClassImp | ( | PlacedVolumeExtension | ) | const |
ClassImp | ( | VolumeExtension | ) |
Enable ROOT persistency.
Default constructor
Definition at line 416 of file Volumes.cpp.
References INCREMENT_COUNTER.
e SetUserExtension | ( | new Volume:: | Object() | ) |
return e |
Definition at line 297 of file Volumes.cpp.
Referenced by _createTGeoVolumeAssembly(), DD4hep::Layering::absorberThicknessInLayer(), DD4hep::XML::Element::addChild(), DD4hep::Alignments::GlobalAlignmentWriter::addNode(), DD4hep::DDSegmentation::MultiSegmentation::addSubsegmentation(), DD4hep::Alignments::GlobalAlignmentCache::apply(), DD4hep::Geometry::LCDDImp::apply(), DD4hep::Geometry::Atom::Atom(), DD4hep::Simulation::Geant4Output2LCIO::begin(), DD4hep::XML::Handle_t::child(), DD4hep::ObjectExtensions::clear(), DD4hep::PluginTester::clear(), DD4hep::XML::Handle_t::clone(), DD4hep::Conditions::Operators::collectAllConditions(), DD4hep::Simulation::Geant4Output2LCIO::commit(), DD4hep::Alignments::AlignmentsManagerObject::compute(), DD4hep::View::ConfigureGeometry(), DD4hep::ObjectExtensions::copyFrom(), create_detector(), create_element(), DD4hep::Simulation::SequenceHdl< Geant4GeneratorActionSequence >::createClientContext(), DD4hep::Alignments::GlobalAlignmentWriter::createElement(), DD4hep::DDRec::createGearForCLIC(), DD4hep::DDRec::createGearForILD(), DD4hep::createGearMgr(), DD4hep::XML::createPlacedEnvelope(), DD4hep::Simulation::SequenceHdl< Geant4GeneratorActionSequence >::destroyClientContext(), DD4hep::Simulation::Geant4StepHandler::direction(), DD4hep::Conditions::ConditionsDependencyHandler::do_callback(), DD4hep::Conditions::Test::TestEnv::dump_conditions_pools(), DD4hep::Simulation::Geant4OutputAction::end(), DD4hep::XML::Collection_t::for_each(), DD4hep::Simulation::Geant4FieldTrackingConstruction::Geant4FieldTrackingConstruction(), DD4hep::Simulation::Geant4FieldTrackingSetupAction::Geant4FieldTrackingSetupAction(), DD4hep::Simulation::Geant4Handle< TYPE >::Geant4Handle(), DD4hep::Simulation::Geant4ParticleHandler::Geant4ParticleHandler(), DD4hep::DDRec::Surface::getLines(), DD4hep::DDRec::SubdetectorExtensionImpl::getNSides(), DD4hep::DDRec::SubdetectorExtensionImpl::getRMax(), DD4hep::DDRec::SubdetectorExtensionImpl::getRMin(), DD4hep::Simulation::Geant4Converter::handleMaterial(), DD4hep::PopupMenu::HandleMenu(), DD4hep::Projection::ImportElement(), DD4hep::DDRec::DetectorSurfaces::initialize(), DD4hep::Utilities::LoadDetElement(), DD4hep::Display::LoadGeoChildren(), DD4hep::Utilities::MakeNodesVisible(), mapped_entries(), DD4hep::DDSegmentation::Segmentation::neighbours(), DD4hep::GenericEventHandler::NextEvent(), DD4hep::GenericEventHandler::Open(), DD4hep::MCParticleCreator::operator()(), DD4hep::Handle< ReadoutObject >::operator<(), DD4hep::Alignments::AlignmentStack::pop(), DD4hep::DDSegmentation::Segmentation::positionToBin(), DD4hep::Simulation::Geant4SensitiveAction< T >::process(), DD4hep::LCDDLoad::processXML(), DD4hep::Simulation::Geant4InputAction::readParticles(), DD4hep::PluginTester::removeExtension(), DD4hep::ObjectExtensions::removeExtension(), DD4hep::Simulation::Geant4Kernel::run(), DD4hep::Simulation::Geant4Output2LCIO::saveEvent(), DD4hep::Layering::sensitivePositionsInLayer(), DD4hep::XML::setDetectorTypeFlag(), DD4hep::Simulation::Geant4UIMessenger::SetNewValue(), DD4hep::Utilities::SetRnrAll(), DD4hep::Geometry::Readout::setSegmentation(), setup_DDEve(), DD4hep::Layering::singleLayerThickness(), DD4hep::DDSegmentation::MultiSegmentation::subsegmentation(), DD4hep::Conditions::Test::TestEnv::TestEnv(), DD4hep::Alignments::AlignmentsManagerObject::to_world(), DD4hep::DDRec::VolConeImpl::VolConeImpl(), and DD4hep::DDRec::volSurfaceList().
TGeoShape TGeoMedium* m |
Definition at line 294 of file Volumes.cpp.
Referenced by DD4hep::Geometry::Material::A(), DD4hep::Geometry::VolumeManager::addSubdetector(), DD4hep::Geometry::AlignmentEntry::align(), DD4hep::Simulation::Geant4ParticleHandler::begin(), DD4hep::Simulation::boostInteraction(), DD4hep::DD4hepMenu::Build(), DD4hep::ViewMenu::BuildView(), DD4hep::XML::Handle_t::checksum(), DD4hep::Geometry::GeoHandler::collect(), DD4hep::Alignments::AlignmentTools::computeIdeal(), create_detector(), DD4hep::Geometry::Material::density(), DD4hep::destroyHandles(), DD4hep::Simulation::Geant4ParticleMap::dump(), DD4hep::Simulation::Geant4ParticleHandler::end(), DD4hep::XML::DocumentErrorHandler::error(), DD4hep::XML::DocumentErrorHandler::fatalError(), DD4hep::Geometry::IDDescriptor::field(), DD4hep::Geometry::IDDescriptor::fieldID(), DD4hep::Simulation::Geant4HitCollection::getData(), DD4hep::Alignments::GlobalAlignment::globalToLocal(), DD4hep::DDRec::Surface::initialize(), DD4hep::insert_map_item(), DD4hep::insert_map_pair(), DD4hep::EveUserContextMenu::InstallGeometryContextMenu(), DD4hep::ContextMenu::instance(), DD4hep::Geometry::Material::intLength(), DD4hep::ReferenceBitMask< T >::isSet(), DD4hep::unrelated_type_error::msg(), DD4hep::unrelated_value_error::msg(), DD4hep::notImplemented(), DD4hep::DD4hepMenu::OnGeometryLoaded(), DD4hep::DD4hepMenu::OnOpenEventData(), DD4hep::Simulation::Geant4SharedSteppingAction::operator()(), DD4hep::Converter< T, ARG >::operator()(), DD4hep::Simulation::Geant4Mapping::placement(), DD4hep::Geometry::Material::radLength(), DD4hep::Simulation::HepMC::read_units(), DD4hep::Simulation::Geant4HitCollection::releaseData(), DD4hep::releaseHandles(), DD4hep::ReferenceBitMask< T >::set(), DD4hep::ReferenceBitMask< T >::testBit(), DD4hep::Alignments::GlobalAlignment::toGlobal(), DD4hep::Simulation::Geant4VolumeManager::volumeDescriptor(), DD4hep::Simulation::Geant4VolumeManager::volumeID(), and DD4hep::Geometry::Material::Z().
TGeoShape* s |
Definition at line 294 of file Volumes.cpp.
Referenced by DD4hep::Simulation::RefCountedSequence< Geant4SensDetActionSequence >::_aquire(), DD4hep::Simulation::SequenceHdl< Geant4GeneratorActionSequence >::_aquire(), _fill(), _stack(), DD4hep::XML::_toBool(), DD4hep::XML::_toDouble(), DD4hep::XML::_toFloat(), DD4hep::XML::_toInt(), DD4hep::_toInt(), DD4hep::XML::_toLong(), DD4hep::_toLong(), DD4hep::_toShort(), DD4hep::XML::_toString(), DD4hep::Layering::absorberThicknessInLayer(), DD4hep::DDSegmentation::BitField64::addField(), DD4hep::Geometry::Polycone::addZPlanes(), DD4hep::Handle< T >::assign(), TiXmlElement::Attribute(), DD4hep::DDSegmentation::BitFieldValue::BitFieldValue(), ClassImp(), DD4hep::copyObject(), create_detector(), DD4hep::DDRec::createGearForCLIC(), DD4hep::DDRec::createGearForILD(), DD4hep::DDRec::invalid_cell_id::createMsg(), DD4hep::DDRec::invalid_position::createMsg(), DD4hep::DDRec::invalid_detector_element::createMsg(), DD4hep::DDSegmentation::TypedSegmentationParameter< TYPE >::defaultValue(), DD4hep::DDSegmentation::TypedSegmentationParameter< std::vector< TYPE > >::defaultValue(), DD4hep::Geometry::DetectorTools::elementPath(), DD4hep::eval_item< std::string >(), DD4hep::XML::LayeringCnv::fromCompact(), DD4hep::Geometry::GeometryTreeDump::handleSolid(), DD4hep::Geometry::SimpleGDMLWriter::handleSolid(), DD4hep::Simulation::Geant4Converter::handleVolume(), DD4hep::View::ImportEventElement(), DD4hep::View::ImportGeoElement(), DD4hep::DDSegmentation::BitField64::init(), DD4hep::ElementListContextMenu::install(), DD4hep::PluginFactoryBase::make_return(), DD4hep::Utilities::MakeNodesVisible(), DD4hep::Simulation::Geant4SharedSteppingAction::operator()(), operator<<(), DDSurfaces::operator<<(), DD4hep::DDSegmentation::BitFieldValue::operator=(), DD4hep::XML::Tag_t::operator=(), DD4hep::DDSegmentation::Segmentation::parameter(), DD4hep::Path::Path(), DD4hep::Geometry::DetectorTools::placementPath(), DD4hep::Simulation::Geant4GeometryMaps::placementPath(), DD4hep::Simulation::Geant4SensDetActionSequence::process(), DD4hep::Simulation::Geant4StepHandler::sdName(), DD4hep::Layering::sensitivePositionsInLayer(), DD4hep::DDSegmentation::TypedSegmentationParameter< TYPE >::setValue(), DD4hep::DDSegmentation::TypedSegmentationParameter< std::vector< TYPE > >::setValue(), DD4hep::Layering::singleLayerThickness(), DD4hep::DDSegmentation::MultiSegmentation::subsegmentation(), DD4hep::Utils::toStream(), DD4hep::DDSegmentation::SegmentationParameter::toString(), DD4hep::Geometry::PlacedVolume::toString(), DD4hep::Utils::toString(), DD4hep::Geometry::toStringSolid(), DD4hep::DDSegmentation::TypedSegmentationParameter< std::vector< TYPE > >::type(), DD4hep::Simulation::Geant4UserSteppingAction::UserSteppingAction(), DD4hep::DDSegmentation::TypedSegmentationParameter< TYPE >::value(), DD4hep::DDSegmentation::TypedSegmentationParameter< std::vector< TYPE > >::value(), and DD4hep::dd4hep_file< T >::write().