ATLAS Offline Software
CMApivotdata.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 PIVOTDATA_H
6 #define PIVOTDATA_H
7 
8 #include <iostream>
9 #include <list>
10 
14 #include "RPC_CondCabling/EtaCMA.h"
17 
18 namespace RPC_CondCabling {
19 
21  private:
22  typedef std::list<EtaCMA> ETAlist;
23  typedef std::list<EvenPhiCMA> EvenPHIlist;
24  typedef std::list<OddPhiCMA> OddPHIlist;
25 
26  bool m_fail{true};
27 
28  std::string m_layout;
29 
31  std::string m_covtag{};
32 
36 
37  void reset_data(void);
40 
41  public:
42  CMApivotdata(DBline&, int, const std::string&);
43  virtual ~CMApivotdata() = default;
44 
45  std::unique_ptr<EtaCMA> give_eta_cma();
46  std::unique_ptr<EvenPhiCMA> give_evenphi_cma();
47  std::unique_ptr<OddPhiCMA> give_oddphi_cma();
48 
49  virtual void Print(std::ostream&, bool) const override;
50  };
51 
52  template <class X> X& operator<<(X& stream, CMApivotdata& data) {
53  data.Print(stream, false);
54  return stream;
55  }
56 
57 } // namespace RPC_CondCabling
58 #endif
python.CaloScaleNoiseConfig.parser
parser
Definition: CaloScaleNoiseConfig.py:75
EvenPhiCMA.h
data
char data[hepevt_bytes_allocation_ATLAS]
Definition: HepEvt.cxx:11
RPC_CondCabling::CMApivotdata::ETAlist
std::list< EtaCMA > ETAlist
Definition: CMApivotdata.h:22
EtaCMA.h
ShowRequest.h
RPC_CondCabling::CMApivotdata::give_oddphi_cma
std::unique_ptr< OddPhiCMA > give_oddphi_cma()
Definition: CMApivotdata.cxx:133
RPC_CondCabling::operator<<
X & operator<<(X &stream, CMAcablingdata &data)
Definition: CMAcablingdata.h:44
RPC_CondCabling::CMApivotdata
Definition: CMApivotdata.h:20
RPC_CondCabling::CMApivotdata::m_covtag
std::string m_covtag
Definition: CMApivotdata.h:31
RPC_CondCabling
Definition: CMAcablingdata.h:18
RPC_CondCabling::CMApivotdata::CMApivotdata
CMApivotdata(DBline &, int, const std::string &)
Definition: CMApivotdata.cxx:11
AthenaPoolTestWrite.stream
string stream
Definition: AthenaPoolTestWrite.py:12
RPC_CondCabling::CMApivotdata::Print
virtual void Print(std::ostream &, bool) const override
Definition: CMApivotdata.cxx:142
Monitored::X
@ X
Definition: HistogramFillerUtils.h:24
RPC_CondCabling::CMApivotdata::m_etaCMA
ETAlist m_etaCMA
Definition: CMApivotdata.h:33
ViewType
ViewType
Definition: RPCdef.h:8
RPC_CondCabling::CMApivotdata::m_evenphiCMA
EvenPHIlist m_evenphiCMA
Definition: CMApivotdata.h:34
RPC_CondCabling::CMApivotdata::m_oddphiCMA
OddPHIlist m_oddphiCMA
Definition: CMApivotdata.h:35
RPC_CondCabling::CMApivotdata::give_eta_cma
std::unique_ptr< EtaCMA > give_eta_cma()
Definition: CMApivotdata.cxx:115
RPC_CondCabling::CMApivotdata::confirm_data
bool confirm_data(ViewType, CMAparameters::parseParams &parser)
Definition: CMApivotdata.cxx:40
RPC_CondCabling::CMApivotdata::reset_data
void reset_data(void)
Definition: CMApivotdata.cxx:34
RPC_CondCabling::CMApivotdata::~CMApivotdata
virtual ~CMApivotdata()=default
OddPhiCMA.h
RPCdef.h
NoView
@ NoView
Definition: RPCdef.h:8
BaseObject
Definition: BaseObject.h:13
RPC_CondCabling::CMApivotdata::m_layout
std::string m_layout
Definition: CMApivotdata.h:28
CMAparameters::parseParams
Definition: CMAparameters.h:51
RPC_CondCabling::CMApivotdata::OddPHIlist
std::list< OddPhiCMA > OddPHIlist
Definition: CMApivotdata.h:24
DBline
Definition: dbline.h:255
RPC_CondCabling::CMApivotdata::m_fail
bool m_fail
Definition: CMApivotdata.h:26
dbline.h
RPC_CondCabling::CMApivotdata::give_evenphi_cma
std::unique_ptr< EvenPhiCMA > give_evenphi_cma()
Definition: CMApivotdata.cxx:124
RPC_CondCabling::CMApivotdata::EvenPHIlist
std::list< EvenPhiCMA > EvenPHIlist
Definition: CMApivotdata.h:23
RPC_CondCabling::CMApivotdata::get_data
bool get_data(DBline &, CMAparameters::parseParams &parser)
Definition: CMApivotdata.cxx:93
RPC_CondCabling::CMApivotdata::m_view
ViewType m_view
Definition: CMApivotdata.h:30