ECCE @ EIC Software
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
PdbBankID.h
Go to the documentation of this file. Or view the newest version in sPHENIX GitHub for file PdbBankID.h
1 //-----------------------------------------------------------------------------
2 //
3 // The pdbcal package
4 // Copyright (C) PHENIX collaboration, 1999
5 //
6 // Declaration of class PdbBankID
7 //
8 // Purpose: id number for a bank, derived from a string
9 //
10 // Description: The string should follow the ONCS naming convention
11 //
12 // Author: Matthias Messer
13 //-----------------------------------------------------------------------------
14 #ifndef PDBCAL_BASE_PDBBANKID_H
15 #define PDBCAL_BASE_PDBBANKID_H
16 
17 #include <phool/PHObject.h>
18 
19 class PdbBankID : public PHObject {
20 public:
21  PdbBankID(const int val = 0);
22  ~PdbBankID() override{}
23 
24  void print() const;
25 
26  int getInternalValue() const { return bankID; }
27  void setInternalValue(const int val) { bankID = val; }
28 
29  friend int operator == (const PdbBankID &, const PdbBankID &);
30 
31 private:
32  int bankID;
33 
34  ClassDefOverride(PdbBankID, 1)
35 
36 };
37 
38 #endif /* PDBCAL_BASE_PDBBANKID_H */