]> git.uio.no Git - u/mrichter/AliRoot.git/blame - EMCAL/AliCaloFitResults.cxx
Removing non existing emcal trigger class from build system
[u/mrichter/AliRoot.git] / EMCAL / AliCaloFitResults.cxx
CommitLineData
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
507751ce 30
57839add 31AliCaloFitResults::AliCaloFitResults(const Int_t maxSig, const Float_t ped,
f57baa2d 32 const Short_t fitstatus, const Float_t amp,
507751ce 33 const Float_t time, const Int_t maxTimebin, const Float_t chi,
f57baa2d 34 const Int_t ndf, Int_t minSig,
35 const AliCaloFitSubarray fitSubarray) :
36 fMaxSig(maxSig),
37 fPed(ped),
38 fStatus(fitstatus),
39 fAmpSig(amp),
507751ce 40 fTime(time),
41 fMaxTimebin(maxTimebin),
f57baa2d 42 fChi2Sig(chi),
43 fNdfSig(ndf),
44 fMinSig(minSig),
45 fFitSubarray(fitSubarray)
d655d7dd 46{
d655d7dd 47}
48
49
f57baa2d 50AliCaloFitResults::AliCaloFitResults(const Int_t maxSig, const Float_t ped,
51 const Short_t fitstatus, const Float_t amp,
507751ce 52 const Float_t time, const Int_t maxTimebin, const Float_t chi,
f57baa2d 53 const Int_t ndf, Int_t minSig ) :
54 fMaxSig(maxSig),
55 fPed(ped),
56 fStatus(fitstatus),
57 fAmpSig(amp),
507751ce 58 fTime(time),
59 fMaxTimebin(maxTimebin),
f57baa2d 60 fChi2Sig(chi),
61 fNdfSig(ndf),
62 fMinSig(minSig),
63 fFitSubarray(kDummy)
64{
f57baa2d 65}
d655d7dd 66
67
507751ce 68AliCaloFitResults::AliCaloFitResults(const Int_t maxSig, const Float_t ped,
69 const Short_t fitstatus, const Float_t amp,
70 const Int_t maxTimebin) :
71 fMaxSig(maxSig),
72 fPed(ped),
73 fStatus(fitstatus),
74 fAmpSig(amp),
75 fTime(maxTimebin),
76 fMaxTimebin(maxTimebin),
77 fChi2Sig( kNoFit ),
78 fNdfSig( kNoFit ),
79 fMinSig( kNoFit ),
80 fFitSubarray( kNoFit )
81{
82}
f57baa2d 83
84
85AliCaloFitResults::AliCaloFitResults(const Int_t maxSig, const Int_t minSig) :
86 fMaxSig(maxSig),
507751ce 87 fPed( kInvalid ),
88 fStatus( kInvalid ),
89 fAmpSig( kInvalid ),
90 fTime( kInvalid ),
91 fMaxTimebin( kInvalid ),
92 fChi2Sig( kInvalid ),
93 fNdfSig( kInvalid),
f57baa2d 94 fMinSig (minSig),
507751ce 95 fFitSubarray(kInvalid)
d655d7dd 96{
f57baa2d 97
d655d7dd 98}
99
100
101
57839add 102AliCaloFitResults::~AliCaloFitResults()
d655d7dd 103{
104
105}
106