Analysis Software
Documentation for sPHENIX simulation software
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Acts::Geant4AlgebraConverter Struct Reference

#include <acts/blob/sPHENIX/Plugins/Geant4/include/Acts/Plugins/Geant4/Geant4Converters.hpp>

Public Member Functions

Transform3 transform (const G4ThreeVector &g4Trans)
 Translate a geometry transform: translation only.
 
Transform3 transform (const G4RotationMatrix &g4Rot, const G4ThreeVector &g4Trans)
 Translate a geometry transform.
 
Transform3 transform (const G4Transform3D &g4Trf)
 Translate a geometry transform.
 
Transform3 transform (const G4VPhysicalVolume &g4PhysVol)
 Translate a geometry transform from a G4 physical volume.
 

Public Attributes

ActsScalar scale = 1.
 

Detailed Description

Definition at line 33 of file Geant4Converters.hpp.

View newest version in sPHENIX GitHub at line 33 of file Geant4Converters.hpp

Member Function Documentation

Acts::Transform3 Acts::Geant4AlgebraConverter::transform ( const G4ThreeVector &  g4Trans)

Translate a geometry transform: translation only.

Parameters
g4Transthe translation of the Geant4 object
Returns
a Acts transform

Definition at line 43 of file Geant4Converters.cpp.

View newest version in sPHENIX GitHub at line 43 of file Geant4Converters.cpp

References scale.

Referenced by BOOST_AUTO_TEST_CASE(), and Acts::Geant4DetectorSurfaceFactory::construct().

+ Here is the caller graph for this function:

Acts::Transform3 Acts::Geant4AlgebraConverter::transform ( const G4RotationMatrix &  g4Rot,
const G4ThreeVector &  g4Trans 
)

Translate a geometry transform.

Parameters
g4Rotthe rotation of the Geant4 object
g4Transthe translation of the Geant4 object
Returns
a Acts transform

Definition at line 52 of file Geant4Converters.cpp.

View newest version in sPHENIX GitHub at line 52 of file Geant4Converters.cpp

References Acts::Test::transform, and translation().

+ Here is the call graph for this function:

Acts::Transform3 Acts::Geant4AlgebraConverter::transform ( const G4Transform3D &  g4Trf)

Translate a geometry transform.

Parameters
g4Trfthe Geant4 transform object
Returns
a Acts transform

Definition at line 69 of file Geant4Converters.cpp.

View newest version in sPHENIX GitHub at line 69 of file Geant4Converters.cpp

References Acts::Test::transform.

Acts::Transform3 Acts::Geant4AlgebraConverter::transform ( const G4VPhysicalVolume g4PhysVol)

Translate a geometry transform from a G4 physical volume.

Parameters
g4PhysVolthe Geant4 physical volume
Returns
a Acts transform

Definition at line 76 of file Geant4Converters.cpp.

View newest version in sPHENIX GitHub at line 76 of file Geant4Converters.cpp

References Acts::Test::transform.

Member Data Documentation

ActsScalar Acts::Geant4AlgebraConverter::scale = 1.

Definition at line 35 of file Geant4Converters.hpp.

View newest version in sPHENIX GitHub at line 35 of file Geant4Converters.hpp

Referenced by transform().


The documentation for this struct was generated from the following files: