ICP
1
|
#include <DetectorFile.h>
Public Member Functions | |
DetectorFileMantid (const char *filename) | |
void | readLine (int &det_no, DETECTOR &det) |
bool | good () const |
int | numLines () const |
int | numUserTables () const |
const std::string & | instName () const |
const std::string & | instXMLFileName () const |
const std::string & | instXML () const |
const std::string & | instParameterMapFileName () const |
const std::string & | instParameterMap () const |
~DetectorFileMantid () | |
Public Member Functions inherited from IDetectorFile | |
virtual | ~IDetectorFile () |
Private Member Functions | |
template<typename T > | |
void | getItem (const std::string &name, std::vector< T > &value) |
template<typename T > | |
void | getItem (const std::string &name, T &value) |
template<> | |
void | getItem (const std::string &name, std::string &value) |
Private Member Functions inherited from ISIS::Base | |
Base (const std::string &logger_name="UNKNOWN") | |
void | setLoggerName (const std::string &logger_name) |
virtual | ~Base () |
virtual std::string | loggingPrefix () const |
void | setThisLoggerLevel (int level) |
Private Attributes | |
int | m_nlines |
int | m_current_line |
int | m_nuse |
bool | m_good |
NeXus::File * | m_file |
std::vector< double > | m_azimuthal_angle |
std::vector< double > | m_polar_angle |
std::vector< double > | m_distance |
std::vector< int32_t > | m_detector_number |
std::string | m_instrument_name |
std::string | m_instrument_xml |
std::string | m_instrument_xml_file_name |
std::string | m_instrument_parameter_map |
std::string | m_instrument_parameter_map_file_name |
Private Attributes inherited from ISIS::Base | |
Poco::Logger * | m_logger |
Poco::LogStream * | m_logstr |
Poco::Mutex | m_logger_lock |
Additional Inherited Members | |
Static Private Member Functions inherited from ISIS::Base | |
static void | setAllLoggerLevel (int level) |
Definition at line 55 of file DetectorFile.h.
DetectorFileMantid::DetectorFileMantid | ( | const char * | filename | ) |
Definition at line 19 of file DetectorFileMantid.cpp.
References getItem(), LOGSTR_ERROR, m_azimuthal_angle, m_detector_number, m_distance, m_file, m_good, m_instrument_name, m_instrument_parameter_map, m_instrument_xml, m_instrument_xml_file_name, m_nlines, m_nuse, m_polar_angle, and ISIS::Base::setLoggerName().
DetectorFileMantid::~DetectorFileMantid | ( | ) |
Definition at line 118 of file DetectorFileMantid.cpp.
References m_file.
|
private |
Definition at line 75 of file DetectorFileMantid.cpp.
References m_file.
Referenced by DetectorFileMantid().
|
private |
Definition at line 82 of file DetectorFileMantid.cpp.
References m_file.
|
private |
Definition at line 92 of file DetectorFileMantid.cpp.
References m_file.
|
inlinevirtual |
|
inline |
Definition at line 87 of file DetectorFile.h.
References m_instrument_name.
Referenced by ISISinstrumentControl::readDetectorTable().
|
inline |
Definition at line 91 of file DetectorFile.h.
References m_instrument_parameter_map.
Referenced by ISISinstrumentControl::readDetectorTable().
|
inline |
Definition at line 90 of file DetectorFile.h.
References m_instrument_parameter_map_file_name.
Referenced by ISISinstrumentControl::readDetectorTable().
|
inline |
Definition at line 89 of file DetectorFile.h.
References m_instrument_xml.
Referenced by ISISinstrumentControl::readDetectorTable().
|
inline |
Definition at line 88 of file DetectorFile.h.
References m_instrument_xml_file_name.
Referenced by ISISinstrumentControl::readDetectorTable().
|
inlinevirtual |
|
inlinevirtual |
|
virtual |
Implements IDetectorFile.
Definition at line 98 of file DetectorFileMantid.cpp.
References DETECTOR::code, DETECTOR::l2, m_azimuthal_angle, m_current_line, m_detector_number, m_distance, m_good, m_nlines, m_polar_angle, DETECTOR::offset, DETECTOR::theta, and DETECTOR::ut.
|
private |
Definition at line 63 of file DetectorFile.h.
Referenced by DetectorFileMantid(), and readLine().
|
private |
Definition at line 59 of file DetectorFile.h.
Referenced by readLine().
|
private |
Definition at line 66 of file DetectorFile.h.
Referenced by DetectorFileMantid(), and readLine().
|
private |
Definition at line 65 of file DetectorFile.h.
Referenced by DetectorFileMantid(), and readLine().
|
private |
Definition at line 62 of file DetectorFile.h.
Referenced by DetectorFileMantid(), getItem(), and ~DetectorFileMantid().
|
private |
Definition at line 61 of file DetectorFile.h.
Referenced by DetectorFileMantid(), good(), and readLine().
|
private |
Definition at line 67 of file DetectorFile.h.
Referenced by DetectorFileMantid(), and instName().
|
private |
Definition at line 70 of file DetectorFile.h.
Referenced by DetectorFileMantid(), and instParameterMap().
|
private |
Definition at line 71 of file DetectorFile.h.
Referenced by instParameterMapFileName().
|
private |
Definition at line 68 of file DetectorFile.h.
Referenced by DetectorFileMantid(), and instXML().
|
private |
Definition at line 69 of file DetectorFile.h.
Referenced by DetectorFileMantid(), and instXMLFileName().
|
private |
Definition at line 58 of file DetectorFile.h.
Referenced by DetectorFileMantid(), numLines(), and readLine().
|
private |
Definition at line 60 of file DetectorFile.h.
Referenced by DetectorFileMantid(), and numUserTables().
|
private |
Definition at line 64 of file DetectorFile.h.
Referenced by DetectorFileMantid(), and readLine().