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

RawBlockProxy Class Reference

#include <RawBlockProxy.h>

List of all members.

Public Member Functions

 RawBlockProxy ()
virtual ~RawBlockProxy ()
const Char_t * GetName () const
const Bool_t IsDCS () const
const Int_t GetMajorId () const
virtual RawDataBlockCreateRawDataBlock (const Int_t *block)

Protected Attributes

const char * fName
Bool_t fIsDCS
Int_t fMajorId

Friends

std::ostream & operator<< (std::ostream &os, const RawBlockProxy &rbp)


Constructor & Destructor Documentation

RawBlockProxy::RawBlockProxy  ) 
 

Definition at line 32 of file RawBlockProxy.cxx.

References fName.

00033 {
00034   fName = "<null>";
00035 }

virtual RawBlockProxy::~RawBlockProxy  )  [inline, virtual]
 

Definition at line 38 of file RawBlockProxy.h.

00038 { ; }


Member Function Documentation

RawDataBlock * RawBlockProxy::CreateRawDataBlock const Int_t *  block  )  [virtual]
 

Definition at line 39 of file RawBlockProxy.cxx.

References fMajorId, fName, and MSG.

Referenced by RotoObjectifier::BufferInflate(), RerootToRawDataModule::FinalizeWorkingArray(), DetSim::FinalizeWorkingArray(), and RawRecord::PromoteRawDataBlocks().

00040 {
00041   MSG("RawData", Msg::kError) 
00042     << "RawBlockProxy: Attempt to create bare RawDataBlock '" 
00043     << fName << "' " 
00044     << ((fIsDCS) ? "DCS" : "DAQ") << " "
00045     << fMajorId << endl;
00046 
00047   return new RawDataBlock(block);
00048 }

const Int_t RawBlockProxy::GetMajorId  )  const [inline]
 

Definition at line 42 of file RawBlockProxy.h.

Referenced by RerootToRawDataModule::FinalizeWorkingArray(), DetSim::FinalizeWorkingArray(), operator<<(), RawBeamMonHeaderBlock::RawBeamMonHeaderBlock(), RawConfigFilesBlock::RawConfigFilesBlock(), RawDaqDeadTimeBlock::RawDaqDeadTimeBlock(), RawDaqHeaderBlock::RawDaqHeaderBlock(), RawDcsHeaderBlock::RawDcsHeaderBlock(), RawDeadChipBlock::RawDeadChipBlock(), RawErrorStatsBlock::RawErrorStatsBlock(), RawQieErrorStatsBlock::RawQieErrorStatsBlock(), RawRunCommentBlock::RawRunCommentBlock(), RawRunConfigBlock::RawRunConfigBlock(), RawRunEndBlock::RawRunEndBlock(), RawRunStartBlock::RawRunStartBlock(), RawSnarlHeaderBlock::RawSnarlHeaderBlock(), RawSpillServerMonitorBlock::RawSpillServerMonitorBlock(), RawSubRunEndBlock::RawSubRunEndBlock(), RawTpSinglesSummaryBlock::RawTpSinglesSummaryBlock(), RawTriggerStatsBlock::RawTriggerStatsBlock(), RawBlockRegistry::Register(), and RotoObjectifier::SysLogRawBlockRegistry().

00042 { return fMajorId; }

const Char_t* RawBlockProxy::GetName void   )  const [inline]
 

Definition at line 40 of file RawBlockProxy.h.

Referenced by RawBlockId::GetMajorAsString(), operator<<(), RawBlockRegistry::Register(), and RotoObjectifier::SysLogRawBlockRegistry().

00040 { return fName;    }

const Bool_t RawBlockProxy::IsDCS  )  const [inline]
 

Definition at line 41 of file RawBlockProxy.h.

Referenced by RerootToRawDataModule::FinalizeWorkingArray(), DetSim::FinalizeWorkingArray(), operator<<(), RawBeamMonHeaderBlock::RawBeamMonHeaderBlock(), RawConfigFilesBlock::RawConfigFilesBlock(), RawDaqDeadTimeBlock::RawDaqDeadTimeBlock(), RawDaqHeaderBlock::RawDaqHeaderBlock(), RawDcsHeaderBlock::RawDcsHeaderBlock(), RawDeadChipBlock::RawDeadChipBlock(), RawErrorStatsBlock::RawErrorStatsBlock(), RawQieErrorStatsBlock::RawQieErrorStatsBlock(), RawRunCommentBlock::RawRunCommentBlock(), RawRunConfigBlock::RawRunConfigBlock(), RawRunEndBlock::RawRunEndBlock(), RawRunStartBlock::RawRunStartBlock(), RawSnarlHeaderBlock::RawSnarlHeaderBlock(), RawSpillServerMonitorBlock::RawSpillServerMonitorBlock(), RawSubRunEndBlock::RawSubRunEndBlock(), RawTpSinglesSummaryBlock::RawTpSinglesSummaryBlock(), RawTriggerStatsBlock::RawTriggerStatsBlock(), RawBlockRegistry::Register(), and RotoObjectifier::SysLogRawBlockRegistry().

00041 { return fIsDCS;   }


Friends And Related Function Documentation

std::ostream& operator<< std::ostream &  os,
const RawBlockProxy rbp
[friend]
 


Member Data Documentation

Bool_t RawBlockProxy::fIsDCS [protected]
 

Definition at line 49 of file RawBlockProxy.h.

Int_t RawBlockProxy::fMajorId [protected]
 

Definition at line 50 of file RawBlockProxy.h.

Referenced by CreateRawDataBlock().

const char* RawBlockProxy::fName [protected]
 

Definition at line 48 of file RawBlockProxy.h.

Referenced by CreateRawDataBlock(), and RawBlockProxy().


The documentation for this class was generated from the following files:
Generated on Sat Nov 7 01:32:10 2009 for loon by  doxygen 1.3.9.1