1 /**************************************************************************
2 * This file is property of and copyright by *
3 * the Relativistic Heavy Ion Group (RHIG), Yale University, US, 2009 *
5 * Primary Author: Per Thomas Hille <p.t.hille@fys.uio.no> *
7 * Contributors are mentioned in the code where appropriate. *
8 * Please report bugs to p.t.hille@fys.uio.no *
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 **************************************************************************/
20 #include "AliCaloFitResults.h"
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
31 AliCaloFitResults::AliCaloFitResults(const Int_t maxSig, const Float_t ped,
32 const Short_t fitstatus, const Float_t amp,
33 const Float_t time, const Int_t maxTimebin, const Float_t chi,
34 const Int_t ndf, Int_t minSig,
35 const AliCaloFitSubarray fitSubarray) :
41 fMaxTimebin(maxTimebin),
45 fFitSubarray(fitSubarray)
50 AliCaloFitResults::AliCaloFitResults(const Int_t maxSig, const Float_t ped,
51 const Short_t fitstatus, const Float_t amp,
52 const Float_t time, const Int_t maxTimebin, const Float_t chi,
53 const Int_t ndf, Int_t minSig ) :
59 fMaxTimebin(maxTimebin),
68 AliCaloFitResults::AliCaloFitResults(const Int_t maxSig, const Float_t ped,
69 const Short_t fitstatus, const Float_t amp,
70 const Int_t maxTimebin) :
76 fMaxTimebin(maxTimebin),
80 fFitSubarray( kNoFit )
85 AliCaloFitResults::AliCaloFitResults(const Int_t maxSig, const Int_t minSig) :
91 fMaxTimebin( kInvalid ),
95 fFitSubarray(kInvalid)
102 AliCaloFitResults::~AliCaloFitResults()