ATLAS Offline Software
Public Member Functions | Static Public Member Functions | Protected Attributes | List of all members
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 More...
 
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. More...
 
virtual void setLogStream (std::ostream *os)
 sets the output stream for the logfile More...
 
virtual void buildGeometry ()
 create align modules and add them to the list More...
 
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 More...
 
virtual int getNextIDHash ()
 get next free IDHash usable for new AlignModule More...
 
virtual void setFirstIDHash (unsigned int idhash)
 set first free IDHash usable for new AlignModule More...
 
virtual void setModuleList (Trk::AlignModuleList *list)
 set pointer to module list to which the modules should be added to More...
 
virtual void setHashMaps (std::vector< Trk::AlignModuleList * > *maps)
 set pointer to vector of hashMaps to which the elements should be added to More...
 
virtual bool checkAlignLevel ()
 check whether the alignment level is allowed More...
 
virtual int alignLevel ()
 get alignment level More...
 
virtual void setAlignLevel (int level)
 set alignment level More...
 
virtual int alignLevelBarrel ()
 get alignment level More...
 
virtual void setAlignLevelBarrel (int level)
 set alignment level More...
 
virtual bool checkAlignLevelBarrel ()
 check whether the alignment level is allowed More...
 
virtual int alignLevelEndcaps ()
 get alignment level More...
 
virtual void setAlignLevelEndcaps (int level)
 set alignment level More...
 
virtual bool checkAlignLevelEndcaps ()
 check whether the alignment level is allowed More...
 

Static Public Member Functions

static const InterfaceID & interfaceID ()
 

Protected Attributes

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

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::SiGeometryManagerTool, InDet::InDetGeometryManagerTool, InDet::PixelGeometryManagerTool, InDet::SCTGeometryManagerTool, 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; }

◆ alignLevelEndcaps()

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

get alignment level

Definition at line 95 of file IGeometryManagerTool.h.

95 { return m_alignLevelEndcaps; }

◆ buildGeometry()

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

create align modules and add them to the list

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

Definition at line 58 of file IGeometryManagerTool.h.

58 {};

◆ checkAlignLevel()

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

check whether the alignment level is allowed

Reimplemented in InDet::SiGeometryManagerTool, InDet::InDetGeometryManagerTool, InDet::PixelGeometryManagerTool, InDet::SCTGeometryManagerTool, 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++; };

◆ initialize()

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

◆ interfaceID()

const InterfaceID & IGeometryManagerTool::interfaceID ( )
inlinestatic

Definition at line 121 of file IGeometryManagerTool.h.

121  {
122  return IID_TRKALIGNINTERFACES_IGeometryManagerTool;
123 }

◆ 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::SiGeometryManagerTool, InDet::InDetGeometryManagerTool, InDet::PixelGeometryManagerTool, InDet::SCTGeometryManagerTool, and InDet::TRTGeometryManagerTool.

◆ setAlignLevel()

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

set alignment level

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

Definition at line 83 of file IGeometryManagerTool.h.

83 { m_alignLevel = level; }

◆ 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.

◆ setLogStream()

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

sets the output stream for the logfile

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

Definition at line 55 of file IGeometryManagerTool.h.

55 { m_logStream = os; }

◆ 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.

◆ 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:
Trk::IGeometryManagerTool::m_alignLevelBarrel
int m_alignLevelBarrel
alignment level
Definition: IGeometryManagerTool.h:116
Trk::IGeometryManagerTool::m_hashCounter
int m_hashCounter
variable for setting the idHash of the AlignModules
Definition: IGeometryManagerTool.h:111
Trk::IGeometryManagerTool::m_alignLevelEndcaps
int m_alignLevelEndcaps
alignment level
Definition: IGeometryManagerTool.h:117
python.iconfTool.models.loaders.level
level
Definition: loaders.py:20
Trk::IGeometryManagerTool::m_alignLevel
int m_alignLevel
alignment level
Definition: IGeometryManagerTool.h:115
Trk::IGeometryManagerTool::m_alignModuleListPtr
Trk::AlignModuleList * m_alignModuleListPtr
pointer to module list to which the modules are added
Definition: IGeometryManagerTool.h:106
histSizes.list
def list(name, path='/')
Definition: histSizes.py:38
ReadFromCoolCompare.os
os
Definition: ReadFromCoolCompare.py:231
Trk::IGeometryManagerTool::m_logStream
std::ostream * m_logStream
logfile output stream
Definition: IGeometryManagerTool.h:113
Trk::IGeometryManagerTool::m_idHashToAlignModuleMapsPtr
std::vector< Trk::AlignModuleList * > * m_idHashToAlignModuleMapsPtr
pointer to vector of hashMaps to which the elements are added
Definition: IGeometryManagerTool.h:109