ATLAS Offline Software
RPCchamberdata.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 RPCCHAMBERDATA_H
6 #define RPCCHAMBERDATA_H
7 
8 #include <list>
9 
14 
15 namespace RPC_CondCabling {
16 
18  private:
19  typedef std::list<RPCchamber> RPClist;
20  int m_station{0};
21  bool m_fail{true};
22 
24 
25  void reset_data();
29 
30  public:
31  RPCchamberdata(DBline&, int);
32  virtual ~RPCchamberdata() = default;
33 
34  std::unique_ptr<RPCchamber> give_rpc();
35 
36  int station() const { return m_station; }
37 
38  virtual void Print(std::ostream&, bool) const override;
39  };
40 
41  template <class X> X& operator<<(X& stream, RPCchamberdata& data) {
42  data.Print(stream, false);
43  return stream;
44  }
45 
46 } // namespace RPC_CondCabling
47 
48 #endif
data
char data[hepevt_bytes_allocation_ATLAS]
Definition: HepEvt.cxx:11
ShowRequest.h
RPC_CondCabling::RPCchamberdata::m_station
int m_station
Definition: RPCchamberdata.h:20
RPC_CondCabling::operator<<
X & operator<<(X &stream, CMAcablingdata &data)
Definition: CMAcablingdata.h:44
RPC_CondCabling::RPCchamberdata::~RPCchamberdata
virtual ~RPCchamberdata()=default
RPC_CondCabling::RPCchamberdata::confirm_ijk
bool confirm_ijk(ViewType, RPCchamber::chamberParameters &params)
Definition: RPCchamberdata.cxx:81
RPC_CondCabling::RPCchamberdata::Print
virtual void Print(std::ostream &, bool) const override
Definition: RPCchamberdata.cxx:121
RPC_CondCabling
Definition: CMAcablingdata.h:18
AthenaPoolTestWrite.stream
string stream
Definition: AthenaPoolTestWrite.py:12
RPC_CondCabling::RPCchamberdata::reset_data
void reset_data()
Definition: RPCchamberdata.cxx:37
Monitored::X
@ X
Definition: HistogramFillerUtils.h:24
RPC_CondCabling::RPCchamberdata
Definition: RPCchamberdata.h:17
RPC_CondCabling::RPCchamberdata::get_data
bool get_data(DBline &, RPCchamber::chamberParameters &params)
Definition: RPCchamberdata.cxx:99
RPC_CondCabling::RPCchamberdata::m_rpc
RPClist m_rpc
Definition: RPCchamberdata.h:23
ViewType
ViewType
Definition: RPCdef.h:8
RPCdecoder.h
RPC_CondCabling::RPCchamberdata::give_rpc
std::unique_ptr< RPCchamber > give_rpc()
Definition: RPCchamberdata.cxx:112
RPC_CondCabling::RPCchamberdata::RPClist
std::list< RPCchamber > RPClist
Definition: RPCchamberdata.h:19
RPCchamber.h
RPC_CondCabling::RPCchamber::chamberParameters
Definition: RPCchamber.h:58
RPC_CondCabling::RPCchamberdata::confirm_connectors
bool confirm_connectors(ViewType, RPCchamber::chamberParameters &params)
Definition: RPCchamberdata.cxx:39
BaseObject
Definition: BaseObject.h:13
RPC_CondCabling::RPCchamberdata::station
int station() const
Definition: RPCchamberdata.h:36
DBline
Definition: dbline.h:255
dbline.h
PowhegControl_ttFCNC_NLO.params
params
Definition: PowhegControl_ttFCNC_NLO.py:226
RPC_CondCabling::RPCchamberdata::RPCchamberdata
RPCchamberdata(DBline &, int)
Definition: RPCchamberdata.cxx:13
RPC_CondCabling::RPCchamberdata::m_fail
bool m_fail
Definition: RPCchamberdata.h:21