EIC Software
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
PdbBankID.cc
Go to the documentation of this file. Or view the newest version in sPHENIX GitHub for file PdbBankID.cc
1 //-----------------------------------------------------------------------------
2 // $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 $
3 //
4 // The pdbcal package
5 // Copyright (C) PHENIX collaboration, 1999
6 //
7 // Implementation of class PdbBankID
8 //
9 // Author: Matthias Messer
10 //-----------------------------------------------------------------------------
11 #include "PdbBankID.h"
12 #include <iostream>
13 
14 PdbBankID::PdbBankID(const int val)
15 {
16  bankID = val;
17 }
18 
19 void PdbBankID::print() const
20 {
21  std::cout << "BankID = " << bankID << std::endl;
22 }
23 
24 int operator==(const PdbBankID& a, const PdbBankID& b)
25 {
26  return (a.bankID == b.bankID);
27 }