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 
28  public:
29  sTGCAsBuiltData2(const Muon::IMuonIdHelperSvc* idHelperSvc);
30  // returns the local positon corrected for the as built parameters
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 
50 CLASS_DEF( sTGCAsBuiltData2 , 189786421 , 1 );
52 #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
Class holding the sTGC as built conditions data and applying it. The model consists of four parameter...
Definition: sTGCAsBuiltData2.h:27
sTGCAsBuiltData2::Parameters::rotation
double rotation
Definition: sTGCAsBuiltData2.h:37
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
sTGCAsBuiltData2::Parameters::nonPara
double nonPara
Definition: sTGCAsBuiltData2.h:39
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:36
AthMessaging
Class to provide easy MsgStream access and capabilities.
Definition: AthMessaging.h:55
sTGCAsBuiltData2::Parameters
Definition: sTGCAsBuiltData2.h:35
CaloCondBlobAlgs_fillNoiseFromASCII.channelId
channelId
Definition: CaloCondBlobAlgs_fillNoiseFromASCII.py:122
sTGCAsBuiltData2::Parameters::scale
double scale
Definition: sTGCAsBuiltData2.h:38
python.LumiBlobConversion.pos
pos
Definition: LumiBlobConversion.py:18
sTGCAsBuiltData2::ParMap
std::unordered_map< Identifier, Parameters > ParMap
Definition: sTGCAsBuiltData2.h:46
sTGCAsBuiltData2::m_asBuiltData
ParMap m_asBuiltData
Definition: sTGCAsBuiltData2.h:47
AthMessaging.h
Muon::IMuonIdHelperSvc
Interface for Helper service that creates muon Identifiers and can be used to print Identifiers.
Definition: IMuonIdHelperSvc.h:27
sTGCAsBuiltData2::m_idHelperSvc
const Muon::IMuonIdHelperSvc * m_idHelperSvc
Definition: sTGCAsBuiltData2.h:45
IMuonIdHelperSvc.h
Identifier
Definition: IdentifierFieldParser.cxx:14