21 #include "StTofMCCell.h"
23 static const char rcsid[] =
"$Id: StTofMCCell.cxx,v 2.2 2003/09/02 17:58:05 perev Exp $";
29 StTofMCCell::StTofMCCell(
const StTofMCInfo& MCInfo) :
30 mTofMCInfo(MCInfo) { }
32 StTofMCCell::~StTofMCCell() { }
35 StTofMCCell::operator==(
const StTofMCCell& MCCell)
const
37 return (MCCell.mTrayIndex == mTrayIndex &&
38 MCCell.mModuleIndex == mModuleIndex &&
39 MCCell.mCellIndex == mCellIndex && MCCell.mTofMCInfo == mTofMCInfo);
43 StTofMCCell::operator!=(
const StTofMCCell& MCCell)
const
45 return !(*
this == MCCell);
51 return (os <<
"StTofMCCell::> " <<
", tray= " << cell.trayIndex()
52 <<
", module= " << cell.moduleIndex() <<
", cell= "
53 << cell.cellIndex() <<
", adc= " << cell.adc()
54 <<
", tdc= " << cell.tdc() << endl <<
"MCInfo: " << cell.mcInfo());