]> git.uio.no Git - u/mrichter/AliRoot.git/blame - PHOS/AliPHOSQAObjectCheckable.cxx
04-jul-2001 NvE Storage of calorimeters introduced in AliEvent and ResetVertices()
[u/mrichter/AliRoot.git] / PHOS / AliPHOSQAObjectCheckable.cxx
CommitLineData
66f72ab4 1/**************************************************************************
2 * Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. *
3 * *
4 * Author: The ALICE Off-line Project. *
5 * Contributors are mentioned in the code where appropriate. *
6 * *
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 **************************************************************************/
15
16/* $Id$ */
17
18//_________________________________________________________________________
19// Class for a QA checkable that is an Int
20//
21//*-- Author : Yves Schutz (SUBATECH)
22//////////////////////////////////////////////////////////////////////////////
23
24// --- ROOT system ---
25
26#include "TClass.h"
27
28// --- Standard library ---
29
30#include <iostream.h>
31
32// --- AliRoot header files ---
33
34#include "AliPHOSQAObjectCheckable.h"
35
36ClassImp(AliPHOSQAObjectCheckable)
37
38
39//____________________________________________________________________________
40 AliPHOSQAObjectCheckable::AliPHOSQAObjectCheckable(const char * name) : AliPHOSQAVirtualCheckable(name)
41{
42 fType = new char[1] ;
43 strcpy(fType,"O") ;
44 fObject = 0 ;
45}
46
47//____________________________________________________________________________
48 AliPHOSQAObjectCheckable::~AliPHOSQAObjectCheckable()
49{
50
51}
52
53//____________________________________________________________________________
54void AliPHOSQAObjectCheckable::Print() const
55{
56 cout << " Checkable-> " << GetName() << " : value = " << endl ;
57 if( fObject )
58 fObject->Print() ;
59 else
60 cerr << "ERROR : no object specified yet " << endl ;
61}
62