1 /**************************************************************************
2 * Copyright(c) 1998-1999, 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 **************************************************************************/
17 ///////////////////////////////////////////////////////////////////////////////
19 // Class with PMD reconstruction parameters //
22 ///////////////////////////////////////////////////////////////////////////////
27 #include "AliPMDRecoParam.h"
29 ClassImp(AliPMDRecoParam)
31 //_____________________________________________________________________________
32 AliPMDRecoParam::AliPMDRecoParam():
33 AliDetectorRecoParam(),
34 fPmdClusteringParam(0)
39 SetNameTitle("PMD","PMD");
41 //_____________________________________________________________________________
42 AliPMDRecoParam::AliPMDRecoParam(const AliPMDRecoParam &source):
43 AliDetectorRecoParam(source),
44 fPmdClusteringParam(source.fPmdClusteringParam)
49 //_____________________________________________________________________________
50 AliPMDRecoParam& AliPMDRecoParam::operator=(const AliPMDRecoParam &source)
58 fPmdClusteringParam = source.fPmdClusteringParam;
63 //_____________________________________________________________________________
64 AliPMDRecoParam::~AliPMDRecoParam()
71 //_____________________________________________________________________________
72 AliPMDRecoParam *AliPMDRecoParam::GetPbPbParam(){
74 // set default reconstruction parameters for PbPb.
76 AliPMDRecoParam *param = new AliPMDRecoParam();
78 param->fPmdClusteringParam = 2;
83 //_____________________________________________________________________________
84 AliPMDRecoParam *AliPMDRecoParam::GetPPParam(){
86 // set default reconstruction parameters for PP.
88 AliPMDRecoParam *param = new AliPMDRecoParam();
90 param->fPmdClusteringParam = 1;
95 //_____________________________________________________________________________
96 AliPMDRecoParam *AliPMDRecoParam::GetCosmicParam(){
98 // set default reconstruction parameters for cosmic muon run
100 AliPMDRecoParam *param = new AliPMDRecoParam();
102 param->fPmdClusteringParam = 1;
107 //_____________________________________________________________________________
108 void AliPMDRecoParam::PrintParameters() const
111 // Printing of the used PMD reconstruction parameters
114 AliInfo(" Crude Clustering = 1 and Refined Clustering = 2");
115 AliInfo(Form(" Clustering parameter : %d", fPmdClusteringParam));
119 //_____________________________________________________________________________
120 AliPMDRecoParam *AliPMDRecoParam::GetHighFluxParam(){
122 // set default reconstruction parameters for PbPb.
124 AliPMDRecoParam *param = new AliPMDRecoParam();
126 param->fPmdClusteringParam = 2;
131 //_____________________________________________________________________________
132 AliPMDRecoParam *AliPMDRecoParam::GetLowFluxParam(){
134 // set default reconstruction parameters for PP.
136 AliPMDRecoParam *param = new AliPMDRecoParam();
138 param->fPmdClusteringParam = 1;