]> git.uio.no Git - u/mrichter/AliRoot.git/blame - PHOS/AliPHOSQAAlarm.cxx
adapted to new AliPHOSGetter
[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
28#include <iostream.h>
29// --- AliRoot header files ---
30
31#include "AliPHOSQAAlarm.h"
32
33ClassImp(AliPHOSQAAlarm)
34
35
36//____________________________________________________________________________
37 AliPHOSQAAlarm::AliPHOSQAAlarm(TString time, TString checked, TString checker, TString message)
38{
39 // ctor
40 fTime = time ;
41 fCable = checked ;
42 fCer = checker ;
43 fMessage = message ;
7b7c1533 44 fEvent = gAlice->GetEvNumber() ;
66f72ab4 45}
46
47//____________________________________________________________________________
48 AliPHOSQAAlarm::~AliPHOSQAAlarm()
49{
50 // dtor
51}
52
53//____________________________________________________________________________
54 void AliPHOSQAAlarm::Print()
55{
56 // print the message
57
7b7c1533 58 cout << "Event# " << fEvent << " " << fMessage << endl;
66f72ab4 59}