]> git.uio.no Git - u/mrichter/AliRoot.git/blame - PHOS/AliPHOSRecoParam.cxx
Changes with time coordinate (Marian)
[u/mrichter/AliRoot.git] / PHOS / AliPHOSRecoParam.cxx
CommitLineData
58f66025 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
25ClassImp(AliPHOSRecoParam)
26
27//-----------------------------------------------------------------------------
75b88769 28AliPHOSRecoParam::AliPHOSRecoParam() :
29 TNamed(),
30 fClusteringThreshold(9999),
31 fLocMaxCut(9999),
32 fMinE(9999),
33 fW0(9999),
70d93620 34 fSampleQualityCut(1.),
48c5db5b 35 fEcoreRadius(3.),
65cffb6a 36 fEcore2ESD(kFALSE),
75b88769 37 fSubtractPedestals(kTRUE),
38 fUnfold(kTRUE),
75b88769 39 fDecoderVersion("")
58f66025 40{
41 //Default constructor.
42}
43
44//-----------------------------------------------------------------------------
308fb942 45AliPHOSRecoParam::AliPHOSRecoParam(const AliPHOSRecoParam& ):
75b88769 46 TNamed(),
47 fClusteringThreshold(9999),
48 fLocMaxCut(9999),
49 fMinE(9999),
50 fW0(9999),
70d93620 51 fSampleQualityCut(1.),
48c5db5b 52 fEcoreRadius(3.),
65cffb6a 53 fEcore2ESD(kFALSE),
75b88769 54 fSubtractPedestals(kTRUE),
55 fUnfold(kTRUE),
75b88769 56 fDecoderVersion("")
58f66025 57{
58 //Copy constructor.
59}
60
61//-----------------------------------------------------------------------------
62AliPHOSRecoParam& AliPHOSRecoParam::operator = (const AliPHOSRecoParam& recoParam)
63{
64 //Assignment operator.
65
66 if(this != &recoParam) {
67 fClusteringThreshold = recoParam.fClusteringThreshold;
75b88769 68 fLocMaxCut = recoParam.fLocMaxCut;
69 fMinE = recoParam.fMinE;
70 fW0 = recoParam.fW0;
70d93620 71 fSampleQualityCut = recoParam.fSampleQualityCut ;
48c5db5b 72 fEcoreRadius = recoParam.fEcoreRadius ;
75b88769 73 fSubtractPedestals = recoParam.fSubtractPedestals;
74 fUnfold = recoParam.fUnfold;
75b88769 75 fDecoderVersion = recoParam.fDecoderVersion ;
58f66025 76 }
77
78 return *this;
79}