1 /**************************************************************************
2 * Copyright(c) 2007, ALICE Experiment at CERN, All rights reserved. *
4 * Author: The ALICE Off-line Project. *
5 * Contributors are mentioned in the code where appropriate. *
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 **************************************************************************/
18 // Base class for the PHOS reconstruction parameters.
19 // Do not use in the reconstruction; use derivative classes instead.
20 // Author: Boris Polichtchouk.
22 // --- AliRoot header files ---
23 #include "AliPHOSRecoParam.h"
25 ClassImp(AliPHOSRecoParam)
27 //-----------------------------------------------------------------------------
28 AliPHOSRecoParam::AliPHOSRecoParam() :
30 fClusteringThreshold(9999),
34 fSampleQualityCut(1.),
37 fSubtractPedestals(kTRUE),
41 //Default constructor.
44 //-----------------------------------------------------------------------------
45 AliPHOSRecoParam::AliPHOSRecoParam(const AliPHOSRecoParam& ):
47 fClusteringThreshold(9999),
51 fSampleQualityCut(1.),
54 fSubtractPedestals(kTRUE),
61 //-----------------------------------------------------------------------------
62 AliPHOSRecoParam& AliPHOSRecoParam::operator = (const AliPHOSRecoParam& recoParam)
64 //Assignment operator.
66 if(this != &recoParam) {
67 fClusteringThreshold = recoParam.fClusteringThreshold;
68 fLocMaxCut = recoParam.fLocMaxCut;
69 fMinE = recoParam.fMinE;
71 fSampleQualityCut = recoParam.fSampleQualityCut ;
72 fEcoreRadius = recoParam.fEcoreRadius ;
73 fSubtractPedestals = recoParam.fSubtractPedestals;
74 fUnfold = recoParam.fUnfold;
75 fDecoderVersion = recoParam.fDecoderVersion ;