ATLAS Offline Software
Toggle main menu visibility
Loading...
Searching...
No Matches
MuonSpectrometer
MuonPhaseII
MuonConditions
MuonAlignmentDataR4
MuonAlignmentDataR4
sTgcAlignmentStore.h
Go to the documentation of this file.
1
/*
2
Copyright (C) 2002-2024 CERN for the benefit of the ATLAS collaboration
3
*/
4
5
#ifndef MUONALIGNMENTDATA_STGCALIGNMENTSTORE_H
6
#define MUONALIGNMENTDATA_STGCALIGNMENTSTORE_H
7
8
#include <
MuonAlignmentData/BLinePar.h
>
9
#include <
MuonAlignmentData/NswAsBuiltDbData.h
>
10
#include <
ActsGeometryInterfaces/DetectorAlignStore.h
>
11
#include <
MuonAlignmentData/sTGCAsBuiltData.h
>
12
/* Alignment store to additionally ship the sTgc as-built parameters and
13
* B-Line deformation parameters through the Acts geometry context.
14
*/
15
class
sTgcAlignmentStore
:
public
ActsTrk::DetectorAlignStore::InternalAlignStore
{
16
public
:
17
sTgcAlignmentStore
() =
default
;
20
const
sTGCAsBuiltData
*
asBuiltPars
{};
21
23
void
cacheBLine
(
const
Identifier
& detElId,
const
BLinePar
& bline);
25
const
BLinePar
*
getBLine
(
const
Identifier
& bLine)
const
{
26
BLineCache::const_iterator itr =
m_blines
.find(bLine);
27
if
(itr !=
m_blines
.end())
return
itr->second;
28
return
nullptr
;
29
}
30
private
:
31
using
BLineCache
= std::unordered_map<Identifier, const BLinePar*>;
32
BLineCache
m_blines
{};
33
};
34
35
#endif
BLinePar.h
DetectorAlignStore.h
NswAsBuiltDbData.h
BLinePar
Definition
BLinePar.h:14
sTGCAsBuiltData
Class holding the sTGC as built conditions data and applying it.
Definition
sTGCAsBuiltData.h:27
sTgcAlignmentStore::getBLine
const BLinePar * getBLine(const Identifier &bLine) const
Returns the micromega BLine parameter if it exists.
Definition
sTgcAlignmentStore.h:25
sTgcAlignmentStore::sTgcAlignmentStore
sTgcAlignmentStore()=default
sTgcAlignmentStore::asBuiltPars
const sTGCAsBuiltData * asBuiltPars
Pointer to the collection of passivation parameters if the project is not AthSimulation.
Definition
sTgcAlignmentStore.h:20
sTgcAlignmentStore::BLineCache
std::unordered_map< Identifier, const BLinePar * > BLineCache
Definition
sTgcAlignmentStore.h:31
sTgcAlignmentStore::m_blines
BLineCache m_blines
Definition
sTgcAlignmentStore.h:32
sTgcAlignmentStore::cacheBLine
void cacheBLine(const Identifier &detElId, const BLinePar &bline)
Caches the micromega BLine parameter.
Definition
sTgcAlignmentStore.cxx:8
Identifier
Definition
IdentifierFieldParser.cxx:14
sTGCAsBuiltData.h
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