ATLAS Offline Software
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 
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  */
16  public:
17  MmAlignmentStore() = default;
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*>;
37 };
38 
39 #endif
GeoModel::TransientConstSharedPtr< NswAsBuilt::StripCalculator >
MmAlignmentStore::MmAlignmentStore
MmAlignmentStore()=default
MmAlignmentStore::asBuiltPars
MmAsBuiltPtr asBuiltPars
Definition: MmAlignmentStore.h:24
NswAsBuiltDbData.h
ActsTrk::DetectorAlignStore::InternalAlignStore
The muon system contains additional parameters such as B-lines, as-built, passivation.
Definition: DetectorAlignStore.h:69
NswPassivationDbData
Definition: NswPassivationDbData.h:20
MmAlignmentStore::cacheBLine
void cacheBLine(const Identifier &detElId, const BLinePar &bline)
Caches the micromega BLine parameter.
Definition: MmAlignmentStore.cxx:8
NswPassivationDbData.h
Identifier
Definition: DetectorDescription/Identifier/Identifier/Identifier.h:32
MmAlignmentStore::BLineCache
std::unordered_map< Identifier, const BLinePar * > BLineCache
Definition: MmAlignmentStore.h:35
MmAlignmentStore::m_blines
BLineCache m_blines
Definition: MmAlignmentStore.h:36
BLinePar
Definition: BLinePar.h:14
MmAlignmentStore
Definition: MmAlignmentStore.h:15
DetectorAlignStore.h
MmAlignmentStore::getBLine
const BLinePar * getBLine(const Identifier &bLine) const
Returns the micromega BLine parameter if it exists.
Definition: MmAlignmentStore.h:29
BLinePar.h
NswAsBuiltDbData::MmAsBuiltPtr
GeoModel::TransientConstSharedPtr< NswAsBuilt::StripCalculator > MmAsBuiltPtr
Storage to the micromega as built calculator.
Definition: NswAsBuiltDbData.h:22
MmAlignmentStore::passivation
const NswPassivationDbData * passivation
Passivation is subdivided into several PCBs Ship the complete container with the alignment store.
Definition: MmAlignmentStore.h:20