![]() |
AliRoot Core
3dc7879 (3dc7879)
|
Per digitizer card pulser calibration. More...
#include <AliFMDCalibSampleRate.h>
Public Member Functions | |
AliFMDCalibSampleRate () | |
AliFMDCalibSampleRate (const AliFMDCalibSampleRate &o) | |
AliFMDCalibSampleRate & | operator= (const AliFMDCalibSampleRate &o) |
void | Set (UShort_t det, Char_t ring, UShort_t sec, UShort_t str, UShort_t rate) |
UShort_t | Rate (UShort_t det, Char_t ring, UShort_t sec, UShort_t str=0) const |
void | WriteToFile (std::ostream &outFile, Bool_t *detectors=0) |
void | ReadFromFile (std::istream &inFile) |
const AliFMDUShortMap & | Rates () const |
Protected Attributes | |
AliFMDUShortMap | fRates |
Per digitizer card pulser calibration.
Definition at line 37 of file AliFMDCalibSampleRate.h.
AliFMDCalibSampleRate::AliFMDCalibSampleRate | ( | ) |
CTOR
Definition at line 59 of file AliFMDCalibSampleRate.cxx.
AliFMDCalibSampleRate::AliFMDCalibSampleRate | ( | const AliFMDCalibSampleRate & | o | ) |
AliFMDCalibSampleRate & AliFMDCalibSampleRate::operator= | ( | const AliFMDCalibSampleRate & | o | ) |
Assignment operator
o | Object to assign from |
Definition at line 76 of file AliFMDCalibSampleRate.cxx.
UShort_t AliFMDCalibSampleRate::Rate | ( | UShort_t | det, |
Char_t | ring, | ||
UShort_t | sec, | ||
UShort_t | str = 0 |
||
) | const |
Get sample rate for a sector
Definition at line 99 of file AliFMDCalibSampleRate.cxx.
Referenced by AliFMDParameters::GetSampleRate(), and WriteToFile().
|
inline |
Definition at line 91 of file AliFMDCalibSampleRate.h.
Referenced by AliFMDParameters::InitSampleRate().
void AliFMDCalibSampleRate::ReadFromFile | ( | std::istream & | inFile | ) |
Read information from file and set sample rates
inFile | input file stream |
Definition at line 140 of file AliFMDCalibSampleRate.cxx.
Referenced by AliFMDPreprocessor::GetInfoCalibration(), DrawCalibRaw::Init(), and AliFMDParameters::Init().
void AliFMDCalibSampleRate::Set | ( | UShort_t | det, |
Char_t | ring, | ||
UShort_t | sec, | ||
UShort_t | str, | ||
UShort_t | rate | ||
) |
Set sample for a sector
Definition at line 85 of file AliFMDCalibSampleRate.cxx.
Referenced by AliFMDCalibFaker::MakeSampleRate(), ReadFromFile(), and AliFMDRawReader::ReadSODevent().
void AliFMDCalibSampleRate::WriteToFile | ( | std::ostream & | outFile, |
Bool_t * | detectors = 0 |
||
) |
Write stored samplerates to file
outFile | Output file stream |
Definition at line 112 of file AliFMDCalibSampleRate.cxx.
Referenced by AliFMDBaseDA::WriteConditionsData().
|
protected |
Definition at line 94 of file AliFMDCalibSampleRate.h.
Referenced by AliFMDCalibSampleRate(), operator=(), Rate(), Rates(), and Set().