![]() |
Diana Software
|
Public Member Functions | |
| LHDRGlobalReader () | |
| ~LHDRGlobalReader () | |
| QError | Open (const std::string &filename, const std::string &opt="") |
| Open file, called by QGlobalReaderDispatcher. More... | |
| QError | Close () |
| Close file, called by QGlobalReaderDispatcher. More... | |
| const Diana::QObject * | GetQObject (const std::string &name, const std::string &className, QError &err) const |
Public Member Functions inherited from QGlobalReader | |
| QGlobalReader (const std::string &name) | |
| constructor More... | |
| virtual | ~QGlobalReader () |
| destructor More... | |
| template<class Q > | |
| const Q * | Get (const std::string &name, QError &err) const |
| Get QObject, owned by this reader. More... | |
| template<class Q > | |
| const Q * | Get (const Diana::QGlobalLabel &label, QError &err) const |
| Get QObject, owned by this reader. More... | |
Public Member Functions inherited from QNamed | |
| QNamed () | |
| QNamed (const std::string &Name) | |
| virtual | ~QNamed () |
| const std::string & | GetName () const |
| void | SetName (const std::string &name) |
Private Member Functions | |
| void | Parse () |
Private Attributes | |
| std::map< std::string, Diana::QObject * > * | fQObjectCache |
| std::ifstream | fFile |
| std::string | fName |
Additional Inherited Members | |
Protected Member Functions inherited from QGlobalReader | |
| virtual const Diana::QObject * | GetQObject (const Diana::QGlobalLabel &label, const std::string &className, QError &err) const |
Definition at line 18 of file LHDRGlobalReader.hh.
| LHDRGlobalReader::LHDRGlobalReader | ( | ) |
Definition at line 16 of file LHDRGlobalReader.cc.
| LHDRGlobalReader::~LHDRGlobalReader | ( | ) |
Definition at line 21 of file LHDRGlobalReader.cc.
References Close(), and fQObjectCache.
|
virtual |
Close file, called by QGlobalReaderDispatcher.
Implements QGlobalReader.
Definition at line 45 of file LHDRGlobalReader.cc.
References err, fFile, fName, fQObjectCache, and QERR_SUCCESS.
Referenced by ~LHDRGlobalReader().
|
virtual |
Reimplemented from QGlobalReader.
Definition at line 61 of file LHDRGlobalReader.cc.
References err, fQObjectCache, QNamed::GetName(), QERR_SUCCESS, and QERR_UNKNOWN_ERR.
|
virtual |
Open file, called by QGlobalReaderDispatcher.
Implements QGlobalReader.
Definition at line 28 of file LHDRGlobalReader.cc.
References err, fFile, fName, Parse(), QERR_CANNOT_OPEN_FILE, and QERR_SUCCESS.
|
private |
Definition at line 81 of file LHDRGlobalReader.cc.
References DN_CUORICINO, DN_HALLC, DN_UNKNOWN, QChannelRunData::fADC2mV, QChannelRunData::fADCMax, QChannelRunData::fADCMin, QRunData::fBolometerChannels, QRunData::fDetector, QRunData::fDuration, fFile, QChannelRunData::fIsBolometer, QChannelRunData::fIsThermometer, fName, QRunData::fNumber, QChannelRunData::fNumberOfSamples, QChannelRunData::fSamplingFrequency, QRunData::fStartDate, QRunData::fStopDate, QRunData::fThermalDetectorChannels, QRunData::fType, QTime::GetStartRunUnix(), min(), pow(), RT_UNKNOWN, QRunData::SetChannelRunData(), and QTime::SetStartRunUnix().
Referenced by Open().
|
private |
Definition at line 37 of file LHDRGlobalReader.hh.
|
private |
Definition at line 38 of file LHDRGlobalReader.hh.
|
private |
Definition at line 35 of file LHDRGlobalReader.hh.
Referenced by Close(), GetQObject(), and ~LHDRGlobalReader().