Back to home page

sPhenix code displayed by LXR

 
 

    


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

0001 //-----------------------------------------------------------------------------
0002 //
0003 //  The pdbcal package
0004 //  Copyright (C) PHENIX collaboration, 1999
0005 //
0006 //  Declaration of class PdbBankID
0007 //
0008 //  Purpose: id number for a bank, derived from a string
0009 //
0010 //  Description: The string should follow the ONCS naming convention
0011 //
0012 //  Author: Matthias Messer
0013 //-----------------------------------------------------------------------------
0014 #ifndef PDBCAL_BASE_PDBBANKID_H
0015 #define PDBCAL_BASE_PDBBANKID_H
0016 
0017 #include <phool/PHObject.h>
0018 
0019 class PdbBankID : public PHObject
0020 {
0021  public:
0022   PdbBankID(const int val = 0);
0023   ~PdbBankID() override {}
0024 
0025   void print() const;
0026 
0027   int getInternalValue() const { return bankID; }
0028   void setInternalValue(const int val) { bankID = val; }
0029 
0030   friend int operator==(const PdbBankID &, const PdbBankID &);
0031 
0032  private:
0033   int bankID;
0034 
0035   ClassDefOverride(PdbBankID, 1)
0036 };
0037 
0038 #endif /* PDBCAL_BASE_PDBBANKID_H */