ATLAS Offline Software
Loading...
Searching...
No Matches
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
12/* Alignment store to additionally ship the sTgc as-built parameters and
13 * B-Line deformation parameters through the Acts geometry context.
14 */
16 public:
17 sTgcAlignmentStore() = default;
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*>;
33};
34
35#endif
Class holding the sTGC as built conditions data and applying it.
const BLinePar * getBLine(const Identifier &bLine) const
Returns the micromega BLine parameter if it exists.
sTgcAlignmentStore()=default
const sTGCAsBuiltData * asBuiltPars
Pointer to the collection of passivation parameters if the project is not AthSimulation.
std::unordered_map< Identifier, const BLinePar * > BLineCache
void cacheBLine(const Identifier &detElId, const BLinePar &bline)
Caches the micromega BLine parameter.
The muon system contains additional parameters such as B-lines, as-built, passivation.