ATLAS Offline Software
Toggle main menu visibility
Loading...
Searching...
No Matches
MuonSpectrometer
MuonConditions
MuonCondGeneral
MuonCondData
MuonCondData
NswT0Data.h
Go to the documentation of this file.
1
/*
2
Copyright (C) 2002-2026 CERN for the benefit of the ATLAS collaboration
3
*/
4
5
#ifndef MUONCONDDATA_NSWT0DATA_H
6
#define MUONCONDDATA_NSWT0DATA_H
7
8
9
10
// Athena includes
11
#include "
AthenaKernel/CondCont.h
"
12
#include "
AthenaKernel/BaseInfo.h
"
13
// STL includes
14
#include <vector>
15
#include <optional>
16
17
class
Identifier
;
18
19
namespace
Muon
{
20
class
IMuonIdHelperSvc
;
21
}
22
23
26
class
NswT0Data
{
27
28
29
public
:
30
NswT0Data
(
const
Muon::IMuonIdHelperSvc
* idHelperSvc);
31
~NswT0Data
() =
default
;
32
36
void
setData
(
const
Identifier
& channelId,
const
float
channelT0);
40
std::optional<float>
getT0
(
const
Identifier
& channelId)
const
;
41
42
private
:
49
std::size_t
identToModuleIdx
(
const
Identifier
& channelId)
const
;
50
51
// ID helpers
52
const
Muon::IMuonIdHelperSvc
*
m_idHelperSvc
{};
53
// containers
54
using
ChannelArray
= std::vector<std::vector<std::optional<float>>>;
55
ChannelArray
m_data_mmg
{};
56
ChannelArray
m_data_stg
{};
57
58
59
};
60
61
CLASS_DEF
(
NswT0Data
,148122593 , 1 )
62
CLASS_DEF
(
CondCont
<
NswT0Data
> , 69140433 , 1 )
63
64
#endif
CondCont.h
Hold mappings of ranges to condition objects.
BaseInfo.h
Provide an interface for finding inheritance information at run time.
CLASS_DEF
#define CLASS_DEF(NAME, CID, VERSION)
associate a clid and a version to a type eg
Definition
Control/AthenaKernel/AthenaKernel/CLASS_DEF.h:67
CondCont
Hold mapping of ranges to condition objects.
Definition
CondCont.h:889
Muon::IMuonIdHelperSvc
Interface for Helper service that creates muon Identifiers and can be used to print Identifiers.
Definition
IMuonIdHelperSvc.h:27
NswT0Data
Conditions data object to calibrate the timeoff set of each individual channel in the NSW.
Definition
NswT0Data.h:26
NswT0Data::m_idHelperSvc
const Muon::IMuonIdHelperSvc * m_idHelperSvc
Definition
NswT0Data.h:52
NswT0Data::NswT0Data
NswT0Data(const Muon::IMuonIdHelperSvc *idHelperSvc)
Definition
NswT0Data.cxx:15
NswT0Data::identToModuleIdx
std::size_t identToModuleIdx(const Identifier &channelId) const
The calibration data is internally stored as two jagged vectors, one for MM the other for sTGC.
Definition
NswT0Data.cxx:28
NswT0Data::m_data_mmg
ChannelArray m_data_mmg
Definition
NswT0Data.h:55
NswT0Data::setData
void setData(const Identifier &channelId, const float channelT0)
Set the t0 calibration constant for a given nsw channel.
Definition
NswT0Data.cxx:42
NswT0Data::ChannelArray
std::vector< std::vector< std::optional< float > > > ChannelArray
Definition
NswT0Data.h:54
NswT0Data::m_data_stg
ChannelArray m_data_stg
Definition
NswT0Data.h:56
NswT0Data::getT0
std::optional< float > getT0(const Identifier &channelId) const
Retrieve the t0 calibration constant for a given NSW channel.
Definition
NswT0Data.cxx:62
NswT0Data::~NswT0Data
~NswT0Data()=default
Identifier
Definition
IdentifierFieldParser.cxx:14
Muon
NRpcCablingAlg reads raw condition data and writes derived condition data to the condition store.
Definition
TrackSystemController.h:46
Generated on
for ATLAS Offline Software by
1.17.0