ATLAS Offline Software
Loading...
Searching...
No Matches
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
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;
27 const cool::RecordSpecification m_atrspec;
28};
29
30inline const std::string& DataPointInfo::folder() const {return m_folder;}
31inline const std::string& DataPointInfo::column() const {return m_column;}
32inline const int DataPointInfo::channel() const { return m_channel;}
33inline const cool::IRecordSpecification& DataPointInfo::atrspec() const
34 { return m_atrspec;}
35
36#endif // COOLCONVUTILS_DATAPOINTINFO_H
const cool::RecordSpecification m_atrspec
DataPointInfo(const std::string &folder, const std::string &column, const int channel, const cool::RecordSpecification &atrspec)
const cool::IRecordSpecification & atrspec() const
const std::string & column() const
const int channel() const
std::string m_column
const std::string & folder() const
std::string m_folder