|
ATLAS Offline Software
|
Go to the documentation of this file.
13 constexpr
int M_MAX_RTS = 100000;
25 unsigned long int pos = 0;
26 std::string::size_type
start = rts_str.find_first_not_of(
' ',
pos);
27 if (
start == std::string::npos)
28 throw std::runtime_error(
29 Form(
"File: %s, Line: %d\nRtDataFromFile::read() - problems extracting m_rts, exiting", __FILE__, __LINE__));
31 std::string::size_type
stop = rts_str.find_first_of(
' ',
start + 1);
32 if (
stop == std::string::npos)
stop = rts_str.size();
36 for (
unsigned int i = 0;
i <
m_rts; ++
i) {
58 log << MSG::WARNING <<
"write() <inconsistent rt count>" <<
endmsg;
60 if (region >=
static_cast<int>(
m_rts)) {
62 log << MSG::WARNING <<
"write() <requested not existent region>" <<
endmsg;
74 log << MSG::WARNING <<
"write() <inconsistent rt count>" <<
endmsg;
89 log << MSG::WARNING <<
"write_forDB() <inconsistent rt count>" <<
endmsg;
91 if (region >=
static_cast<int>(
m_rts)) {
93 log << MSG::WARNING <<
"write_forDB() <requested not existent region>" <<
endmsg;
103 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.