DD4hep - The AIDA detector description toolkit for high energy physics experiments
DD4hep  Rev:Unversioneddirectory
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Geant4DataConversion.cpp
Go to the documentation of this file.
1 // $Id: $
2 //==========================================================================
3 // AIDA Detector description implementation for LCD
4 //--------------------------------------------------------------------------
5 // Copyright (C) Organisation europeenne pour la Recherche nucleaire (CERN)
6 // All rights reserved.
7 //
8 // For the licensing terms see $DD4hepINSTALL/LICENSE.
9 // For the list of contributors see $DD4hepINSTALL/doc/CREDITS.
10 //
11 // Author : M.Frank
12 //
13 //==========================================================================
14 
15 // Framework include files
17 
18 using namespace DD4hep::Simulation;
19 
22 }
23 
26 }
27 
32  return encoding(sd);
33 }
34 
38  return id.fieldDescription();
39 }
40 
44  return id.fieldDescription();
45 }
Handle class to hold the information of a sensitive detector.
Definition: Detector.h:47
Ref_t sensitiveDetector() const
Access to the handle to the sensitive detector.
Definition: Volumes.cpp:743
Handle class holding a placed volume (also called physical volume)
Definition: Volumes.h:135
Volume volume() const
Logical volume of this placement.
Definition: Volumes.cpp:389
static std::string encoding(Geometry::VolumeManager vm, Geometry::VolumeManager::VolumeID vid)
Access to the data encoding using the volume manager and a specified volume id.
PlacedVolume lookupPlacement(VolumeID volume_id) const
Lookup a physical (placed) volume identified by its 64 bit hit ID.
Handle to the implementation of the readout structure of a subdetector.
Definition: Readout.h:46
virtual ~Geant4ConversionHelper()
Default destructor.
IDDescriptor idSpec() const
Access IDDescription structure.
Definition: Readout.cpp:109
DD4hep::Geometry::SensitiveDetector SensitiveDetector
Class to support the retrieval of detector elements and volumes given a valid identifier.
Definition: VolumeManager.h:70
Readout readout() const
Access readout structure of the sensitive detector.
Definition: Detector.cpp:451
Handle: a templated class like a shared pointer, which allows specialized access to tgeometry objects...
Definition: Handle.h:87
Class implementing the ID encoding of detector response.
Definition: IDDescriptor.h:40
std::string fieldDescription() const