Back to index

CSidcLookupItem.C

 
//----------------------------------------------------------------------------- 
//  $Header: /tmp_mnt/nfs/ceres1/asis/offline/ceres/cool/project/RCS/CSidcLookupItem.C,v 3.2 1997/01/22 20:12:25 messer Exp $ 
// 
//  COOL Program Library   
//  Copyright (C) CERES collaboration, 1996 
// 
//  Implementation of class CSidcLookupItem. 
// 
//----------------------------------------------------------------------------- 
#include "CSidcLookupItem.h" 
 
CSidcLookupItem::CSidcLookupItem()  
{ 
   crate = channel = 0; 
   pedestal = sigma = t0Correction = gain = 0.;  
} 
 
CSidcLookupItem::CSidcLookupItem(int cr, int ch, float ped, float sig, double t0, double ga) 
{ 
   crate = cr; 
   channel = ch; 
   pedestal = ped; 
   sigma = sig; 
   t0Correction = t0; 
   gain = ga; 
} 
 
int CSidcLookupItem::operator== (const CSidcLookupItem& item) const 
{ 
   return (item.channel == channel && item.crate == crate); 
} 

Back to index