ATLAS Offline Software
Loading...
Searching...
No Matches
ActsToTrkConvertorAlg.cxx File Reference

Go to the source code of this file.

Namespaces

namespace  ActsTrk
 The AlignStoreProviderAlg loads the rigid alignment corrections and pipes them through the readout geometry to cache the final transformations of the sensor surfaces associated to one particular detector technology (Pixel, Sct, etc.).

Functions

static const InDetDD::SiDetectorElementactsToDetElem (const Acts::Surface &surface)

Function Documentation

◆ actsToDetElem()

const InDetDD::SiDetectorElement * actsToDetElem ( const Acts::Surface & surface)
static

Definition at line 21 of file ActsToTrkConvertorAlg.cxx.

22{
23 const auto *actsElement = dynamic_cast<const ActsDetectorElement *>(surface.surfacePlacement());
24 if (!actsElement)
25 {
26 return nullptr;
27 }
28 return dynamic_cast<const InDetDD::SiDetectorElement *>(actsElement->upstreamDetectorElement());
29}
Class to hold geometrical description of a silicon detector element.