]> git.uio.no Git - u/mrichter/AliRoot.git/blame - PHOS/AliPHOSQAFloatCheckable.h
Logging of Debug, Info and Error Messages follwing AliRoot Standard http://aliweb...
[u/mrichter/AliRoot.git] / PHOS / AliPHOSQAFloatCheckable.h
CommitLineData
66f72ab4 1#ifndef ALIPHOSQAFLOATCHECKABLE_H
2#define ALIPHOSQAFLOATCHECKABLE_H
3/* Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. *
4 * See cxx source for full Copyright notice */
5
6/* $Id$ */
7
8//_________________________________________________________________________
9// Class for a QA checkable that is a Float_t
10//
11//*-- Author: Yves Schutz (SUBATECH)
12
13
14// --- ROOT system ---
15
16// --- Standard library ---
17
18// --- AliRoot header files ---
19
20#include "AliPHOSQAVirtualCheckable.h"
21
22class AliPHOSQAFloatCheckable : public AliPHOSQAVirtualCheckable {
23
24public:
25
26 AliPHOSQAFloatCheckable(){} // default ctor not to be used
27 AliPHOSQAFloatCheckable(const char * name) ; // ctor
a8c47ab6 28 AliPHOSQAFloatCheckable(AliPHOSQAFloatCheckable& obj)
29 : AliPHOSQAVirtualCheckable(obj) {assert(0==1);}
66f72ab4 30 virtual ~AliPHOSQAFloatCheckable() ; // dtor
31
32 virtual Float_t GetValue() const { return fValue ; }
33 virtual void Print() const ;
34 virtual void Reset() { fValue=0.; fChange=kFALSE ; }
35 void Set(Float_t value) ;
36 void Update(Float_t value) ;
88cb7938 37
66f72ab4 38private:
39
88cb7938 40 Float_t fValue ;
66f72ab4 41
42 ClassDef(AliPHOSQAFloatCheckable,1) // description
43
44};
45
46#endif // ALIPHOSQAFloatCheckable_H