EIC Software
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
TKLayoutEndcap_geo.cpp File Reference
#include "Acts/Plugins/DD4hep/ActsExtension.hpp"
#include "DD4hep/DetFactoryHelper.h"
+ Include dependency graph for TKLayoutEndcap_geo.cpp:

Go to the source code of this file.

Functions

static Ref_t create_element (Detector &lcdd, xml_h xml, SensitiveDetector sens)
 

Function Documentation

static Ref_t create_element ( Detector &  lcdd,
xml_h  xml,
SensitiveDetector  sens 
)
static

Constructor for a disc like endcap volume, possibly containing layers and the layers possibly containing modules. Both endcaps, the positive and negative can be build with this constructor. CMS like style

Definition at line 22 of file TKLayoutEndcap_geo.cpp.

View newest version in sPHENIX GitHub at line 22 of file TKLayoutEndcap_geo.cpp

References Acts::ActsExtension::addType(), cos(), k, G4TTL::layer, M_PI, phi, Acts::UnitConstants::rad, and G4BECAL::radius.

+ Here is the call graph for this function: