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 <perthomas.hille@yale.edu> *
7 * Contributors are mentioned in the code where appropriate. *
8 * Please report bugs to perthomas.hille@yale.edu *
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"
22 AliCaloFitResults::AliCaloFitResults() : fMaxSig(-1),
39 // Container class to hold results from fitting
40 // as well as other methods for
41 // raw data signals extraction. The class memebers
42 // fChi2Sig, fNdfSig is only relevant if a fitting procedure is
43 // Applied. fStatus holds information on wether or not
44 // The signal was fitted sucessfully. fStatus might have a different meaning If other
45 // procedures than A different meaning Fitting is applied
47 AliCaloFitResults::AliCaloFitResults(const Int_t maxSig, const Float_t ped,
48 const Short_t fitstatus, const Float_t amp,
49 const Float_t time, const Int_t maxTimebin, const Float_t chi,
50 const Int_t ndf, Int_t minSig,
51 const AliCaloFitSubarray fitSubarray) :
57 fMaxTimebin(maxTimebin),
61 fFitSubarray(fitSubarray)
66 AliCaloFitResults::AliCaloFitResults(const Int_t maxSig, const Float_t ped,
67 const Short_t fitstatus, const Float_t amp,
68 const Float_t time, const Int_t maxTimebin, const Float_t chi,
69 const Int_t ndf, Int_t minSig ) :
75 fMaxTimebin(maxTimebin),
84 AliCaloFitResults::AliCaloFitResults(const Int_t maxSig, const Float_t ped,
85 const Short_t fitstatus, const Float_t amp,
86 const Int_t maxTimebin) :
92 fMaxTimebin(maxTimebin),
96 fFitSubarray( kNoFit )
101 AliCaloFitResults::AliCaloFitResults(const Int_t maxSig, const Int_t minSig) :
107 fMaxTimebin( kInvalid ),
108 fChi2Sig( kInvalid ),
111 fFitSubarray(kInvalid)
118 AliCaloFitResults::~AliCaloFitResults()