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