]> git.uio.no Git - u/mrichter/AliRoot.git/blame - ACORDE/AliACORDEDataModule.cxx
rlu_hijing has to be float to work correctly with gfortran (Fedora Core 7)
[u/mrichter/AliRoot.git] / ACORDE / AliACORDEDataModule.cxx
CommitLineData
6a33e868 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
17
18
19///////////////////////////////////////////////////////////////////////////////
20// //
21// class of Calibration for ACORDE Data Modules //
22// Pedro Gonzalez Zamora pedro.gonzalez@fcfm.buap.mx //
23// Irais Bautista Guzman irais@fcfm.buap.mx //
24// Arturo Fernandez Tellez afernan@cern.ch //
25// //
26///////////////////////////////////////////////////////////////////////////////
27
28
29
30#include "AliACORDEDataModule.h"
31
32ClassImp(AliACORDEDataModule)
33
34
35AliACORDEDataModule::AliACORDEDataModule():
36TNamed(),
37fRate(0x0),
38fStatus(kTRUE)
39{
40 // Default constructor
41}
42
43//________________________________________________________________
44AliACORDEDataModule::AliACORDEDataModule(Float_t value,Bool_t status,const char* name):
45TNamed(),
46fRate(value),
47fStatus(status)
48{
49
50SetName(name);
51
52}
53
54//________________________________________________________________
55AliACORDEDataModule::~AliACORDEDataModule()
56{
57 // Destructor
58}
59//__________________________________________________________________
60Float_t AliACORDEDataModule::GetRate()
61{
62 return fRate;
63}
64//_________________________________________________________________
65Bool_t AliACORDEDataModule::GetStatus()
66{
67return fStatus;
68}
69void AliACORDEDataModule::SetRate(Float_t value)
70{
71 fRate = value;
72}
73