Back to index

CRawEoR.C

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

Back to index