KaliVeda
Toolkit for HIC analysis
GTScalers.h
1 /***************************************************************************
11  * *
12  * This program is free software; you can redistribute it and/or modify *
13  * it under the terms of the GNU General Public License as published by *
14  * the Free Software Foundation; either version 2 of the License, or *
15  * (at your option) any later version. *
16  * *
17  ***************************************************************************/
20 
21 #ifndef GT_GTScalers_H
22 #define GT_GTScalers_H
23 
24 #include <TObject.h>
25 #include <TClonesArray.h>
26 class GTOneScaler;
27 
34 class GTScalers : public TObject {
35 public:
36  GTScalers(void);
37  ~GTScalers(void);
38  void Fill(void*); // Vocabulary: Set or Fill ?
39  void DumpScalers(void);
40 
41  const GTOneScaler* GetScalerPtr(Int_t index) const;
42  Int_t GetNbChannel(void) const
43  {
44  return fNbChannel;
45  }
46 
47 protected:
50 public:
51  ClassDef(GTScalers, 2) // Scaler events class
52 };
53 
54 
55 #endif
int Int_t
#define ClassDef(name, id)
Option_t Option_t TPoint TPoint const char GetTextMagnitude GetFillStyle GetLineColor GetLineWidth GetMarkerStyle GetTextAlign GetTextColor GetTextSize void char Point_t Rectangle_t WindowAttributes_t index
Scaler class for the scaler structure.
Definition: GTOneScaler.h:36
Handle scaler buffers in GANIL DAQ data.
Definition: GTScalers.h:34
const GTOneScaler * GetScalerPtr(Int_t index) const
Return a constant pointer to the Scaler Index.
Definition: GTScalers.cpp:98
GTScalers(void)
Definition: GTScalers.cpp:43
TClonesArray fScalerArray
Array of scalers.
Definition: GTScalers.h:49
Int_t fNbChannel
Number of individual scales.
Definition: GTScalers.h:48
~GTScalers(void)
Definition: GTScalers.cpp:53
void Fill(void *)
Definition: GTScalers.cpp:61
Int_t GetNbChannel(void) const
Definition: GTScalers.h:42
void DumpScalers(void)
Dump scalers value on cout.
Definition: GTScalers.cpp:83