33 if (parse_params.
start > parse_params.
stop) {
34 std::ostringstream display;
36 <<
"WORdata error in configuration for Sector Type " << parse_params.
sectorType <<
", station " << parse_params.
station
37 <<
", WOR number " << parse_params.
number << std::endl
38 <<
" start RPC chamber (" << parse_params.
start <<
") is greater than "
39 <<
"stop RPC chamber (" << parse_params.
stop <<
")";
47 if (
data(
"hard wired phi chamber") >> parse_params.
number >> parse_params.
start >>
"-" >> parse_params.
stop) {
57 std::unique_ptr<WiredOR> Wor = std::make_unique<WiredOR>(
m_wor.front());
65 stream <<
"Wired OR data of station n. " <<
m_station;
67 stream <<
"It contains " <<
m_wor.size();
68 stream <<
" Wired ORs:" << std::endl;
73 data.Print(stream,
false);
Helpers for checking error return status codes and reporting errors.
#define REPORT_MESSAGE_WITH_CONTEXT(LVL, CONTEXT_NAME)
Report a message, with an explicitly specified context name.
char data[hepevt_bytes_allocation_ATLAS]
BaseObject(ObjectType, const std::string &)
bool get_data(DBline &, WiredOR::parseParams &)
virtual void Print(std::ostream &, bool) const override
bool confirm_boundary(WiredOR::parseParams &) const
WiredORdata(DBline &, int)
std::unique_ptr< WiredOR > give_wor(void)
X & operator<<(X &stream, CMAcablingdata &data)
int stop
first RPC chamber to which wired strips belong
int start
strip type put in wired OR