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 Object
20 // To be used with AliPHOSChecker
21 // or any derived class
23 //*-- Author : Yves Schutz (SUBATECH)
24 //////////////////////////////////////////////////////////////////////////////
26 // --- ROOT system ---
28 // --- Standard library ---
30 // --- AliRoot header files ---
32 #include "AliPHOSQAObjectCheckable.h"
34 ClassImp(AliPHOSQAObjectCheckable)
37 //____________________________________________________________________________
38 AliPHOSQAObjectCheckable::AliPHOSQAObjectCheckable(const char * name) : AliPHOSQAVirtualCheckable(name)
44 //____________________________________________________________________________
45 AliPHOSQAObjectCheckable::AliPHOSQAObjectCheckable(AliPHOSQAObjectCheckable & cho) : AliPHOSQAVirtualCheckable(cho.GetName())
48 fObject = new TObject(cho) ;
51 //____________________________________________________________________________
52 AliPHOSQAObjectCheckable::~AliPHOSQAObjectCheckable()
57 //____________________________________________________________________________
58 void AliPHOSQAObjectCheckable::Print() const
60 Info("Print", "Checkable-> %s : value = ", GetName()) ;
64 Info("Print", "no object specified yet" ) ;