removed iostream
[u/mrichter/AliRoot.git] / PHOS / AliPHOSQAAlarm.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// An alarm object that is instanciated by a AliPHOSQACheckable in response to
20// a AliPHOSQAChecker
21//*-- Author : Yves Schutz (SUBATECH)
22//////////////////////////////////////////////////////////////////////////////
23
24// --- ROOT system ---
25
26// --- Standard library ---
27
66f72ab4 28// --- AliRoot header files ---
29
30#include "AliPHOSQAAlarm.h"
31
32ClassImp(AliPHOSQAAlarm)
33
34
35//____________________________________________________________________________
36 AliPHOSQAAlarm::AliPHOSQAAlarm(TString time, TString checked, TString checker, TString message)
37{
38 // ctor
39 fTime = time ;
40 fCable = checked ;
41 fCer = checker ;
42 fMessage = message ;
7b7c1533 43 fEvent = gAlice->GetEvNumber() ;
66f72ab4 44}
45
46//____________________________________________________________________________
47 AliPHOSQAAlarm::~AliPHOSQAAlarm()
48{
49 // dtor
50}
51
52//____________________________________________________________________________
53 void AliPHOSQAAlarm::Print()
54{
55 // print the message
56
21cd0c07 57 Info("Print", "Event# %d %s", fEvent, fMessage.Data()) ;
66f72ab4 58}