Analysis Software
Documentation for sPHENIX simulation software
|
#include "Acts/Geometry/VolumeBounds.hpp"
#include "Acts/Plugins/DD4hep/DD4hepBinningHelpers.hpp"
#include "Acts/Plugins/DD4hep/DD4hepConversionHelpers.hpp"
#include "Acts/Utilities/Logger.hpp"
#include <DD4hep/DetFactoryHelper.h>
#include <DD4hep/Objects.h>
#include <DDRec/DetectorData.h>
#include <XML/Utilities.h>
#include "DD4hepTestsHelper.hpp"
Go to the source code of this file.
Functions | |
DetElement | addCylinderLayer (Detector &dd, Assembly &dAssembly, const xml_comp_t &x_layer, SensitiveDetector sens, int layerID=0) |
Helper method to add a layer to the detector. | |
static Ref_t | create_barrel_detector (Detector &dd, xml_h xml, SensitiveDetector sens) |
static Ref_t | create_disc_layer (Detector &dd, xml_h xml, SensitiveDetector sens) |
DetElement addCylinderLayer | ( | Detector & | dd, |
Assembly & | dAssembly, | ||
const xml_comp_t & | x_layer, | ||
SensitiveDetector | sens, | ||
int | layerID = 0 |
||
) |
Helper method to add a layer to the detector.
dd | the detector to which this is added |
dAssembly | the detector assembly |
x_layer | the xml element describing the layer |
sens | the sensitive detector to be used |
layerID | the layer identification number |
Definition at line 31 of file LayerFactory.cpp.
View newest version in sPHENIX GitHub at line 31 of file LayerFactory.cpp
References DD4hepTestsHelper::createTransform(), Acts::decodeBinning(), to_string(), and physmon_ckf_tracking::u.
Referenced by create_barrel_detector().
|
static |
Standard create_barrel_detector(...) create a barrel like detector
dd | the detector to which this is addedded |
xml | the input xml element |
sens | is ignored |
Definition at line 148 of file LayerFactory.cpp.
View newest version in sPHENIX GitHub at line 148 of file LayerFactory.cpp
References addCylinderLayer(), layer, and translation().
|
static |
Standard create_cylinder(...) create a simple disc layer
dd | the detector to which this is addedded |
xml | the input xml element |
sens | is ignored |
Definition at line 196 of file LayerFactory.cpp.
View newest version in sPHENIX GitHub at line 196 of file LayerFactory.cpp
References DD4hepTestsHelper::createTransform(), Acts::decodeBinning(), to_string(), and physmon_ckf_tracking::u.