]>
Commit | Line | Data |
---|---|---|
d655d7dd | 1 | /************************************************************************** |
2 | * This file is property of and copyright by * | |
3 | * the Relativistic Heavy Ion Group (RHIG), Yale University, US, 2009 * | |
4 | * * | |
5 | * Primary Author: Per Thomas Hille <p.t.hille@fys.uio.no> * | |
6 | * * | |
7 | * Contributors are mentioned in the code where appropriate. * | |
8 | * Please report bugs to p.t.hille@fys.uio.no * | |
9 | * * | |
10 | * Permission to use, copy, modify and distribute this software and its * | |
11 | * documentation strictly for non-commercial purposes is hereby granted * | |
12 | * without fee, provided that the above copyright notice appears in all * | |
13 | * copies and that both the copyright notice and this permission notice * | |
14 | * appear in the supporting documentation. The authors make no claims * | |
15 | * about the suitability of this software for any purpose. It is * | |
16 | * provided "as is" without express or implied warranty. * | |
17 | **************************************************************************/ | |
18 | ||
19 | ||
57839add | 20 | #include "AliCaloFitResults.h" |
d655d7dd | 21 | |
22 | ||
23 | // Container class to hold results from fitting | |
24 | // as well as other methods for | |
25 | // raw data signals extraction. The class memebers | |
26 | // fChi2Sig, fNdfSig is only relevant if a fitting procedure is | |
27 | // Applied. fStatus holds information on wether or not | |
28 | // The signal was fitted sucessfully. fStatus might have a different meaning If other | |
29 | // procedures than A different meaning Fitting is applied | |
57839add | 30 | AliCaloFitResults::AliCaloFitResults(const Int_t maxSig, const Float_t ped, |
f57baa2d | 31 | const Short_t fitstatus, const Float_t amp, |
32 | const Float_t t0, const Float_t chi, | |
33 | const Int_t ndf, Int_t minSig, | |
34 | const AliCaloFitSubarray fitSubarray) : | |
35 | fMaxSig(maxSig), | |
36 | fPed(ped), | |
37 | fStatus(fitstatus), | |
38 | fAmpSig(amp), | |
39 | fT0(t0), | |
40 | fChi2Sig(chi), | |
41 | fNdfSig(ndf), | |
42 | fMinSig(minSig), | |
43 | fFitSubarray(fitSubarray) | |
d655d7dd | 44 | { |
d655d7dd | 45 | } |
46 | ||
47 | ||
f57baa2d | 48 | AliCaloFitResults::AliCaloFitResults(const Int_t maxSig, const Float_t ped, |
49 | const Short_t fitstatus, const Float_t amp, | |
50 | const Float_t t0, const Float_t chi, | |
51 | const Int_t ndf, Int_t minSig ) : | |
52 | fMaxSig(maxSig), | |
53 | fPed(ped), | |
54 | fStatus(fitstatus), | |
55 | fAmpSig(amp), | |
56 | fT0(t0), | |
57 | fChi2Sig(chi), | |
58 | fNdfSig(ndf), | |
59 | fMinSig(minSig), | |
60 | fFitSubarray(kDummy) | |
61 | { | |
62 | ||
63 | } | |
d655d7dd | 64 | |
65 | ||
f57baa2d | 66 | |
67 | ||
68 | AliCaloFitResults::AliCaloFitResults(const Int_t maxSig, const Int_t minSig) : | |
69 | fMaxSig(maxSig), | |
70 | fPed(kNoFit), | |
71 | fStatus( kNoFit ), | |
72 | fAmpSig( kNoFit ), | |
73 | fT0(kNoFit), | |
74 | fChi2Sig( kNoFit ), | |
75 | fNdfSig( kNoFit), | |
76 | fMinSig (minSig), | |
77 | fFitSubarray(kNoFit) | |
d655d7dd | 78 | { |
f57baa2d | 79 | |
d655d7dd | 80 | } |
81 | ||
82 | ||
83 | ||
57839add | 84 | AliCaloFitResults::~AliCaloFitResults() |
d655d7dd | 85 | { |
86 | ||
87 | } | |
88 |