Diana Software
QCOFParametersHandle.hh
Go to the documentation of this file.
1 #ifndef _Q_QCOFPARAMETERS_HANDLE_HH_
2 #define _Q_QCOFPARAMETERS_HANDLE_HH_
11 #include "QGlobalHandle.hh"
12 #include "QCOFData.hh"
13 
14 class QCOFParametersHandle : public Diana::GlobalHandle<QCOFData>
15 {
16  public:
17  QCOFParametersHandle(const std::string& name = "COFParameters") : Diana::GlobalHandle<QCOFData>(name,"COF") { }
18 
19  void SetAPLabel(const std::string& apl) {fAPLabel = apl;}
20  void SetAPVersion(const std::string& apv) {fAPVersion = apv;}
21  void SetAPValidityKind(const std::string& apvk) {fAPValidityKind = apvk;}
22  void SetNPSLabel(const std::string& npsl) {fNPSLabel = npsl;}
23  void SetNPSVersion(const std::string& npsv) {fNPSVersion = npsv;}
24  void SetNPSValidityKind(const std::string& npsvk) {fNPSValidityKind = npsvk;}
25 
26  QError StoreOnDB() const;
28 
29  private:
30 
31  // QRootCintGlobalHandle(QCOFParametersHandle)
32 
33  std::string fAPLabel;
34  std::string fAPVersion;
35  std::string fAPValidityKind;
36  std::string fNPSLabel;
37  std::string fNPSVersion;
38  std::string fNPSValidityKind;
39 };
40 
41 #endif
template class to handle diana global QObject with QGlobalDataManager
general quantities about COF
Definition: QCOFData.hh:15
QCOFParametersHandle(const std::string &name="COFParameters")
void SetAPLabel(const std::string &apl)
void SetAPVersion(const std::string &apv)
void SetNPSLabel(const std::string &npsl)
void SetAPValidityKind(const std::string &apvk)
void SetNPSVersion(const std::string &npsv)
void SetNPSValidityKind(const std::string &npsvk)
error class with error type and description
Definition: QError.hh:115
the Diana namespace is needed because sometimes we use Qt libraries, that use same class names of our...