ATLAS Offline Software
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 
11 /* Alignment store to additionally ship the sTgc as-built parameters and
12  * B-Line deformation parameters through the Acts geometry context.
13  */
15  public:
16  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
GeoModel::TransientConstSharedPtr< NswAsBuilt::StgcStripCalculator >
sTgcAlignmentStore::m_blines
BLineCache m_blines
Definition: sTgcAlignmentStore.h:32
NswAsBuiltDbData::sTgcAsBuiltPtr
GeoModel::TransientConstSharedPtr< NswAsBuilt::StgcStripCalculator > sTgcAsBuiltPtr
Definition: NswAsBuiltDbData.h:23
sTgcAlignmentStore::getBLine
const BLinePar * getBLine(const Identifier &bLine) const
Returns the micromega BLine parameter if it exists.
Definition: sTgcAlignmentStore.h:25
sTgcAlignmentStore::BLineCache
std::unordered_map< Identifier, const BLinePar * > BLineCache
Definition: sTgcAlignmentStore.h:31
NswAsBuiltDbData.h
ActsTrk::DetectorAlignStore::InternalAlignStore
The muon system contains additional parameters such as B-lines, as-built, passivation.
Definition: DetectorAlignStore.h:69
BLinePar
Definition: BLinePar.h:14
DetectorAlignStore.h
sTgcAlignmentStore
Definition: sTgcAlignmentStore.h:14
sTgcAlignmentStore::sTgcAlignmentStore
sTgcAlignmentStore()=default
BLinePar.h
sTgcAlignmentStore::cacheBLine
void cacheBLine(const Identifier &detElId, const BLinePar &bline)
Caches the micromega BLine parameter.
Definition: sTgcAlignmentStore.cxx:8
sTgcAlignmentStore::asBuiltPars
sTgcAsBuiltPtr asBuiltPars
Definition: sTgcAlignmentStore.h:20
Identifier
Definition: IdentifierFieldParser.cxx:14