DbuVaChipPeds.cxx File Reference

#include "DatabaseUpdater/DbuVaChipPeds.h"
#include "MessageService/MsgService.h"
#include "DatabaseInterface/DbiOutRowStream.h"
#include "DatabaseInterface/DbiResultSet.h"
#include "DatabaseInterface/DbiValidityRec.h"
#include <iostream>
#include <cassert>
#include "DatabaseInterface/DbiResultPtr.tpl"
#include "DatabaseInterface/DbiWriter.tpl"

Go to the source code of this file.

Functions

 CVSID ("$Id: DbuVaChipPeds.cxx,v 1.7 2007/02/15 14:15:48 rhatcher Exp $ CVSID_DBIRESULTPTR ")
std::ostream & operator<< (std::ostream &os, const DbuVaChipPeds &drs)

Variables

const Int_t maskPedMode = 0x00200000
const Int_t maskSparsMode = 0x00400000
const Int_t maskComMode = 0x00800000
const Int_t maskModes = maskPedMode | maskSparsMode | maskComMode
const Int_t shiftModes = 21

Function Documentation

CVSID ( "$Id: DbuVaChipPeds.  cxx,
v 1.7 2007/02/15 14:15:48 rhatcher Exp $CVSID_DBIRESULTPTR"   
)
std::ostream& operator<< ( std::ostream &  os,
const DbuVaChipPeds drs 
)

Definition at line 49 of file DbuVaChipPeds.cxx.

References RawChannelId::AsString(), DbuVaChipPeds::fChanPed, and DbuVaChipPeds::fRawChannelId.

00050 {
00051    os << drs.GetName() 
00052       << " " << drs.fRawChannelId.AsString("e");
00053    for (int i=0; i<22; ++i) {
00054       if (0==i || 11==i) os << endl << " | ";
00055       os << setw(5) << drs.fChanPed[i];
00056    }
00057    os << endl;
00058 
00059    return os;
00060 }


Variable Documentation

const Int_t maskComMode = 0x00800000

Definition at line 44 of file DbuVaChipPeds.cxx.

const Int_t maskPedMode = 0x00200000
const Int_t maskSparsMode = 0x00400000
const Int_t shiftModes = 21

Definition at line 45 of file DbuVaChipPeds.cxx.


Generated on 14 Dec 2017 for loon by  doxygen 1.6.1