ATLAS Offline Software
Database
CoolConvUtilities
src
DataPointInfo.h
Go to the documentation of this file.
1
/*
2
Copyright (C) 2002-2024 CERN for the benefit of the ATLAS collaboration
3
*/
4
5
#ifndef COOLCONVUTILS_DATAPOINTINFO_H
6
#define COOLCONVUTILS_DATAPOINTINFO_H
7
// DataPointInfo.h - simple class to hold info about DCS datapoint represented
8
// in COOL
9
// Richard Hawkings, started 11/1/06
10
11
#include <string>
12
#include "CoolKernel/RecordSpecification.h"
13
14
class
DataPointInfo
{
15
public
:
16
DataPointInfo
(
const
std::string&
folder
,
const
std::string&
column
,
17
const
int
channel
,
const
cool::RecordSpecification&
atrspec
);
18
const
std::string&
folder
()
const
;
19
const
std::string&
column
()
const
;
20
const
int
channel
()
const
;
21
const
cool::IRecordSpecification&
atrspec
()
const
;
22
23
private
:
24
std::string
m_folder
;
25
std::string
m_column
;
26
int
m_channel
;
27
const
cool::RecordSpecification
m_atrspec
;
28
};
29
30
inline
const
std::string&
DataPointInfo::folder
()
const
{
return
m_folder
;}
31
inline
const
std::string&
DataPointInfo::column
()
const
{
return
m_column
;}
32
inline
const
int
DataPointInfo::channel
()
const
{
return
m_channel
;}
33
inline
const
cool::IRecordSpecification&
DataPointInfo::atrspec
()
const
34
{
return
m_atrspec
;}
35
36
#endif // COOLCONVUTILS_DATAPOINTINFO_H
DataPointInfo::column
const std::string & column() const
Definition:
DataPointInfo.h:31
DataPointInfo::m_folder
std::string m_folder
Definition:
DataPointInfo.h:24
DataPointInfo::folder
const std::string & folder() const
Definition:
DataPointInfo.h:30
DataPointInfo::channel
const int channel() const
Definition:
DataPointInfo.h:32
DataPointInfo::DataPointInfo
DataPointInfo(const std::string &folder, const std::string &column, const int channel, const cool::RecordSpecification &atrspec)
Definition:
DataPointInfo.cxx:11
DataPointInfo::m_atrspec
const cool::RecordSpecification m_atrspec
Definition:
DataPointInfo.h:27
DataPointInfo::m_channel
int m_channel
Definition:
DataPointInfo.h:26
DataPointInfo::atrspec
const cool::IRecordSpecification & atrspec() const
Definition:
DataPointInfo.h:33
DataPointInfo
Definition:
DataPointInfo.h:14
DataPointInfo::m_column
std::string m_column
Definition:
DataPointInfo.h:25
Generated on Mon Dec 23 2024 21:09:05 for ATLAS Offline Software by
1.8.18