ATLAS Offline Software
Loading...
Searching...
No Matches
Trk::IGeometryManagerTool Class Referenceabstract

#include <IGeometryManagerTool.h>

Inheritance diagram for Trk::IGeometryManagerTool:
Collaboration diagram for Trk::IGeometryManagerTool:

Public Member Functions

virtual ~IGeometryManagerTool ()
virtual StatusCode initialize ()=0
virtual StatusCode finalize ()=0
virtual int ReadGeometry (int solvelevel)=0
 build collection of AlignModules for a particular detector type, return number of alignment parameters
virtual void PrintModPositions ()=0
virtual void StoreModPositions (std::string filename)=0
virtual void setNtuple (TFile *)
 Sets output ntuple file, to be implemented if needed for detector-specific implementation.
virtual void setLogStream (std::ostream *os)
 sets the output stream for the logfile
virtual void buildGeometry ()
 create align modules and add them to the list
virtual void addModuleParameters (Trk::AlignModule *, DataVector< DataVector< Trk::AlignPar > > *, DataVector< DataVector< Trk::AlignPar > > *)
 set alignment parameters for a given module and add them to the list the arguments are AlignModule, fullParameterList, activeParameterList
virtual int getNextIDHash ()
 get next free IDHash usable for new AlignModule
virtual void setFirstIDHash (unsigned int idhash)
 set first free IDHash usable for new AlignModule
virtual void setModuleList (Trk::AlignModuleList *list)
 set pointer to module list to which the modules should be added to
virtual void setHashMaps (std::vector< Trk::AlignModuleList * > *maps)
 set pointer to vector of hashMaps to which the elements should be added to
virtual bool checkAlignLevel ()
 check whether the alignment level is allowed
virtual int alignLevel ()
 get alignment level
virtual void setAlignLevel (int level)
 set alignment level
virtual int alignLevelBarrel ()
 get alignment level
virtual void setAlignLevelBarrel (int level)
 set alignment level
virtual bool checkAlignLevelBarrel ()
 check whether the alignment level is allowed
virtual int alignLevelEndcaps ()
 get alignment level
virtual void setAlignLevelEndcaps (int level)
 set alignment level
virtual bool checkAlignLevelEndcaps ()
 check whether the alignment level is allowed

Static Public Member Functions

static const InterfaceID & interfaceID ()

Protected Attributes

Trk::AlignModuleListm_alignModuleListPtr = nullptr
 pointer to module list to which the modules are added
std::vector< Trk::AlignModuleList * > * m_idHashToAlignModuleMapsPtr = nullptr
 pointer to vector of hashMaps to which the elements are added
int m_hashCounter = 0
 variable for setting the idHash of the AlignModules
std::ostream * m_logStream = nullptr
 logfile output stream
int m_alignLevel = 0
 alignment level
int m_alignLevelBarrel = 0
 alignment level
int m_alignLevelEndcaps = 0
 alignment level

Detailed Description

Definition at line 35 of file IGeometryManagerTool.h.

Constructor & Destructor Documentation

◆ ~IGeometryManagerTool()

virtual Trk::IGeometryManagerTool::~IGeometryManagerTool ( )
inlinevirtual

Definition at line 38 of file IGeometryManagerTool.h.

38{}

Member Function Documentation

◆ addModuleParameters()

virtual void Trk::IGeometryManagerTool::addModuleParameters ( Trk::AlignModule * ,
DataVector< DataVector< Trk::AlignPar > > * ,
DataVector< DataVector< Trk::AlignPar > > *  )
inlinevirtual

set alignment parameters for a given module and add them to the list the arguments are AlignModule, fullParameterList, activeParameterList

Reimplemented in InDet::InDetGeometryManagerTool, InDet::PixelGeometryManagerTool, InDet::SCTGeometryManagerTool, InDet::SiGeometryManagerTool, and InDet::TRTGeometryManagerTool.

Definition at line 62 of file IGeometryManagerTool.h.

