Main Page | Modules | Namespace List | Class Hierarchy | Alphabetical List | Class List | Directories | File List | Namespace Members | Class Members | File Members | Related Pages

AlgDeadChip Class Reference

#include <AlgDeadChip.h>

Inheritance diagram for AlgDeadChip:

AlgBase List of all members.

Public Member Functions

 AlgDeadChip ()
 ~AlgDeadChip ()
void RunAlg (AlgConfig &ac, CandHandle &ch, CandContext &cx)
void Trace (const char *c) const

Constructor & Destructor Documentation

AlgDeadChip::AlgDeadChip  ) 
 

Definition at line 22 of file AlgDeadChip.cxx.

00023 {
00024 
00025 }

AlgDeadChip::~AlgDeadChip  ) 
 

Definition at line 27 of file AlgDeadChip.cxx.

00028 {
00029 
00030 }


Member Function Documentation

void AlgDeadChip::RunAlg AlgConfig ac,
CandHandle ch,
CandContext cx
[virtual]
 

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 }

void AlgDeadChip::Trace const char *  c  )  const [virtual]
 

Reimplemented from AlgBase.

Definition at line 59 of file AlgDeadChip.cxx.

00060 {
00061 
00062 }


The documentation for this class was generated from the following files:
Generated on Sat Nov 21 22:49:15 2009 for loon by  doxygen 1.3.9.1