RawBlockProxy Class Reference

#include <RawBlockProxy.h>

List of all members.

Public Member Functions

 RawBlockProxy ()
virtual ~RawBlockProxy ()
const Char_t * GetName () const
Bool_t IsDCS () 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)

Detailed Description

Definition at line 31 of file RawBlockProxy.h.


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 fIsDCS, fMajorId, fName, Msg::kError, and MSG.

Referenced by RotoObjectifier::BufferInflate(), DetSim::FinalizeWorkingArray(), RerootToRawDataModule::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 }

Int_t RawBlockProxy::GetMajorId (  )  const [inline]
const Char_t* RawBlockProxy::GetName ( void   )  const [inline]
Bool_t RawBlockProxy::IsDCS (  )  const [inline]

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.

Referenced by CreateRawDataBlock(), and IsDCS().

Int_t RawBlockProxy::fMajorId [protected]

Definition at line 50 of file RawBlockProxy.h.

Referenced by CreateRawDataBlock(), and GetMajorId().

const char* RawBlockProxy::fName [protected]

Definition at line 48 of file RawBlockProxy.h.

Referenced by CreateRawDataBlock(), GetName(), and RawBlockProxy().


The documentation for this class was generated from the following files:

Generated on 22 Nov 2017 for loon by  doxygen 1.6.1