Loading [MathJax]/extensions/tex2jax.js
 |
ATLAS Offline Software
|
Go to the documentation of this file.
5 #ifndef TRT_READOUTGEOMETRY_TRT_DETECTORMANAGER_H
6 #define TRT_READOUTGEOMETRY_TRT_DETECTORMANAGER_H
22 #include "GeoModelKernel/GeoVPhysVol.h"
24 #include "GeoModelKernel/GeoXF.h"
28 #include "CLHEP/Geometry/Transform3D.h"
39 class GeoAlignableTransform;
40 class GeoVAlignmentStore;
46 class ExtendedAlignableTransform;
47 class TRT_BarrelDescriptor;
48 class TRT_EndcapDescriptor;
80 virtual PVConstLink
getTreeTop(
unsigned int i)
const override;
124 ,
unsigned int moduleIndex
126 ,
unsigned int strawLayerIndex)
const;
129 ,
unsigned int moduleIndex
131 ,
unsigned int strawLayerIndex);
138 ,
unsigned int wheelIndex
139 ,
unsigned int strawLayerIndex
142 ,
unsigned int wheelIndex
143 ,
unsigned int strawLayerIndex
189 const GeoVFullPhysVol * child = 0,
190 const GeoVFullPhysVol * frameVol = 0);
196 const GeoVPhysVol * child = 0,
197 const GeoVPhysVol * frameVol = 0);
204 GeoVAlignmentStore* alignStore)
const override;
210 GeoVAlignmentStore* alignStore)
const;
230 GeoVAlignmentStore* alignStore)
const override;
236 GeoVAlignmentStore* alignStore=
nullptr)
const override;
282 #ifndef GAUDI_NEUTRAL
void manageBarrelElement(TRT_BarrelElement *barrel)
const TRT_Conditions * conditions() const
Conditions interface (mostly for internal use):-------------------------—.
void addAlignableTransform(int level, const Identifier &id, GeoAlignableTransform *transform, const GeoVFullPhysVol *child=0, const GeoVFullPhysVol *frameVol=0)
Add alignable transforms: GeoModel/CLHEP based.
const TRT_DetElementCollection * getDetectorElementCollection() const
Access to Whole Collection of Elements ---------------------------------—.
void setEndcapDescriptor(const TRT_EndcapDescriptor *endcapDescriptor)
const TRT_ID * m_idHelper
virtual void invalidateAll() const override
Invalidate cache for all detector elements.
Class to hold different TRT detector elements structures.
const TRT_BarrelElement * getBarrelElement(unsigned int positive, unsigned int moduleIndex, unsigned int phiIndex, unsigned int strawLayerIndex) const
Access Barrel Elements:---------------—(Fast)-------------------------—.
void setBarrelTransformField(size_t i, const GeoXF::Function *field)
const GeoXF::Function * m_barrelXF[3]
std::string m_digversname
This is an Identifier helper class for the TRT subdetector. This class is a factory for creating comp...
bool processSpecialAlignment(const std::string &key, InDetDD::AlignFolderType dummy) const override
virtual bool setAlignableTransformDelta(int level, const Identifier &id, const Amg::Transform3D &delta, FrameType frame, GeoVAlignmentStore *alignStore) const override
Set alignable transforms: Amg based.
std::set< const TRT_EndcapDescriptor * > m_endcapDescriptors
const GeoXF::Function * barrelTransformField(size_t i) const
This class is a collection of AttributeLists where each one is associated with a channel number....
#define IOVSVC_CALLBACK_ARGS
short hand for IOVSvc call back argument list, to be used when no access to formal arguments is neede...
TRT_DetectorManager(StoreGateSvc *detStore)
virtual const TRT_ID * getIdHelper() const override
class TRT_EndcapDescriptor
TRT_DetectorManager(const TRT_DetectorManager &right)
void addTreeTop(const PVLink &)
void manageEndcapElement(TRT_EndcapElement *endcap)
The Athena Transient Store API.
virtual PVConstLink getTreeTop(unsigned int i) const override
TRT_Numerology * getNumerology()
Access Numerological information:---------------------------------------—.
const GeoXF::Function * m_endcapXF[3]
void addKey ATLAS_NOT_THREAD_SAFE(const std::string &key, int level)
const GeoXF::Function * endcapTransformField(size_t i) const
virtual unsigned int getNumTreeTops() const override
Access Raw Geometry:----------------------------------------------------—.
::StatusCode StatusCode
StatusCode definition for legacy code.
Eigen::Affine3d Transform3D
std::vector< AlignableTransformMap > m_alignableTransforms
Amg::Vector3D transform(Amg::Vector3D &v, Amg::Transform3D &tr)
Transform a point from a Trasformation3D.
std::vector< PVLink > m_volume
TRT_Numerology * m_numerology
bool setAlignableTransformAnyFrameDelta(ExtendedAlignableTransform *extXF, const Amg::Transform3D &delta, FrameType frame, GeoVAlignmentStore *alignStore) const
Set alignable transforms: Amg based.
TRT_DetElementContainer m_elementContainer
StatusCode alignmentCallback(IOVSVC_CALLBACK_ARGS)
Call back for alignment updates, DEPRECATED.
TRT_DetElementCollection::const_iterator getDetectorElementBegin() const
TRT_DetElementCollection::const_iterator getDetectorElementEnd() const
const TRT_EndcapElement * getEndcapElement(unsigned int positive, unsigned int wheelIndex, unsigned int strawLayerIndex, unsigned int phiIndex) const
Access Endcap Elements:---------------—(Fast)--------------------------—.
virtual bool identifierBelongs(const Identifier &id) const override
Check identifier is for this detector.
void setGasType(const ActiveGasType &)
const TRT_BaseElement * getElement(Identifier id) const
Access Elements Generically---------------------------------------------—.
const std::string & digitizationVersionName() const
std::set< const TRT_BarrelDescriptor * > m_barrelDescriptors
void setIdHelper(const TRT_ID *idHelper, bool owns=true)
Get the ID helper: -----------------------------------------------------—.
const TRT_DetElementContainer * getDetectorElementContainer() const
Access the element container -------------------------------------------—.
unsigned int phiIndex(float phi, float binsize)
calculate phi index for a given phi
The Detector Manager for all TRT Detector elements, it acts as the interface to the detector elements...
void addKey(const std::string &key, int level, FrameType frame)
ActiveGasType gasType() const
unsigned int digitizationVersion() const
Get and set information about digitization version ---------------------—.
#define CLASS_DEF(NAME, CID, VERSION)
associate a clid and a version to a type eg
void setEndcapTransformField(size_t i, const GeoXF::Function *field)
virtual void updateAll() const override
Update all caches.
void setDigitizationVersion(const unsigned int &, const std::string &name)
Class to hold collection of TRT detector elements.
This is a "hash" representation of an Identifier. This encodes a 32 bit index which can be used to lo...
Define macros for attributes used to control the static checker.
macros to associate a CLID to a type
std::map< Identifier, ExtendedAlignableTransform * > AlignableTransformMap
virtual bool processGlobalAlignment(const std::string &, int level, FrameType frame, const CondAttrListCollection *obj, GeoVAlignmentStore *alignStore) const override
Process new global DB folders for L1 and L2.
void setBarrelDescriptor(const TRT_BarrelDescriptor *barrelDescriptor)
Set TRT_Barrel/EndcapDescriptor pointer to the internal sets to delete them in the destructor.
const TRT_DetectorManager & operator=(const TRT_DetectorManager &right)