ATLAS Offline Software
Loading...
Searching...
No Matches
NswT0Data.h
Go to the documentation of this file.
1/*
2 Copyright (C) 2002-2025 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
13// STL includes
14#include <vector>
15
16class Identifier;
17
18namespace Muon{
19 class IMuonIdHelperSvc;
20}
21
22class NswT0Data {
23
24
25public:
26 NswT0Data(const Muon::IMuonIdHelperSvc* idHelperSvc);
27 ~NswT0Data() = default;
28
29 // setting functions
30 void setData(const Identifier& channelId, const float channelT0);
31
32 // retrieval functions
33 bool getT0 (const Identifier& channelId, float& channelT0) const;
34
35private:
36 unsigned int identToModuleIdx(const Identifier& chan_id) const;
37
38 // ID helpers
40 // containers
41 using ChannelArray = std::vector<std::vector<float>>;
44
45
46};
47
48CLASS_DEF( NswT0Data ,148122593 , 1 )
49CLASS_DEF( CondCont<NswT0Data> , 69140433 , 1 )
50
51#endif
Hold mappings of ranges to condition objects.
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
Hold mapping of ranges to condition objects.
Definition CondCont.h:889
Interface for Helper service that creates muon Identifiers and can be used to print Identifiers.
const Muon::IMuonIdHelperSvc * m_idHelperSvc
Definition NswT0Data.h:39
unsigned int identToModuleIdx(const Identifier &chan_id) const
Definition NswT0Data.cxx:28
NswT0Data(const Muon::IMuonIdHelperSvc *idHelperSvc)
Definition NswT0Data.cxx:15
std::vector< std::vector< float > > ChannelArray
Definition NswT0Data.h:41
ChannelArray m_data_mmg
Definition NswT0Data.h:42
bool getT0(const Identifier &channelId, float &channelT0) const
Definition NswT0Data.cxx:58
void setData(const Identifier &channelId, const float channelT0)
Definition NswT0Data.cxx:42
ChannelArray m_data_stg
Definition NswT0Data.h:43
~NswT0Data()=default
NRpcCablingAlg reads raw condition data and writes derived condition data to the condition store.