1 /**************************************************************************
2 * Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. *
4 * Author: The ALICE Off-line Project. *
5 * Contributors are mentioned in the code where appropriate. *
7 * Permission to use, copy, modify and distribute this software and its *
8 * documentation strictly for non-commercial purposes is hereby granted *
9 * without fee, provided that the above copyright notice appears in all *
10 * copies and that both the copyright notice and this permission notice *
11 * appear in the supporting documentation. The authors make no claims *
12 * about the suitability of this software for any purpose. It is *
13 * provided "as is" without express or implied warranty. *
14 **************************************************************************/
18 //_________________________________________________________________________
19 // Class for a QA checkable that is an Int
21 //*-- Author : Yves Schutz (SUBATECH)
22 //////////////////////////////////////////////////////////////////////////////
24 // --- ROOT system ---
28 // --- Standard library ---
32 // --- AliRoot header files ---
34 #include "AliPHOSQAIntCheckable.h"
36 ClassImp(AliPHOSQAIntCheckable)
39 //____________________________________________________________________________
40 AliPHOSQAIntCheckable::AliPHOSQAIntCheckable(const char * name) : AliPHOSQAVirtualCheckable(name)
42 //ctor initial value is zero
48 //____________________________________________________________________________
49 AliPHOSQAIntCheckable::~AliPHOSQAIntCheckable()
54 //____________________________________________________________________________
55 void AliPHOSQAIntCheckable::Print() const
57 // Print the chekable name and its value
58 cout << " Checkable-> " << GetName() << " : value = " << fValue << endl ;
61 //____________________________________________________________________________
62 void AliPHOSQAIntCheckable::Set(Int_t value)
64 // Changes the value of the checkable and modifies its status
69 //____________________________________________________________________________
70 void AliPHOSQAIntCheckable::Update(Int_t value)
72 // Increments the value of the checkable and modifies its status