]>
Commit | Line | Data |
---|---|---|
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 | ||
32 | ClassImp(AliACORDEDataModule) | |
33 | ||
34 | ||
35 | AliACORDEDataModule::AliACORDEDataModule(): | |
36 | TNamed(), | |
37 | fRate(0x0), | |
38 | fStatus(kTRUE) | |
39 | { | |
40 | // Default constructor | |
41 | } | |
42 | ||
43 | //________________________________________________________________ | |
44 | AliACORDEDataModule::AliACORDEDataModule(Float_t value,Bool_t status,const char* name): | |
45 | TNamed(), | |
46 | fRate(value), | |
47 | fStatus(status) | |
48 | { | |
49 | ||
50 | SetName(name); | |
51 | ||
52 | } | |
53 | ||
54 | //________________________________________________________________ | |
55 | AliACORDEDataModule::~AliACORDEDataModule() | |
56 | { | |
57 | // Destructor | |
58 | } | |
59 | //__________________________________________________________________ | |
60 | Float_t AliACORDEDataModule::GetRate() | |
61 | { | |
62 | return fRate; | |
63 | } | |
64 | //_________________________________________________________________ | |
65 | Bool_t AliACORDEDataModule::GetStatus() | |
66 | { | |
67 | return fStatus; | |
68 | } | |
69 | void AliACORDEDataModule::SetRate(Float_t value) | |
70 | { | |
71 | fRate = value; | |
72 | } | |
73 |