ATLAS Offline Software
Loading...
Searching...
No Matches
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
17
18namespace 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
char data[hepevt_bytes_allocation_ATLAS]
Definition HepEvt.cxx:11
ViewType
Definition RPCdef.h:8
@ NoView
Definition RPCdef.h:8
BaseObject(ObjectType, const std::string &)
Definition BaseObject.cxx:7
virtual ~CMApivotdata()=default
std::list< EvenPhiCMA > EvenPHIlist
std::list< EtaCMA > ETAlist
std::unique_ptr< EtaCMA > give_eta_cma()
CMApivotdata(DBline &, int, const std::string &)
std::unique_ptr< EvenPhiCMA > give_evenphi_cma()
bool confirm_data(ViewType, CMAparameters::parseParams &parser)
virtual void Print(std::ostream &, bool) const override
bool get_data(DBline &, CMAparameters::parseParams &parser)
std::list< OddPhiCMA > OddPHIlist
std::unique_ptr< OddPhiCMA > give_oddphi_cma()
X & operator<<(X &stream, CMAcablingdata &data)