Transition to NewIO
[u/mrichter/AliRoot.git] / PHOS / AliPHOSQAObjectCheckable.h
CommitLineData
66f72ab4 1#ifndef ALIPHOSQAOBJECTCHECKABLE_H
2#define ALIPHOSQAOBJECTCHECKABLE_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// Abstact Class for a QA checkable that is a TObject
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 AliPHOSQAObjectCheckable : public AliPHOSQAVirtualCheckable {
23
24public:
25
2685bf00 26 AliPHOSQAObjectCheckable(){
27 fObject = 0;
28 } // default ctor not to be used
66f72ab4 29 AliPHOSQAObjectCheckable(const char * name) ; // ctor
88cb7938 30 AliPHOSQAObjectCheckable(AliPHOSQAObjectCheckable& obj) {assert(0==1);}
66f72ab4 31 virtual ~AliPHOSQAObjectCheckable() ; // dtor
32
33 virtual TObject * GetObject() const { return fObject ; }
34 virtual Float_t GetValue() const {return 0. ;}
35 virtual void Print() const ;
36 virtual void Reset() { fChange=kFALSE ; }
37 virtual void Set(TObject * obj) {fObject = obj ;}
38 virtual void Update(TObject * value) {} ;
39
40private:
41
88cb7938 42 TObject * fObject ;
66f72ab4 43
44 ClassDef(AliPHOSQAObjectCheckable,1) // description
45
46};
47
48#endif // ALIPHOSQAObjectCheckable_H