Back to index

CRawOoB.C

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

Back to index