#include <AlgDeadChip.h>
Inheritance diagram for AlgDeadChip:

Public Member Functions | |
| AlgDeadChip () | |
| ~AlgDeadChip () | |
| void | RunAlg (AlgConfig &ac, CandHandle &ch, CandContext &cx) |
| void | Trace (const char *c) const |
|
|
Definition at line 22 of file AlgDeadChip.cxx. 00023 {
00024
00025 }
|
|
|
Definition at line 27 of file AlgDeadChip.cxx. 00028 {
00029
00030 }
|
|
||||||||||||||||
|
Implements AlgBase. Definition at line 32 of file AlgDeadChip.cxx. References CandDeadChipHandle::AddRawChip(), CandDeadChipHandle::GetAdc(), RawChannelId::GetChAdd(), CandDeadChipHandle::GetChannelId(), CandDeadChipHandle::GetChipStatus(), CandContext::GetDataIn(), CandDeadChipHandle::GetEntries(), CandDeadChipHandle::GetErrorCode(), CandDeadChipHandle::GetTdc(), CandDeadChipHandle::GetTriggerRate(), and MSG. 00033 {
00034 MSG("AlgDeadChip", Msg::kDebug) << " AlgDeadChip::RunAlg(...) " << endl;
00035
00036 CandDeadChipHandle& cdh = dynamic_cast<CandDeadChipHandle&>(ch);
00037
00038 TObjArray* tmparray = (TObjArray*)(cx.GetDataIn());
00039
00040 for(Int_t i=0;i<1+tmparray->GetLast();i++){
00041 RawChip* chip = (RawChip*)(tmparray->At(i));
00042 cdh.AddRawChip(chip);
00043 }
00044
00045 MSG("DataQuality", Msg::kVerbose) << endl
00046 << " NEW CANDDEADCHIPHANDLE " << endl
00047 << " ====================== " << endl
00048 << " Entries=" << 1+tmparray->GetLast() << "|" << cdh.GetEntries() << endl
00049 << " RawChannelId=" << cdh.GetChannelId().GetChAdd() << endl
00050 << " Adc=" << cdh.GetAdc() << endl
00051 << " Tdc=" << cdh.GetTdc() << endl
00052 << " ErrorCode=" << cdh.GetErrorCode() << endl
00053 << " TriggerRate=" << cdh.GetTriggerRate() << endl
00054 << " ChipStatus=" << cdh.GetChipStatus() << endl;
00055
00056 return;
00057 }
|
|
|
Reimplemented from AlgBase. Definition at line 59 of file AlgDeadChip.cxx. 00060 {
00061
00062 }
|
1.3.9.1