]> git.uio.no Git - u/mrichter/AliRoot.git/blob - PHOS/AliPHOSRecoParam.cxx
Merging THbtp and HBTP in one library. Comiplation on Windows/Cygwin
[u/mrichter/AliRoot.git] / PHOS / AliPHOSRecoParam.cxx
1 /**************************************************************************
2  * Copyright(c) 2007, ALICE Experiment at CERN, All rights reserved.      *
3  *                                                                        *
4  * Author: The ALICE Off-line Project.                                    *
5  * Contributors are mentioned in the code where appropriate.              *
6  *                                                                        *
7  * Permission to use, copy, modify and distribute this software and its   *
8  * documentation strictly for non-commercial purposes is hereby granted   *
9  * without fee, provided that the above copyright notice appears in all   *
10  * copies and that both the copyright notice and this permission notice   *
11  * appear in the supporting documentation. The authors make no claims     *
12  * about the suitability of this software for any purpose. It is          *
13  * provided "as is" without express or implied warranty.                  *
14  **************************************************************************/
15
16 /* $Id$ */
17
18 // Base class for the PHOS reconstruction parameters.
19 // Do not use in the reconstruction; use derivative classes instead.
20 // Author: Boris Polichtchouk.
21
22 // --- AliRoot header files ---
23 #include "AliPHOSRecoParam.h"
24
25 ClassImp(AliPHOSRecoParam)
26
27 //-----------------------------------------------------------------------------
28 AliPHOSRecoParam::AliPHOSRecoParam() :
29   TNamed(),
30   fClusteringThreshold(9999),
31   fLocMaxCut(9999),
32   fMinE(9999),
33   fW0(9999),
34   fSampleQualityCut(1.),
35   fSubtractPedestals(kTRUE),
36   fUnfold(kTRUE),
37   fOldRCUFormat(kFALSE),
38   fDecoderVersion("")
39 {
40   //Default constructor.
41 }
42
43 //-----------------------------------------------------------------------------
44 AliPHOSRecoParam::AliPHOSRecoParam(const AliPHOSRecoParam& ):
45   TNamed(),
46   fClusteringThreshold(9999),
47   fLocMaxCut(9999),
48   fMinE(9999),
49   fW0(9999),
50   fSampleQualityCut(1.),
51   fSubtractPedestals(kTRUE),
52   fUnfold(kTRUE),
53   fOldRCUFormat(kFALSE),
54   fDecoderVersion("")
55 {
56   //Copy constructor.
57 }
58
59 //-----------------------------------------------------------------------------
60 AliPHOSRecoParam& AliPHOSRecoParam::operator = (const AliPHOSRecoParam& recoParam)
61 {
62   //Assignment operator.
63
64   if(this != &recoParam) {
65     fClusteringThreshold = recoParam.fClusteringThreshold;
66     fLocMaxCut           = recoParam.fLocMaxCut;
67     fMinE                = recoParam.fMinE;
68     fW0                  = recoParam.fW0;
69     fSampleQualityCut    = recoParam.fSampleQualityCut ;
70     fSubtractPedestals   = recoParam.fSubtractPedestals;
71     fUnfold              = recoParam.fUnfold;
72     fOldRCUFormat        = recoParam.fOldRCUFormat;
73     fDecoderVersion      = recoParam.fDecoderVersion ;
74   }
75
76   return *this;
77 }
78