Back to home page

sPhenix code displayed by LXR

 
 

    


File indexing completed on 2025-08-06 08:17:10

0001 //-----------------------------------------------------------------------------
0002 //  $Header: /afs/rhic.bnl.gov/phenix/PHENIX_CVS/offline/database/pdbcal/base/PdbBankID.cc,v 1.4 2006/01/10 06:39:47 pinkenbu Exp $
0003 //
0004 //  The pdbcal package
0005 //  Copyright (C) PHENIX collaboration, 1999
0006 //
0007 //  Implementation of class PdbBankID
0008 //
0009 //  Author: Matthias Messer
0010 //-----------------------------------------------------------------------------
0011 #include "PdbBankID.h"
0012 #include <iostream>
0013 
0014 PdbBankID::PdbBankID(const int val)
0015   : bankID(val)
0016 {
0017 }
0018 
0019 void PdbBankID::print() const
0020 {
0021   std::cout << "BankID = " << bankID << std::endl;
0022 }
0023 
0024 int operator==(const PdbBankID& a, const PdbBankID& b)
0025 {
0026   return (a.bankID == b.bankID);
0027 }