]> git.uio.no Git - u/mrichter/AliRoot.git/blame - PHOS/AliPHOSQAIntCheckable.h
fRefVolumeId for reference volume identification added.
[u/mrichter/AliRoot.git] / PHOS / AliPHOSQAIntCheckable.h
CommitLineData
66f72ab4 1#ifndef ALIPHOSQAINTCHECKABLE_H
2#define ALIPHOSQAINTCHECKABLE_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 an Int
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 AliPHOSQAIntCheckable : public AliPHOSQAVirtualCheckable {
23
24public:
25
26 AliPHOSQAIntCheckable(){} // default ctor not to be used
27 AliPHOSQAIntCheckable(const char * name) ; // ctor
6df6d499 28 AliPHOSQAIntCheckable(AliPHOSQAIntCheckable& obj) ;
66f72ab4 29 virtual ~AliPHOSQAIntCheckable() ; // dtor
30
31 virtual Float_t GetValue() const { return (Float_t)fValue ; }
32 virtual void Print() const ;
33 virtual void Reset() { fValue=0; fChange=kFALSE ; }
34 void Set(Int_t value) ;
35 void Update(Int_t value) ;
6df6d499 36 AliPHOSQAIntCheckable & operator = ( AliPHOSQAIntCheckable & obj) { return *this ; }
37
66f72ab4 38private:
39
61f8163e 40 Int_t fValue ; // the value of the checkable
66f72ab4 41
42 ClassDef(AliPHOSQAIntCheckable,1) // description
43
44};
45
46#endif // ALIPHOSQAIntCheckable_H