KaliVeda  1.12/06
Heavy-Ion Analysis Toolkit
KVACQParamSignal.h
Go to the documentation of this file.
1 
4 #ifndef __KVACQPARAMSIGNAL_H
5 #define __KVACQPARAMSIGNAL_H
6 
7 #include "KVDetectorSignal.h"
8 #include "KVACQParam.h"
17 
18 public:
20  : KVDetectorSignal(), fParam(nullptr)
21  {}
23  : KVDetectorSignal(p->GetType(), p->GetDetector()), fParam(p)
24  {}
25 
27  {}
28 
29  Double_t GetValue(const KVNameValueList& = "") const
30  {
31  return fParam->GetData();
32  }
34  {
35  fParam->SetData(x);
36  }
37  void Reset()
38  {
39  fParam->Clear();
40  }
41  ClassDef(KVACQParamSignal, 1) //Wrapper signal for KVACQParam objects
42 };
43 
44 #endif
double Double_t
#define ClassDef(name, id)
Wrapper signal for KVACQParam objects.
virtual ~KVACQParamSignal()
Double_t GetValue(const KVNameValueList &="") const
KVACQParamSignal(KVACQParam *p)
void SetValue(Double_t x)
KVACQParam * fParam
GANIL VXI/VME acquisition parameter.
Definition: KVACQParam.h:15
Double_t GetData() const
Definition: KVACQParam.h:72
void SetData(UShort_t val)
Definition: KVACQParam.h:58
void Clear(Option_t *="")
Clear object properties : name, type/title, number, label.
Definition: KVACQParam.h:44
const Char_t * GetType() const
Definition: KVBase.h:170
Output signal data produced by a detector.
const KVDetector * GetDetector() const
Handles lists of named parameters with different types, a list of KVNamedParameter objects.
Double_t x[n]