ATLAS Offline Software
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
11 #include "AthenaKernel/CondCont.h"
12 #include "AthenaKernel/BaseInfo.h"
13 // STL includes
14 #include <vector>
15 
16 class Identifier;
17 
18 namespace Muon{
19  class IMuonIdHelperSvc;
20 }
21 
22 class NswT0Data {
23 
24 
25 public:
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 
35 private:
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 
48 CLASS_DEF( NswT0Data ,148122593 , 1 )
49 CLASS_DEF( CondCont<NswT0Data> , 69140433 , 1 )
50 
51 #endif
NswT0Data::getT0
bool getT0(const Identifier &channelId, float &channelT0) const
Definition: NswT0Data.cxx:58
CondCont.h
Hold mappings of ranges to condition objects.
NswT0Data::m_data_stg
ChannelArray m_data_stg
Definition: NswT0Data.h:43
Muon
NRpcCablingAlg reads raw condition data and writes derived condition data to the condition store.
Definition: TrackSystemController.h:45
NswT0Data::~NswT0Data
~NswT0Data()=default
NswT0Data::m_data_mmg
ChannelArray m_data_mmg
Definition: NswT0Data.h:42
BaseInfo.h
Provide an interface for finding inheritance information at run time.
NswT0Data::ChannelArray
std::vector< std::vector< float > > ChannelArray
Definition: NswT0Data.h:41
NswT0Data
Definition: NswT0Data.h:22
CaloCondBlobAlgs_fillNoiseFromASCII.channelId
channelId
Definition: CaloCondBlobAlgs_fillNoiseFromASCII.py:121
NswT0Data::identToModuleIdx
unsigned int identToModuleIdx(const Identifier &chan_id) const
Definition: NswT0Data.cxx:28
NswT0Data::NswT0Data
NswT0Data(const Muon::IMuonIdHelperSvc *idHelperSvc)
Definition: NswT0Data.cxx:15
CondCont
Hold mapping of ranges to condition objects.
Definition: CondCont.h:811
NswT0Data::setData
void setData(const Identifier &channelId, const float channelT0)
Definition: NswT0Data.cxx:42
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
Muon::IMuonIdHelperSvc
Interface for Helper service that creates muon Identifiers and can be used to print Identifiers.
Definition: IMuonIdHelperSvc.h:27
NswT0Data::m_idHelperSvc
const Muon::IMuonIdHelperSvc * m_idHelperSvc
Definition: NswT0Data.h:39
Identifier
Definition: IdentifierFieldParser.cxx:14