ATLAS Offline Software
Loading...
Searching...
No Matches
CablingObject.h
Go to the documentation of this file.
1/*
2 Copyright (C) 2002-2021 CERN for the benefit of the ATLAS collaboration
3*/
4
5#ifndef LVL1LOGICOBJECT_H
6#define LVL1LOGICOBJECT_H
7
9
10class CablingObject : public BaseObject {
11private:
12 int m_number{0};
13 int m_station{0};
15
16public:
27
28 CablingObject(const cablingParameters&, const std::string&);
29 CablingObject(const CablingObject&) = default;
30 virtual ~CablingObject() = default;
31
33
34 int number() const;
35 int station() const;
36 int sector_type() const;
37
38 [[nodiscard]] std::string error_header() const;
39 [[nodiscard]] std::string no_connection_error(const std::string&, int) const;
40
41 friend std::ostream& operator<<(std::ostream& stream, const CablingObject& obj);
42};
43
44#endif
BaseObject(ObjectType, const std::string &)
Definition BaseObject.cxx:7
std::string no_connection_error(const std::string &, int) const
int number() const
int sector_type() const
int station() const
friend std::ostream & operator<<(std::ostream &stream, const CablingObject &obj)
std::string error_header() const
CablingObject(const cablingParameters &, const std::string &)
virtual ~CablingObject()=default
CablingObject(const CablingObject &)=default
CablingObject & operator=(const CablingObject &)=default
cablingParameters & operator=(const cablingParameters &)=default
cablingParameters(cablingParameters &&)=default
cablingParameters(const cablingParameters &)=default