ATLAS Offline Software
Loading...
Searching...
No Matches
sTGCAsBuiltData.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 MUONCONDDATA_sTGCAsBuiltData2_H
5#define MUONCONDDATA_sTGCAsBuiltData2_H
6
7//Athena includes
13
26
28 public:
29 sTGCAsBuiltData(const Muon::IMuonIdHelperSvc* idHelperSvc);
30 // returns the local positon corrected for the as built parameters
31 Amg::Vector2D correctPosition(const Identifier& channelId, const Amg::Vector2D& pos) const;
32 // Set the parameters of the as build model (shift, rotation, scale)
33
34
35 struct Parameters{
36 double offset {0.};
37 double rotation{0.};
38 double scale{0.};
39 double nonPara {0.};
40 };
41
42 StatusCode setParameters(const Identifier& gasGapId, const Parameters& pars);
43
44 private:
46 using ParMap = std::unordered_map<Identifier, Parameters>;
48};
49
50std::ostream& operator<<(std::ostream& ostr, const sTGCAsBuiltData::Parameters& par);
51
52CLASS_DEF( sTGCAsBuiltData , 154485394 , 1 );
54#endif
Hold mappings of ranges to condition objects.
#define CONDCONT_DEF(...)
Definition CondCont.h:1413
Provide an interface for finding inheritance information at run time.
#define CLASS_DEF(NAME, CID, VERSION)
associate a clid and a version to a type eg
AthMessaging(IMessageSvc *msgSvc, const std::string &name)
Constructor.
Interface for Helper service that creates muon Identifiers and can be used to print Identifiers.
Class holding the sTGC as built conditions data and applying it.
sTGCAsBuiltData(const Muon::IMuonIdHelperSvc *idHelperSvc)
const Muon::IMuonIdHelperSvc * m_idHelperSvc
Amg::Vector2D correctPosition(const Identifier &channelId, const Amg::Vector2D &pos) const
StatusCode setParameters(const Identifier &gasGapId, const Parameters &pars)
std::unordered_map< Identifier, Parameters > ParMap
Eigen::Matrix< double, 2, 1 > Vector2D
std::ostream & operator<<(std::ostream &ostr, const sTGCAsBuiltData::Parameters &par)