CSidcLookupItem.h
//-----------------------------------------------------------------------------
// $Header: /tmp_mnt/nfs/ceres1/asis/offline/ceres/cool/project/RCS/CSidcLookupItem.h,v 3.2 1997/01/22 20:12:23 messer Exp $
//
// COOL Program Library
// Copyright (C) CERES collaboration, 1996
//
// Declaration of class CSidcLookupItem.
//
//-----------------------------------------------------------------------------
#ifndef CSIDCLOOKUPITEM_H
#define CSIDCLOOKUPITEM_H
class CSidcLookupItem {
public:
CSidcLookupItem();
CSidcLookupItem(int, int, float, float, double, double);
int operator== (const CSidcLookupItem&) const;
int getCrate() const { return crate; }
int getChannel() const { return channel; }
float getPedestal() const { return pedestal; }
float getSigma() const { return sigma; }
double getT0Correction() const { return t0Correction; }
double getGain() const { return gain; }
void setCrate(int val) { crate = val; }
void setChannel(int val) { channel = val; }
void setPedestal(float val) { pedestal = val; }
void setSigma(float val) { sigma = val; }
void setT0Correction(double val) { t0Correction = val; }
void setGain(double val) { gain = val; }
private:
int crate;
int channel;
float pedestal;
float sigma;
double t0Correction;
double gain;
};
#endif /* CSIDCLOOKUPITEM_H */