KaliVeda  1.12/06
Heavy-Ion Analysis Toolkit
GTOneScaler.cpp
Go to the documentation of this file.
1 //**************************************************************************
2 // GTGanilData.cpp - Main Header to ROOTGAnilTape
3 // -------------------
4 // begin : Thu Jun 14 2001
5 // copyright : (C) 2001 by Garp
6 // email : patois@ganil.fr
7 // ***************************************************************************
8 // * *
9 // * This program is free software; you can redistribute it and/or modify *
10 // * it under the terms of the GNU General Public License as published by *
11 // * the Free Software Foundation; either version 2 of the License, or *
12 // * (at your option) any later version. *
13 // * *
14 // ***************************************************************************
15 #include "GTOneScaler.h"
16 #include <TROOT.h>
17 #include <Riostream.h>
18 
19 using namespace std;
20 
22 
23 
24 
28 {
29  // Default constructor. dont do anything
30 }
31 
32 
33 
34 
36 
38 {
39  Set(s);
40 }
41 
42 
43 
45 
46 void GTOneScaler::Set(scale_struct* s)
47 {
48  fLabel = s->Label;
49  fStatus = s->Status;
50  fCount = s->Count;
51  fFreq = s->Freq;
52  fTics = s->Tics;
53  for (int i = 0; i < 3; i++) fReserve[i] = s->Reserve[i];
54 }
55 
56 
57 
58 
60 
62 {
64  cout << "SCALER: fLabel=" << fLabel << " fStatus=" << fStatus << " fCount=" << fCount << " fFreq=" << fFreq << endl;
65 }
66 
67 //______________________________________________________________________________
68 
69 
ClassImp(KVPartitionList) void KVPartitionList
Initialisation.
const char Option_t
Scaler class for the scaler structure.
Definition: GTOneScaler.h:35
void Set(scale_struct *s)
Definition: GTOneScaler.cpp:46
void ls(Option_t *opt="") const
Definition: GTOneScaler.cpp:61
GTOneScaler(void)
Default constructor. dont do anything.
Definition: GTOneScaler.cpp:27
static void IndentLevel()
const long double s
Definition: KVUnits.h:94