KaliVeda
Toolkit for HIC analysis
Loading...
Searching...
No Matches
GTOneScaler.cpp
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
19using namespace std;
20
22
23
24
26
28{
29 // Default constructor. dont do anything
30}
31
32
33
34
36
38{
39 Set(s);
40}
41
42
43
45
46void 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
const char Option_t
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)
void ls(Option_t *opt="") const
GTOneScaler(void)
Default constructor. dont do anything.
static void IndentLevel()
ClassImp(TPyArg)