ROOT logo
// $Id: GledMonitor.h 2090 2008-12-02 01:13:01Z matevz $

// Copyright (C) 1999-2008, Matevz Tadel. All rights reserved.
// This file is part of GLED, released under GNU General Public License version 2.
// For the licensing terms see $GLEDSYS/LICENSE or http://www.gnu.org/.

#ifndef Gled_GledMonitor_H
#define Gled_GledMonitor_H

#include <Glasses/Operator.h>
#include <Stones/ZHisto.h>

#include <TH1F.h>

class GledMonitor : public Operator, public ZHisto
{
  MAC_RNR_FRIENDS(GledMonitor);

private:
  void _init();

protected:
  Int_t         mCpuSampleTime; // X{GS} 7 Value(-range=>[0, 10000, 1])
  Bool_t	bFillHistos;	// X{GS} 7 Bool()

  // 7777 InstallHandler(GLED::Histo);

  TH1F*		h1LAvg1;  // X{gs} H7_LAvg("%m","%m for %c", 100, 0, 10)
  TH1F*		h1LAvg5;  // X{gs} H7_LAvg("%m","%m for %c", 100, 0, 10)
  TH1F*		h1LAvg15; // X{gs} H7_LAvg("%m","%m for %c", 100, 0, 10)

public:
  GledMonitor(const Text_t* n="GledMonitor", const Text_t* t=0) :
    Operator(n,t) { _init(); }

  virtual void AdEnlightenment();
  virtual void Operate(Operator::Arg* op_arg);

#include "GledMonitor.h7"
  ClassDef(GledMonitor, 1);
}; // endclass GledMonitor


#endif
 GledMonitor.h:1
 GledMonitor.h:2
 GledMonitor.h:3
 GledMonitor.h:4
 GledMonitor.h:5
 GledMonitor.h:6
 GledMonitor.h:7
 GledMonitor.h:8
 GledMonitor.h:9
 GledMonitor.h:10
 GledMonitor.h:11
 GledMonitor.h:12
 GledMonitor.h:13
 GledMonitor.h:14
 GledMonitor.h:15
 GledMonitor.h:16
 GledMonitor.h:17
 GledMonitor.h:18
 GledMonitor.h:19
 GledMonitor.h:20
 GledMonitor.h:21
 GledMonitor.h:22
 GledMonitor.h:23
 GledMonitor.h:24
 GledMonitor.h:25
 GledMonitor.h:26
 GledMonitor.h:27
 GledMonitor.h:28
 GledMonitor.h:29
 GledMonitor.h:30
 GledMonitor.h:31
 GledMonitor.h:32
 GledMonitor.h:33
 GledMonitor.h:34
 GledMonitor.h:35
 GledMonitor.h:36
 GledMonitor.h:37
 GledMonitor.h:38
 GledMonitor.h:39
 GledMonitor.h:40
 GledMonitor.h:41
 GledMonitor.h:42
 GledMonitor.h:43
 GledMonitor.h:44