ATLAS Offline Software
Toggle main menu visibility
Loading...
Searching...
No Matches
MuonSpectrometer
MuonPhaseII
MuonConditions
MuonAlignmentDataR4
MuonAlignmentDataR4
MmAlignmentStore.h
Go to the documentation of this file.
1
/*
2
Copyright (C) 2002-2024 CERN for the benefit of the ATLAS collaboration
3
*/
4
#ifndef MUONALIGNMENTDATA_MMALIGNMENTSTORE_H
5
#define MUONALIGNMENTDATA_MMALIGNMENTSTORE_H
6
7
#include <
MuonAlignmentData/BLinePar.h
>
8
#include <
MuonAlignmentData/NswPassivationDbData.h
>
9
#include <
MuonAlignmentData/NswAsBuiltDbData.h
>
10
#include <
ActsGeometryInterfaces/DetectorAlignStore.h
>
11
/* Alignment store class to additionally ship the Micromega passivation,
12
* the As built parameters and the BLines through the Acts Geometry context
13
*
14
*/
15
class
MmAlignmentStore
:
public
ActsTrk::DetectorAlignStore::InternalAlignStore
{
16
public
:
17
MmAlignmentStore
() =
default
;
20
const
NswPassivationDbData
*
passivation
{
nullptr
};
23
using
MmAsBuiltPtr
=
NswAsBuiltDbData::MmAsBuiltPtr
;
24
MmAsBuiltPtr
asBuiltPars
{};
25
27
void
cacheBLine
(
const
Identifier
& detElId,
const
BLinePar
& bline);
29
const
BLinePar
*
getBLine
(
const
Identifier
& bLine)
const
{
30
BLineCache::const_iterator itr =
m_blines
.find(bLine);
31
if
(itr !=
m_blines
.end())
return
itr->second;
32
return
nullptr
;
33
}
34
private
:
35
using
BLineCache
= std::unordered_map<Identifier, const BLinePar*>;
36
BLineCache
m_blines
{};
37
};
38
39
#endif
BLinePar.h
DetectorAlignStore.h
NswAsBuiltDbData.h
NswPassivationDbData.h
BLinePar
Definition
BLinePar.h:14
MmAlignmentStore::asBuiltPars
MmAsBuiltPtr asBuiltPars
Definition
MmAlignmentStore.h:24
MmAlignmentStore::m_blines
BLineCache m_blines
Definition
MmAlignmentStore.h:36
MmAlignmentStore::MmAlignmentStore
MmAlignmentStore()=default
MmAlignmentStore::passivation
const NswPassivationDbData * passivation
Passivation is subdivided into several PCBs Ship the complete container with the alignment store.
Definition
MmAlignmentStore.h:20
MmAlignmentStore::cacheBLine
void cacheBLine(const Identifier &detElId, const BLinePar &bline)
Caches the micromega BLine parameter.
Definition
MmAlignmentStore.cxx:8
MmAlignmentStore::getBLine
const BLinePar * getBLine(const Identifier &bLine) const
Returns the micromega BLine parameter if it exists.
Definition
MmAlignmentStore.h:29
MmAlignmentStore::MmAsBuiltPtr
NswAsBuiltDbData::MmAsBuiltPtr MmAsBuiltPtr
Pointer to the collection of passivation parameters if the project is not AthSimulation.
Definition
MmAlignmentStore.h:23
MmAlignmentStore::BLineCache
std::unordered_map< Identifier, const BLinePar * > BLineCache
Definition
MmAlignmentStore.h:35
NswAsBuiltDbData::MmAsBuiltPtr
GeoModel::TransientConstSharedPtr< NswAsBuilt::StripCalculator > MmAsBuiltPtr
Storage to the micromega as built calculator.
Definition
NswAsBuiltDbData.h:22
NswPassivationDbData
Definition
NswPassivationDbData.h:20
Identifier
Definition
IdentifierFieldParser.cxx:14
ActsTrk::DetectorAlignStore::InternalAlignStore
The muon system contains additional parameters such as B-lines, as-built, passivation.
Definition
DetectorAlignStore.h:58
Generated on
for ATLAS Offline Software by
1.17.0