62{};

◆ alignLevel()

virtual int Trk::IGeometryManagerTool::alignLevel ( )
inlinevirtual

get alignment level

Definition at line 80 of file IGeometryManagerTool.h.

80{ return m_alignLevel; }

◆ alignLevelBarrel()

virtual int Trk::IGeometryManagerTool::alignLevelBarrel ( )
inlinevirtual

get alignment level

Definition at line 86 of file IGeometryManagerTool.h.

86{ return m_alignLevelBarrel; }
int m_alignLevelBarrel
alignment level

◆ alignLevelEndcaps()

virtual int Trk::IGeometryManagerTool::alignLevelEndcaps ( )
inlinevirtual

get alignment level

Definition at line 95 of file IGeometryManagerTool.h.

95{ return m_alignLevelEndcaps; }
int m_alignLevelEndcaps
alignment level

◆ buildGeometry()

virtual void Trk::IGeometryManagerTool::buildGeometry ( )
inlinevirtual

◆ checkAlignLevel()

virtual bool Trk::IGeometryManagerTool::checkAlignLevel ( )
inlinevirtual

check whether the alignment level is allowed

Reimplemented in InDet::InDetGeometryManagerTool, InDet::PixelGeometryManagerTool, InDet::SCTGeometryManagerTool, InDet::SiGeometryManagerTool, and InDet::TRTGeometryManagerTool.

Definition at line 77 of file IGeometryManagerTool.h.

77{ return true; }

◆ checkAlignLevelBarrel()

virtual bool Trk::IGeometryManagerTool::checkAlignLevelBarrel ( )
inlinevirtual

check whether the alignment level is allowed

Reimplemented in InDet::PixelGeometryManagerTool, InDet::SCTGeometryManagerTool, and InDet::TRTGeometryManagerTool.

Definition at line 92 of file IGeometryManagerTool.h.

92{ return true; }

◆ checkAlignLevelEndcaps()

virtual bool Trk::IGeometryManagerTool::checkAlignLevelEndcaps ( )
inlinevirtual

check whether the alignment level is allowed

Reimplemented in InDet::PixelGeometryManagerTool, InDet::SCTGeometryManagerTool, and InDet::TRTGeometryManagerTool.

Definition at line 101 of file IGeometryManagerTool.h.

101{ return true; }

◆ finalize()

virtual StatusCode Trk::IGeometryManagerTool::finalize ( )
pure virtual

◆ getNextIDHash()

virtual int Trk::IGeometryManagerTool::getNextIDHash ( )
inlinevirtual

get next free IDHash usable for new AlignModule

Definition at line 65 of file IGeometryManagerTool.h.

65{ return m_hashCounter++; };
int m_hashCounter
variable for setting the idHash of the AlignModules

◆ initialize()

virtual StatusCode Trk::IGeometryManagerTool::initialize ( )
pure virtual

◆ interfaceID()

const InterfaceID & IGeometryManagerTool::interfaceID ( )
inlinestatic

Definition at line 121 of file IGeometryManagerTool.h.

121 {
123}
static const InterfaceID IID_TRKALIGNINTERFACES_IGeometryManagerTool("IGeometryManagerTool", 1, 0)

◆ PrintModPositions()

virtual void Trk::IGeometryManagerTool::PrintModPositions ( )
pure virtual

◆ ReadGeometry()

virtual int Trk::IGeometryManagerTool::ReadGeometry ( int solvelevel)
pure virtual

build collection of AlignModules for a particular detector type, return number of alignment parameters

Implemented in InDet::InDetGeometryManagerTool, InDet::PixelGeometryManagerTool, InDet::SCTGeometryManagerTool, InDet::SiGeometryManagerTool, and InDet::TRTGeometryManagerTool.

◆ setAlignLevel()

virtual void Trk::IGeometryManagerTool::setAlignLevel ( int level)
inlinevirtual

◆ setAlignLevelBarrel()

