]> git.uio.no Git - u/mrichter/AliRoot.git/blame - PHOS/AliPHOSQAObjectCheckable.cxx
Partial redesign of identification bits and coding rule corrections
[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//_________________________________________________________________________
8d3b19fb 19// Class for a QA checkable that is an Object
20// To be used with AliPHOSChecker
21// or any derived class
22//..
66f72ab4 23//*-- Author : Yves Schutz (SUBATECH)
24//////////////////////////////////////////////////////////////////////////////
25
26// --- ROOT system ---
27
66f72ab4 28// --- Standard library ---
29
66f72ab4 30// --- AliRoot header files ---
31
32#include "AliPHOSQAObjectCheckable.h"
33
34ClassImp(AliPHOSQAObjectCheckable)
35
36
37//____________________________________________________________________________
38 AliPHOSQAObjectCheckable::AliPHOSQAObjectCheckable(const char * name) : AliPHOSQAVirtualCheckable(name)
39{
7b7c1533 40 fType = "O" ;
66f72ab4 41 fObject = 0 ;
42}
43
8d3b19fb 44//____________________________________________________________________________
45 AliPHOSQAObjectCheckable::AliPHOSQAObjectCheckable(AliPHOSQAObjectCheckable & cho) : AliPHOSQAVirtualCheckable(cho.GetName())
46{
47 fType = "O" ;
48 fObject = new TObject(cho) ;
49}
50
66f72ab4 51//____________________________________________________________________________
52 AliPHOSQAObjectCheckable::~AliPHOSQAObjectCheckable()
53{
54
55}
56
57//____________________________________________________________________________
58void AliPHOSQAObjectCheckable::Print() const
59{
21cd0c07 60 Info("Print", "Checkable-> %s : value = ", GetName()) ;
66f72ab4 61 if( fObject )
62 fObject->Print() ;
63 else
21cd0c07 64 Info("Print", "no object specified yet" ) ;
66f72ab4 65}
66