ATLAS Offline Software
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 
10 class CablingObject : public BaseObject {
11 private:
12  int m_number{0};
13  int m_station{0};
14  int m_sector_type{0};
15 
16 public:
18  cablingParameters() = default;
22 
23  int number{0};
24  int station{0};
25  int sectorType{0};
26  };
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
CablingObject::m_station
int m_station
Definition: CablingObject.h:13
CablingObject::cablingParameters::operator=
cablingParameters & operator=(const cablingParameters &)=default
CablingObject::cablingParameters::number
int number
Definition: CablingObject.h:23
CablingObject::cablingParameters::sectorType
int sectorType
Definition: CablingObject.h:25
CablingObject::cablingParameters::cablingParameters
cablingParameters(const cablingParameters &)=default
CablingObject::cablingParameters::cablingParameters
cablingParameters()=default
CablingObject::operator=
CablingObject & operator=(const CablingObject &)=default
BaseObject.h
AthenaPoolTestWrite.stream
string stream
Definition: AthenaPoolTestWrite.py:12
CablingObject::cablingParameters
Definition: CablingObject.h:17
CablingObject::station
int station() const
Definition: CablingObject.cxx:13
CablingObject::cablingParameters::cablingParameters
cablingParameters(cablingParameters &&)=default
CablingObject::error_header
std::string error_header() const
Definition: CablingObject.cxx:22
CablingObject::m_sector_type
int m_sector_type
Definition: CablingObject.h:14
CablingObject::~CablingObject
virtual ~CablingObject()=default
CablingObject::CablingObject
CablingObject(const CablingObject &)=default
BaseObject
Definition: BaseObject.h:13
CablingObject::cablingParameters::station
int station
Definition: CablingObject.h:24
CablingObject
Definition: CablingObject.h:10
CablingObject::number
int number() const
Definition: CablingObject.cxx:12
CablingObject::m_number
int m_number
Definition: CablingObject.h:12
CablingObject::CablingObject
CablingObject(const cablingParameters &, const std::string &)
Definition: CablingObject.cxx:9
CablingObject::operator<<
friend std::ostream & operator<<(std::ostream &stream, const CablingObject &obj)
Definition: CablingObject.cxx:16
CablingObject::no_connection_error
std::string no_connection_error(const std::string &, int) const
Definition: CablingObject.cxx:30
python.PyAthena.obj
obj
Definition: PyAthena.py:132
CablingObject::sector_type
int sector_type() const
Definition: CablingObject.cxx:14