ATLAS Offline Software
sTGCAsBuiltData2.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
9 #include "AthenaKernel/CondCont.h"
10 #include "AthenaKernel/BaseInfo.h"
13 
22  public:
23  sTGCAsBuiltData2(const Muon::IMuonIdHelperSvc* idHelperSvc);
24  // returns the local positon corrected for the as built parameters
26  // Set the parameters of the as build model (shift, rotation, scale)
27 
28  struct Parameters{
29  double offset {0.};
30  double rotation{0.};
31  double scale{0.};
32  };
33 
34  StatusCode setParameters(const Identifier& gasGapId, const Parameters& pars);
35 
36  private:
38  using ParMap = std::unordered_map<Identifier, Parameters>;
40 };
41 
42 CLASS_DEF( sTGCAsBuiltData2 , 189786421 , 1 );
44 #endif
make_hlt_rep.pars
pars
Definition: make_hlt_rep.py:90
CLASS_DEF
CLASS_DEF(sTGCAsBuiltData2, 189786421, 1)
CondCont.h
Hold mappings of ranges to condition objects.
MuonR4::SegmentFit::Parameters
AmgVector(toInt(ParamDefs::nPars)) Parameters
Definition: MuonHoughDefs.h:48
sTGCAsBuiltData2::correctPosition
Amg::Vector2D correctPosition(const Identifier &channelId, const Amg::Vector2D &pos) const
Definition: sTGCAsBuiltData2.cxx:13
Amg::Vector2D
Eigen::Matrix< double, 2, 1 > Vector2D
Definition: GeoPrimitives.h:48
CONDCONT_DEF
CONDCONT_DEF(sTGCAsBuiltData2, 15989615)
sTGCAsBuiltData2
Container class that stores the as built parameters of the sTgcs.
Definition: sTGCAsBuiltData2.h:21
sTGCAsBuiltData2::Parameters::rotation
double rotation
Definition: sTGCAsBuiltData2.h:30
sTGCAsBuiltData2::setParameters
StatusCode setParameters(const Identifier &gasGapId, const Parameters &pars)
Definition: sTGCAsBuiltData2.cxx:27
sTGCAsBuiltData2::sTGCAsBuiltData2
sTGCAsBuiltData2(const Muon::IMuonIdHelperSvc *idHelperSvc)
Definition: sTGCAsBuiltData2.cxx:7
GeoPrimitives.h
BaseInfo.h
Provide an interface for finding inheritance information at run time.
EL::StatusCode
::StatusCode StatusCode
StatusCode definition for legacy code.
Definition: PhysicsAnalysis/D3PDTools/EventLoop/EventLoop/StatusCode.h:22
sTGCAsBuiltData2::Parameters::offset
double offset
Definition: sTGCAsBuiltData2.h:29
AthMessaging
Class to provide easy MsgStream access and capabilities.
Definition: AthMessaging.h:55
sTGCAsBuiltData2::Parameters
Definition: sTGCAsBuiltData2.h:28
CaloCondBlobAlgs_fillNoiseFromASCII.channelId
channelId
Definition: CaloCondBlobAlgs_fillNoiseFromASCII.py:122
sTGCAsBuiltData2::Parameters::scale
double scale
Definition: sTGCAsBuiltData2.h:31
python.LumiBlobConversion.pos
pos
Definition: LumiBlobConversion.py:18
sTGCAsBuiltData2::ParMap
std::unordered_map< Identifier, Parameters > ParMap
Definition: sTGCAsBuiltData2.h:38
sTGCAsBuiltData2::m_asBuiltData
ParMap m_asBuiltData
Definition: sTGCAsBuiltData2.h:39
AthMessaging.h
Muon::IMuonIdHelperSvc
Interface for Helper service that creates muon Identifiers and can be used to print Identifiers.
Definition: IMuonIdHelperSvc.h:26
sTGCAsBuiltData2::m_idHelperSvc
const Muon::IMuonIdHelperSvc * m_idHelperSvc
Definition: sTGCAsBuiltData2.h:37
IMuonIdHelperSvc.h
Identifier
Definition: IdentifierFieldParser.cxx:14