virtual void Trk::IGeometryManagerTool::setAlignLevelBarrel ( int level)
inlinevirtual

set alignment level

Definition at line 89 of file IGeometryManagerTool.h.

◆ setAlignLevelEndcaps()

virtual void Trk::IGeometryManagerTool::setAlignLevelEndcaps ( int level)
inlinevirtual

set alignment level

Definition at line 98 of file IGeometryManagerTool.h.

◆ setFirstIDHash()

virtual void Trk::IGeometryManagerTool::setFirstIDHash ( unsigned int idhash)
inlinevirtual

set first free IDHash usable for new AlignModule

Definition at line 68 of file IGeometryManagerTool.h.

68{ m_hashCounter=idhash; };

◆ setHashMaps()

virtual void Trk::IGeometryManagerTool::setHashMaps ( std::vector< Trk::AlignModuleList * > * maps)
inlinevirtual

set pointer to vector of hashMaps to which the elements should be added to

Definition at line 74 of file IGeometryManagerTool.h.

std::vector< Trk::AlignModuleList * > * m_idHashToAlignModuleMapsPtr
pointer to vector of hashMaps to which the elements are added

◆ setLogStream()

virtual void Trk::IGeometryManagerTool::setLogStream ( std::ostream * os)
inlinevirtual

sets the output stream for the logfile

Reimplemented in InDet::InDetGeometryManagerTool, and InDet::SiGeometryManagerTool.

Definition at line 55 of file IGeometryManagerTool.h.

55{ m_logStream = os; }
std::ostream * m_logStream
logfile output stream

◆ setModuleList()

virtual void Trk::IGeometryManagerTool::setModuleList ( Trk::AlignModuleList * list)
inlinevirtual

set pointer to module list to which the modules should be added to

Definition at line 71 of file IGeometryManagerTool.h.

Trk::AlignModuleList * m_alignModuleListPtr
pointer to module list to which the modules are added
list(name, path='/')
Definition histSizes.py:38

◆ setNtuple()

virtual void Trk::IGeometryManagerTool::setNtuple ( TFile * )
inlinevirtual

Sets output ntuple file, to be implemented if needed for detector-specific implementation.

Definition at line 52 of file IGeometryManagerTool.h.

52{}

◆ StoreModPositions()

virtual void Trk::IGeometryManagerTool::StoreModPositions ( std::string filename)
pure virtual

Member Data Documentation

◆ m_alignLevel

int Trk::IGeometryManagerTool::m_alignLevel = 0
protected

alignment level

Definition at line 115 of file IGeometryManagerTool.h.

◆ m_alignLevelBarrel

int Trk::IGeometryManagerTool::m_alignLevelBarrel = 0
protected

alignment level

Definition at line 116 of file IGeometryManagerTool.h.

◆ m_alignLevelEndcaps

int Trk::IGeometryManagerTool::m_alignLevelEndcaps = 0
protected

alignment level

Definition at line 117 of file IGeometryManagerTool.h.

◆ m_alignModuleListPtr

Trk::AlignModuleList* Trk::IGeometryManagerTool::m_alignModuleListPtr = nullptr
protected

pointer to module list to which the modules are added

Definition at line 106 of file IGeometryManagerTool.h.

◆ m_hashCounter

int Trk::IGeometryManagerTool::m_hashCounter = 0
protected

variable for setting the idHash of the AlignModules

Definition at line 111 of file IGeometryManagerTool.h.

◆ m_idHashToAlignModuleMapsPtr

std::vector<Trk::AlignModuleList *>* Trk::IGeometryManagerTool::m_idHashToAlignModuleMapsPtr = nullptr
protected

pointer to vector of hashMaps to which the elements are added

Definition at line 109 of file IGeometryManagerTool.h.

◆ m_logStream

std::ostream* Trk::IGeometryManagerTool::m_logStream = nullptr
protected

logfile output stream

Definition at line 113 of file IGeometryManagerTool.h.


The documentation for this class was generated from the following file: