CRawEoB.C
//-----------------------------------------------------------------------------
// $Header: /tmp_mnt/asis/offline/ceres/cool/project/RCS/CRawEoB.C,v 2.1 1996/10/04 08:45:35 voigt Exp $
//
// COOL Program Library
// Copyright (C) CERES collaboration, 1996
//
// Implementation of class CRawEoB.
//
//-----------------------------------------------------------------------------
#include "CRawEoB.h"
CRawEoB::CRawEoB()
{
burstNumber = 0;
eventNumber = 0;
timeInBurst = 0;
}
void CRawEoB::unpackRootLabel()
{
if (rootLabel != 0) {
const CWord *data = rootLabel->getData();
burstNumber = (int) data[4];
eventNumber = (int) data[5];
timeInBurst = (int) data[7];
}
}