]>
Commit | Line | Data |
---|---|---|
1e2713bb | 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 | #include "AliMUONCalibParam.h" | |
19 | ||
20 | #include "Riostream.h" | |
21 | ||
22 | ClassImp(AliMUONCalibParam) | |
23 | ||
24 | //_____________________________________________________________________________ | |
25 | AliMUONCalibParam::AliMUONCalibParam(Float_t mean, Float_t sigma) | |
26 | : TObject() | |
27 | { | |
28 | Set(mean,sigma); | |
29 | } | |
30 | ||
31 | //_____________________________________________________________________________ | |
32 | AliMUONCalibParam::~AliMUONCalibParam() | |
33 | { | |
34 | } | |
35 | ||
36 | //_____________________________________________________________________________ | |
37 | Float_t | |
38 | AliMUONCalibParam::Mean() const | |
39 | { | |
40 | return fMean; | |
41 | } | |
42 | ||
43 | //_____________________________________________________________________________ | |
44 | void | |
45 | AliMUONCalibParam::Print(Option_t*) const | |
46 | { | |
47 | cout << "Mean=" << Mean() << " Sigma=" << Sigma() << endl; | |
48 | } | |
49 | ||
50 | //_____________________________________________________________________________ | |
51 | void | |
52 | AliMUONCalibParam::Set(Float_t mean, Float_t sigma) | |
53 | { | |
54 | fMean = mean; | |
55 | fSigma = sigma; | |
56 | } | |
57 | ||
58 | //_____________________________________________________________________________ | |
59 | Float_t | |
60 | AliMUONCalibParam::Sigma() const | |
61 | { | |
62 | return fSigma; | |
63 | } | |
64 | ||
65 | ||
66 |