]> git.uio.no Git - u/mrichter/AliRoot.git/blame - EMCAL/AliCaloFitResults.cxx
New Trigger Emulation and Trigger access from data (Rachid Guernane)
[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
57839add 30AliCaloFitResults::AliCaloFitResults(const Int_t maxSig, const Float_t ped,
d655d7dd 31 const Short_t fitstatus, const Float_t amp,
32 const Float_t t0, const Float_t chi,
57839add 33 const Int_t ndf, Int_t minSig ) : fMaxSig(maxSig),
d655d7dd 34 fPed(ped),
35 fStatus(fitstatus),
36 fAmpSig(amp),
37 fT0(t0),
38 fChi2Sig(chi),
39 fNdfSig(ndf),
40 fMinSig(minSig)
41{
42
43
44}
45
46
47
48
57839add 49AliCaloFitResults::AliCaloFitResults(const Int_t maxSig, const Int_t minSig) : fMaxSig(maxSig),
d655d7dd 50 fPed(-98),
51 fStatus( -1 ),
52 fAmpSig( -1 ),
53 fT0(-99),
54 fChi2Sig( -1 ),
55 fNdfSig( -1),
56 fMinSig (minSig)
57{
58
59}
60
61
62
57839add 63AliCaloFitResults::~AliCaloFitResults()
d655d7dd 64{
65
66}
67