KaliVeda  1.12/06
Heavy-Ion Analysis Toolkit
GTOneScaler.h
Go to the documentation of this file.
1 
16 /***************************************************************************
17  * *
18  * This program is free software; you can redistribute it and/or modify *
19  * it under the terms of the GNU General Public License as published by *
20  * the Free Software Foundation; either version 2 of the License, or *
21  * (at your option) any later version. *
22  * *
23  ***************************************************************************/
26 
27 #ifndef GT_GTOneScaler_H
28 #define GT_GTOneScaler_H
29 
30 #include <TObject.h>
31 #include "GanTape/GEN_TYPE.H"
32 #include "GanTape/gan_acq_buf.h"
33 
35 class GTOneScaler : public TObject {
36 public:
37  GTOneScaler(void);
38  GTOneScaler(scale_struct* s);
39  void Set(scale_struct* s);
40 
41  UInt_t GetCount(void) const
42  {
43  return (fCount);
44  }
45  UInt_t GetStatus(void) const
46  {
47  return (fStatus);
48  }
49  UInt_t GetFrequency(void) const
50  {
51  return (fFreq);
52  }
53  UInt_t GetLabel(void) const
54  {
55  return (fLabel);
56  }
57 
58  void ls(Option_t* opt = "") const;
59 
60 protected:
67 public:
68  ClassDef(GTOneScaler, 1) // Scaler structure
69 };
70 
71 
72 #endif
73 
int Int_t
unsigned int UInt_t
const char Option_t
#define ClassDef(name, id)
Scaler class for the scaler structure.
Definition: GTOneScaler.h:35
UInt_t fCount
Comment here.
Definition: GTOneScaler.h:63
Int_t fStatus
Comment here.
Definition: GTOneScaler.h:62
UInt_t fReserve[3]
Comment here.
Definition: GTOneScaler.h:66
UInt_t fTics
Comment here.
Definition: GTOneScaler.h:65
UInt_t fLabel
Comment here.
Definition: GTOneScaler.h:61
UInt_t fFreq
Comment here.
Definition: GTOneScaler.h:64
void Set(scale_struct *s)
Definition: GTOneScaler.cpp:46
void ls(Option_t *opt="") const
Definition: GTOneScaler.cpp:61
UInt_t GetStatus(void) const
Definition: GTOneScaler.h:45
UInt_t GetCount(void) const
Definition: GTOneScaler.h:41
UInt_t GetFrequency(void) const
Definition: GTOneScaler.h:49
UInt_t GetLabel(void) const
Definition: GTOneScaler.h:53
GTOneScaler(void)
Default constructor. dont do anything.
Definition: GTOneScaler.cpp:27
const long double s
Definition: KVUnits.h:94