PdbEmcHLRatio.cc
//-----------------------------------------------------------------------------
// $header$
//
// The pdbcal package
// Copyright (C) PHENIX collaboration, 1999, 2000
//
// Implementation of class PdbEmcHLRatio
//
// Author: H. Delagrange
//-----------------------------------------------------------------------------
#include "PdbEmcHLRatio.hh"
#include <iostream.h>
PdbEmcHLRatio::PdbEmcHLRatio()
{
fRatio = 0.0;
}
PdbEmcHLRatio::~PdbEmcHLRatio()
{
}
void PdbEmcHLRatio::print() const
{
}
//______________________________________________________________________
void PdbEmcHLRatio::SetRatio(const double dratio)
{
if ( dratio > 0.0 ){
fRatio = dratio;
} //fi dratio
else {
fRatio = 0.0;
cerr << "<E> PdbEmcHLRatio::SetRatio -- improper value !" << endl;
}
}// End PdbEmcHLRatio::SetRatio(const double dratio)