#include <BeamMonFillerHelpers.h>
Public Member Functions | |
| BMWriteHadMuRel (VldRange range, const char *comment) | |
| ~BMWriteHadMuRel () | |
| void | Write (const char *device_name, float channel_rel_calibs[], int nchan) |
Private Attributes | |
| BMWriteHadMuRelImp * | imp |
|
||||||||||||
|
Definition at line 24 of file BeamMonFillerHelpers.cxx. 00025 : imp(new BMWriteHadMuRelImp(range,comment)) 00026 { 00027 00028 }
|
|
|
Definition at line 29 of file BeamMonFillerHelpers.cxx. References DbiWriter< T >::Close(), imp, MSG, and BMWriteHadMuRelImp::writer. 00030 {
00031 MSG("BD",Msg::kInfo) << "Closing writer\n";
00032 imp->writer.Close();
00033 delete imp;
00034 }
|
|
||||||||||||||||
|
Definition at line 36 of file BeamMonFillerHelpers.cxx. References BeamMonSwicRel::GetChannels(), imp, MSG, and BMWriteHadMuRelImp::writer. 00039 {
00040 BeamMonSwicRel had_row(device_name);
00041 vector<float> &channel = had_row.GetChannels();
00042 MSG("BD",Msg::kInfo) << device_name << endl;
00043 for (int ch=0; ch<96; ++ch) {
00044 int ind = ch-48;
00045 if (ch<48) ind = ch+48;
00046 if (ch<nchan)
00047 channel[ind] = channel_rel_calibs[ch];
00048 else
00049 channel[ind] = 0;
00050 MSG("BD",Msg::kInfo) << "[" << channel[ind] << "] ";
00051 }
00052
00053 MSG("BD",Msg::kInfo) << "\nWriting\n";
00054 imp->writer << had_row;
00055 }
|
|
|
Definition at line 10 of file BeamMonFillerHelpers.h. Referenced by Write(), and ~BMWriteHadMuRel(). |
1.3.9.1