]> git.uio.no Git - u/mrichter/AliRoot.git/blob - PHOS/AliPHOSRecoParamCpv.cxx
Makefile for PHOSUtils.par creation
[u/mrichter/AliRoot.git] / PHOS / AliPHOSRecoParamCpv.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 // This class contains the PHOS CPV reconstruction parameters.
19 // To get default parameters from any place of your code, use:
20 //   AliPHOSRecoParam* defPar = AliPHOSRecoParamCpv::GetCpvDefaultParameters();
21 //   Float_t cluth = defPar->GetClusteringThreshold();
22 //   ...
23
24 // --- AliRoot header files ---
25 #include "AliPHOSRecoParamCpv.h"
26
27 ClassImp(AliPHOSRecoParamCpv)
28
29 //-----------------------------------------------------------------------------
30 AliPHOSRecoParamCpv::AliPHOSRecoParamCpv() : AliPHOSRecoParam()
31 {
32   //Default constructor.
33
34   SetClusteringThreshold(0.0);
35   SetLocalMaxCut(0.03);
36   SetMinE(0.0);
37   SetLogWeight(4.0);
38 }
39
40 //-----------------------------------------------------------------------------
41 AliPHOSRecoParam* AliPHOSRecoParamCpv::GetCpvDefaultParameters()
42 {
43   //Default parameters for the reconstruction in CPV.
44
45   AliPHOSRecoParam* params = new AliPHOSRecoParamCpv();
46   return params;
47 }