EIC Software
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Endcap_geo.cpp File Reference
#include "Acts/Plugins/DD4hep/ActsExtension.hpp"
#include "ActsExamples/DD4hepDetector/DD4hepDetectorHelper.hpp"
#include "DD4hep/DetFactoryHelper.h"
+ Include dependency graph for Endcap_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. Atlas like style

Definition at line 23 of file Endcap_geo.cpp.

View newest version in sPHENIX GitHub at line 23 of file Endcap_geo.cpp

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

+ Here is the call graph for this function: