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

#include <MmAlignmentStore.h>

Inheritance diagram for MmAlignmentStore:
Collaboration diagram for MmAlignmentStore:

Public Types

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

Public Member Functions

 MmAlignmentStore ()=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 NswPassivationDbDatapassivation {nullptr}
 Passivation is subdivided into several PCBs Ship the complete container with the alignment store.
MmAsBuiltPtr asBuiltPars {}

Private Types

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

Private Attributes

BLineCache m_blines {}

Detailed Description

Definition at line 15 of file MmAlignmentStore.h.

Member Typedef Documentation

◆ BLineCache

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

Definition at line 35 of file MmAlignmentStore.h.

◆ MmAsBuiltPtr

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

Otherwise, it's a char

Definition at line 23 of file MmAlignmentStore.h.

Constructor & Destructor Documentation

◆ MmAlignmentStore()

MmAlignmentStore::MmAlignmentStore ( )
default

Member Function Documentation

◆ cacheBLine()

void MmAlignmentStore::cacheBLine ( const Identifier & detElId,
const BLinePar & bline )

Caches the micromega BLine parameter.

Definition at line 8 of file MmAlignmentStore.cxx.

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

◆ getBLine()

const BLinePar * MmAlignmentStore::getBLine ( const Identifier & bLine) const
inline

Returns the micromega BLine parameter if it exists.

Definition at line 29 of file MmAlignmentStore.h.

29 {
30 BLineCache::const_iterator itr = m_blines.find(bLine);
31 if (itr != m_blines.end()) return itr->second;
32 return nullptr;
33 }

Member Data Documentation

◆ asBuiltPars

MmAsBuiltPtr MmAlignmentStore::asBuiltPars {}

Definition at line 24 of file MmAlignmentStore.h.

24{};

◆ m_blines

BLineCache MmAlignmentStore::m_blines {}
private

Definition at line 36 of file MmAlignmentStore.h.

36{};

◆ passivation

const NswPassivationDbData* MmAlignmentStore::passivation {nullptr}

Passivation is subdivided into several PCBs Ship the complete container with the alignment store.

Definition at line 20 of file MmAlignmentStore.h.

20{nullptr};

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