ATLAS Offline Software
Public Types | Public Member Functions | Public Attributes | Private Types | Private Attributes | List of all members
sTgcAlignmentStore Class Reference

#include <sTgcAlignmentStore.h>

Inheritance diagram for sTgcAlignmentStore:
Collaboration diagram for sTgcAlignmentStore:

Public Types

using sTgcAsBuiltPtr = NswAsBuiltDbData::sTgcAsBuiltPtr
 Pointer to the collection of passivation parameters if the project is not AthSimulation. More...
 

Public Member Functions

 sTgcAlignmentStore ()=default
 
void cacheBLine (const Identifier &detElId, const BLinePar &bline)
 Caches the micromega BLine parameter. More...
 
const BLinePargetBLine (const Identifier &bLine) const
 Returns the micromega BLine parameter if it exists. More...
 

Public Attributes

sTgcAsBuiltPtr asBuiltPars {}
 

Private Types

using BLineCache = std::unordered_map< Identifier, const BLinePar * >
 

Private Attributes

BLineCache m_blines {}
 

Detailed Description

Definition at line 14 of file sTgcAlignmentStore.h.

Member Typedef Documentation

◆ BLineCache

using sTgcAlignmentStore::BLineCache = std::unordered_map<Identifier, const BLinePar*>
private

Definition at line 31 of file sTgcAlignmentStore.h.

◆ sTgcAsBuiltPtr

Pointer to the collection of passivation parameters if the project is not AthSimulation.

Otherwise, it's a char

Definition at line 19 of file sTgcAlignmentStore.h.

Constructor & Destructor Documentation

◆ sTgcAlignmentStore()

sTgcAlignmentStore::sTgcAlignmentStore ( )
default

Member Function Documentation

◆ cacheBLine()

void sTgcAlignmentStore::cacheBLine ( const Identifier detElId,
const BLinePar bline 
)

Caches the micromega BLine parameter.

Definition at line 8 of file sTgcAlignmentStore.cxx.

8  {
9  m_blines[detElId] = &bline;
10 }

◆ getBLine()

const BLinePar* sTgcAlignmentStore::getBLine ( const Identifier bLine) const
inline

Returns the micromega BLine parameter if it exists.

Definition at line 25 of file sTgcAlignmentStore.h.

25  {
26  BLineCache::const_iterator itr = m_blines.find(bLine);
27  if (itr != m_blines.end()) return itr->second;
28  return nullptr;
29  }

Member Data Documentation

◆ asBuiltPars

sTgcAsBuiltPtr sTgcAlignmentStore::asBuiltPars {}

Definition at line 20 of file sTgcAlignmentStore.h.

◆ m_blines

BLineCache sTgcAlignmentStore::m_blines {}
private

Definition at line 32 of file sTgcAlignmentStore.h.


The documentation for this class was generated from the following files:
sTgcAlignmentStore::m_blines
BLineCache m_blines
Definition: sTgcAlignmentStore.h:32