ATLAS Offline Software
Loading...
Searching...
No Matches
sTgcAlignmentStore Class Reference

#include <sTgcAlignmentStore.h>

Inheritance diagram for sTgcAlignmentStore:
Collaboration diagram for sTgcAlignmentStore:

Public Member Functions

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

Public Attributes

const sTGCAsBuiltDataasBuiltPars {}
 Pointer to the collection of passivation parameters if the project is not AthSimulation.

Private Types

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

Private Attributes

BLineCache m_blines {}

Detailed Description

Definition at line 15 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.

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

const sTGCAsBuiltData* sTgcAlignmentStore::asBuiltPars {}

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

Otherwise, it's a char

Definition at line 20 of file sTgcAlignmentStore.h.

20{};

◆ m_blines

BLineCache sTgcAlignmentStore::m_blines {}
private

Definition at line 32 of file sTgcAlignmentStore.h.

32{};

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