#include <CMApivotdata.h>
Definition at line 20 of file CMApivotdata.h.
◆ ETAlist
◆ EvenPHIlist
◆ OddPHIlist
◆ CMApivotdata()
| CMApivotdata::CMApivotdata |
( |
DBline & | data, |
|
|
int | type, |
|
|
const std::string & | layout ) |
Definition at line 11 of file CMApivotdata.cxx.
14{
16 do {
17 CMAparameters::parseParams
parser;
28 }
29 }
30 }
33}
char data[hepevt_bytes_allocation_ATLAS]
BaseObject(ObjectType, const std::string &)
bool get_data(DBline &, CMAparameters::parseParams &parser)
◆ ~CMApivotdata()
| virtual RPC_CondCabling::CMApivotdata::~CMApivotdata |
( |
| ) |
|
|
virtualdefault |
◆ confirm_data()
Definition at line 40 of file CMApivotdata.cxx.
40 {
44
45 std::ostringstream disp;
46
49 <<
"CMA cabling error into configuration for Sector Type " <<
parser.sectorType <<
", " <<
m_covtag <<
" " <<
view
50 <<
" CMA number " <<
parser.number << std::endl
51 <<
" coverage tag ==> " <<
m_covtag <<
" <== is not recognized!";
52 return false;
53 }
54
56 if (start >= stop) {
58 <<
"CMA cabling error into configuration for Sector Type " <<
parser.sectorType <<
", " <<
view <<
" CMA number "
59 <<
parser.number << std::endl
60 <<
" start position (" <<
parser.pivotStartChan <<
":" <<
parser.pivotStartStation <<
") is greater than stop position ("
61 <<
parser.pivotStopChan <<
":" <<
parser.pivotStopStation <<
")";
62 return false;
63 }
64 }
68 <<
"CMA cabling error into configuration for Sector Type " <<
parser.sectorType <<
", " <<
m_covtag <<
" " <<
view
69 <<
" CMA number " <<
parser.number << std::endl
70 <<
" start position (" <<
parser.pivotStartChan <<
":" <<
parser.pivotStartStation <<
") is greater than stop position ("
71 <<
parser.pivotStopChan <<
":" <<
parser.pivotStopStation <<
")";
72 return false;
73 }
76 <<
"CMA cabling error into configuration for Sector Type " <<
parser.sectorType <<
", " <<
m_covtag <<
" " <<
view
77 <<
" CMA number " <<
parser.number << std::endl
78 <<
" start position (" <<
parser.pivotStartChan <<
":" <<
parser.pivotStartStation <<
") is lower than stop position ("
79 <<
parser.pivotStopChan <<
":" <<
parser.pivotStopStation <<
")";
80 return false;
81 }
84 <<
"CMA cabling error into configuration for Sector Type " <<
parser.sectorType <<
", " <<
m_covtag <<
" " <<
view
85 <<
" CMA number " <<
parser.number << std::endl
86 << " phi CMA Pivot connected to more than 1 wired or";
87 return false;
88 }
89 }
90 return true;
91}
#define REPORT_MESSAGE_WITH_CONTEXT(LVL, CONTEXT_NAME)
Report a message, with an explicitly specified context name.
CMAcoverage coverage() const
◆ get_data()
Definition at line 93 of file CMApivotdata.cxx.
93 {
95
98 parser.pivotStartStation >>
"-" >>
parser.pivotStopChan >>
":" >>
parser.pivotStopStation) {
102 }
103
106 parser.pivotStartChan >>
":" >>
parser.pivotStartStation >>
"-" >>
parser.pivotStopChan >>
":" >>
parser.pivotStopStation) {
110 }
111
113}
bool confirm_data(ViewType, CMAparameters::parseParams &parser)
◆ give_eta_cma()
| std::unique_ptr< EtaCMA > CMApivotdata::give_eta_cma |
( |
| ) |
|
Definition at line 115 of file CMApivotdata.cxx.
115 {
117 std::unique_ptr<EtaCMA> CMA = std::make_unique<EtaCMA>(
m_etaCMA.front());
119 return CMA;
120 }
121 return nullptr;
122}
◆ give_evenphi_cma()
| std::unique_ptr< EvenPhiCMA > CMApivotdata::give_evenphi_cma |
( |
| ) |
|
Definition at line 124 of file CMApivotdata.cxx.
124 {
126 std::unique_ptr<EvenPhiCMA> CMA = std::make_unique<EvenPhiCMA>(
m_evenphiCMA.front());
128 return CMA;
129 }
130 return nullptr;
131}
◆ give_oddphi_cma()
| std::unique_ptr< OddPhiCMA > CMApivotdata::give_oddphi_cma |
( |
| ) |
|
Definition at line 133 of file CMApivotdata.cxx.
133 {
135 std::unique_ptr<OddPhiCMA> CMA = std::make_unique<OddPhiCMA>(
m_oddphiCMA.front());
137 return CMA;
138 }
139 return nullptr;
140}
◆ name()
| const std::string & BaseObject::name |
( |
| ) |
const |
|
inlineinherited |
◆ Print()
| void CMApivotdata::Print |
( |
std::ostream & | stream, |
|
|
bool | detail ) const |
|
overridevirtual |
Reimplemented from BaseObject.
Definition at line 142 of file CMApivotdata.cxx.
142 {
143 stream <<
"CMA pivot segmentation";
144
146 stream <<
" eta CMAs:" << std::endl;
147 ETAlist::const_iterator ei;
148 for (ei =
m_etaCMA.begin(); ei !=
m_etaCMA.end(); ++ei) stream << ShowRequest<EtaCMA>(*ei, detail);
149
151 stream <<
"even phi CMAs:" << std::endl;
152 EvenPHIlist::const_iterator
ev;
154
156 stream <<
"odd phi CMAs:" << std::endl;
157 OddPHIlist::const_iterator od;
158 for (od =
m_oddphiCMA.begin(); od !=
m_oddphiCMA.end(); ++od) stream << ShowRequest<OddPhiCMA>(*od, detail);
159}
◆ reset_data()
| void CMApivotdata::reset_data |
( |
void | | ) |
|
|
private |
◆ tag()
◆ m_covtag
| std::string RPC_CondCabling::CMApivotdata::m_covtag {} |
|
private |
◆ m_etaCMA
| ETAlist RPC_CondCabling::CMApivotdata::m_etaCMA |
|
private |
◆ m_evenphiCMA
| EvenPHIlist RPC_CondCabling::CMApivotdata::m_evenphiCMA |
|
private |
◆ m_fail
| bool RPC_CondCabling::CMApivotdata::m_fail {true} |
|
private |
◆ m_layout
| std::string RPC_CondCabling::CMApivotdata::m_layout |
|
private |
◆ m_name
| std::string BaseObject::m_name |
|
privateinherited |
◆ m_oddphiCMA
| OddPHIlist RPC_CondCabling::CMApivotdata::m_oddphiCMA |
|
private |
◆ m_tag
◆ m_view
The documentation for this class was generated from the following files: