Back to home page

sPhenix code displayed by LXR

 
 

    


File indexing completed on 2025-08-03 08:20:56

0001 #ifndef ONLMONDATABASE_ONLMONDBVAR_H
0002 #define ONLMONDATABASE_ONLMONDBVAR_H
0003 
0004 #include <array>
0005 
0006 class OnlMonDBVar
0007 {
0008  public:
0009   OnlMonDBVar();
0010   virtual ~OnlMonDBVar(){};
0011 
0012   int SetVar(const float rval[3]);
0013   void Print() const;
0014   int wasupdated() { return updated; }
0015   void resetupdated() { updated = 0; }
0016   float GetVar(const int i) { return val[i]; }
0017 
0018  protected:
0019   int updated = 0;
0020   std::array<float, 3> val;
0021 };
0022 
0023 #endif