// -*- mode: c++ -*- // $Id: BrDbConditionsData.h,v 1.1.1.1 2001/06/21 14:55:17 hagel Exp $ // $Author: hagel $ // $Date: 2001/06/21 14:55:17 $ // $Copyright: 2000 Brahms Collaboration // #ifndef BRAT_BrDbConditionsData #define BRAT_BrDbConditionsData #ifndef ROOT_TObjArray #include #endif #ifndef ROOT_TSQLResult #include #endif #ifndef ROOT_TSQLRow #include #endif #ifndef BRAT_BrDbTable #include #endif #ifndef BRAT_BrDbQuery #include #endif class BrDbConditionsData : public BrDbTable { private: Int_t fTime; // Int_t fVarId; // Variable Id Float_t fValue; // Value public: BrDbConditionsData(); BrDbConditionsData(Int_t time, Int_t varId, Float_t valueb); static const Char_t* kTableName; static BrDbQuery* Create(void); static BrDbConditionsData* SingleInstance(TSQLRow*); static TObjArray* MultipleInstance(TSQLResult*); virtual BrDbQuery* Insert(void); Int_t GetTime() const { return fTime; } Int_t GetVarId() const { return fVarId; } Float_t GetValue() const { return fValue; } ClassDef(BrDbConditionsData,1) // Conditions Data Class for BRAHMS database } ; #endif // // $Log: BrDbConditionsData.h,v $ // Revision 1.1.1.1 2001/06/21 14:55:17 hagel // Initial revision of brat2 // // Revision 1.2 2001/06/05 18:38:14 cholm // Removed BrDbInc.h an all references to it // // Revision 1.1 2001/01/19 16:30:10 cholm // Revisited the Run database classes. Deleted old implemtation via BrRun, // and put in BrDbRun, BrDbFile, BrDbMagnet, BrDbConditions*, and // BrDbShiftReport. A description will be posted to brahms-dev-l soon. // //