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 **************************************************************************/
15 ///////////////////////////////////////////////////////////////////////////////
17 // FMD Reconstruction Parameters
20 ///////////////////////////////////////////////////////////////////////////////
23 #include "AliFMDRecoParam.h"
25 ClassImp(AliDetectorRecoParam)
27 ; // Don't delete - for Emacs
30 //____________________________________________________________________
31 AliFMDRecoParam::AliFMDRecoParam(Float_t noiseFactor,
33 Bool_t sharingCorrect)
34 : AliDetectorRecoParam(),
35 fNoiseFactor(noiseFactor),
36 fAngleCorrect(angleCorrect),
37 fSharingCorrect(sharingCorrect)
44 //____________________________________________________________________
46 AliFMDRecoParam::GetLowFluxParam()
49 // Get low flux parameter
52 // low flux parameters
54 AliFMDRecoParam* p = new AliFMDRecoParam(10, kTRUE, kFALSE);
55 p->SetName("FMD_low_flux");
56 p->SetTitle("FMD low flux");
59 //____________________________________________________________________
61 AliFMDRecoParam::GetHighFluxParam()
64 // Get high flux parameter
67 // high flux parameters
69 AliFMDRecoParam* p = new AliFMDRecoParam(10, kTRUE, kFALSE);
70 p->SetName("FMD_high_flux");
71 p->SetTitle("FMD high flux");
74 //____________________________________________________________________
76 AliFMDRecoParam::GetParam(AliRecoParam::EventSpecie_t specie)
79 // Get parameters for a specific species
85 // Reconstruction paramters
88 case AliRecoParam::kDefault:
89 case AliRecoParam::kCalib:
90 case AliRecoParam::kHighMult: return GetHighFluxParam();
91 case AliRecoParam::kCosmic:
92 case AliRecoParam::kLowMult: return GetLowFluxParam();
94 return new AliFMDRecoParam();
98 //____________________________________________________________________