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 
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
sTgcAlignmentStore::m_blines
BLineCache m_blines
Definition: sTgcAlignmentStore.h:32
sTgcAlignmentStore::getBLine
const BLinePar * getBLine(const Identifier &bLine) const
Returns the micromega BLine parameter if it exists.
Definition: sTgcAlignmentStore.h:25
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
NswAsBuiltDbData.h
ActsTrk::DetectorAlignStore::InternalAlignStore
The muon system contains additional parameters such as B-lines, as-built, passivation.
Definition: DetectorAlignStore.h:69
sTGCAsBuiltData
Class holding the sTGC as built conditions data and applying it. The model consists of four parameter...
Definition: sTGCAsBuiltData.h:27
BLinePar
Definition: BLinePar.h:14
DetectorAlignStore.h
sTgcAlignmentStore
Definition: sTgcAlignmentStore.h:15
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
sTGCAsBuiltData.h
Identifier
Definition: IdentifierFieldParser.cxx:14