![Logo](../../ATLAS-Logo-Square-Blue-RGB.png) |
ATLAS Offline Software
|
Go to the documentation of this file.
13 #define M_MAX_RTS 100000
24 unsigned long int pos = 0;
25 std::string::size_type
start = rts_str.find_first_not_of(
' ',
pos);
26 if (
start == std::string::npos)
27 throw std::runtime_error(
28 Form(
"File: %s, Line: %d\nRtDataFromFile::read() - problems extracting m_rts, exiting", __FILE__, __LINE__));
30 std::string::size_type
stop = rts_str.find_first_of(
' ',
start + 1);
31 if (
stop == std::string::npos)
stop = rts_str.size();
35 for (
unsigned int i = 0;
i <
m_rts; ++
i) {
57 log << MSG::WARNING <<
"write() <inconsistent rt count>" <<
endmsg;
59 if (region >=
static_cast<int>(
m_rts)) {
61 log << MSG::WARNING <<
"write() <requested not existent region>" <<
endmsg;
73 log << MSG::WARNING <<
"write() <inconsistent rt count>" <<
endmsg;
88 log << MSG::WARNING <<
"write_forDB() <inconsistent rt count>" <<
endmsg;
90 if (region >=
static_cast<int>(
m_rts)) {
92 log << MSG::WARNING <<
"write_forDB() <requested not existent region>" <<
endmsg;
102 log << MSG::WARNING <<
"write_forDB() <inconsistent rt count>" <<
endmsg;
char data[hepevt_bytes_allocation_ATLAS]
RtData_t_r_reso RtRelation
std::ostream & write(std::ostream &os, int region) const
Manages the I/O of the Rt realtions from/to file.
int m_major_version
format version
std::istream & operator>>(std::istream &is, MuonCalib::RtDataFromFile &data)
std::ostream & operator<<(std::ostream &os, const MuonCalib::RtDataFromFile &data)
IMessageSvc * getMessageSvc(bool quiet=false)
RtRelations m_rtRelations
rt relations
CscCalcPed - algorithm that finds the Cathode Strip Chamber pedestals from an RDO.
addiitonal information used in validation of a rt-relation
unsigned int m_rts
total number of regions
void write_forDB(FILE *frt, FILE *frtt, FILE *frtr, FILE *frts, int region) const
std::istream & read(std::istream &is)
std::vector< const RtFullInfo * > m_fullInfo
Represents an Rt relation in the form of a set of (time,radius,resolution) points.