Analysis Software
Documentation for sPHENIX simulation software
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
PrimitivesFactory.cpp File Reference
#include "Acts/Plugins/DD4hep/DD4hepConversionHelpers.hpp"
#include <DD4hep/DetFactoryHelper.h>
#include <DD4hep/Objects.h>
#include <XML/Utilities.h>
#include "DD4hepTestsHelper.hpp"
+ Include dependency graph for PrimitivesFactory.cpp:

Go to the source code of this file.

Functions

static Ref_t create_cylinder (Detector &dd, xml_h xml, SensitiveDetector)
 
static Ref_t create_disc (Detector &dd, xml_h xml, SensitiveDetector)
 
static Ref_t create_rectangle (Detector &dd, xml_h xml, SensitiveDetector)
 
static Ref_t create_trapezoid (Detector &dd, xml_h xml, SensitiveDetector)
 

Function Documentation

static Ref_t create_cylinder ( Detector &  dd,
xml_h  xml,
SensitiveDetector   
)
static

Standard create_cylinder(...) create a simple cylinder

Parameters
ddthe detector to which this is addedded
xmlthe input xml element
sensis ignored
Returns
a reference counted DetElement

Definition at line 27 of file PrimitivesFactory.cpp.

View newest version in sPHENIX GitHub at line 27 of file PrimitivesFactory.cpp

References DD4hepTestsHelper::createTransform(), and Acts::Test::phiMin.

+ Here is the call graph for this function:

static Ref_t create_disc ( Detector &  dd,
xml_h  xml,
SensitiveDetector   
)
static

Standard create_disc(...) create a simple disc

Parameters
ddthe detector to which this is addedded
xmlthe input xml element
sensis ignored
Returns
a reference counted DetElement

Definition at line 67 of file PrimitivesFactory.cpp.

View newest version in sPHENIX GitHub at line 67 of file PrimitivesFactory.cpp

References DD4hepTestsHelper::createTransform(), and Acts::Test::phiMin.

+ Here is the call graph for this function:

static Ref_t create_rectangle ( Detector &  dd,
xml_h  xml,
SensitiveDetector   
)
static

Standard create_rectangle(...) create a simple rectangle

Parameters
ddthe detector to which this is addedded
xmlthe input xml element
sensis ignored
Returns
a reference counted DetElement

Definition at line 108 of file PrimitivesFactory.cpp.

View newest version in sPHENIX GitHub at line 108 of file PrimitivesFactory.cpp

References DD4hepTestsHelper::createTransform().

+ Here is the call graph for this function:

static Ref_t create_trapezoid ( Detector &  dd,
xml_h  xml,
SensitiveDetector   
)
static

Standard create_trapezoid (...) create a simple trapezoid

Parameters
ddthe detector to which this is addedded
xmlthe input xml element
sensis ignored
Returns
a reference counted DetElement

Definition at line 147 of file PrimitivesFactory.cpp.

View newest version in sPHENIX GitHub at line 147 of file PrimitivesFactory.cpp

References DD4hepTestsHelper::createTransform().

+ Here is the call graph for this function: