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 // FMD Reconstruction Parameters
22 ///////////////////////////////////////////////////////////////////////////////
25 #include "AliFMDRecoParam.h"
27 ClassImp(AliDetectorRecoParam)
29 ; // Don't delete - for Emacs
32 //____________________________________________________________________
33 AliFMDRecoParam::AliFMDRecoParam(Float_t noiseFactor,
35 Bool_t sharingCorrect)
36 : AliDetectorRecoParam(),
37 fNoiseFactor(noiseFactor),
38 fAngleCorrect(angleCorrect),
39 fSharingCorrect(sharingCorrect)
46 //____________________________________________________________________
48 AliFMDRecoParam::GetLowFluxParam()
50 AliFMDRecoParam* p = new AliFMDRecoParam(10, kTRUE, kFALSE);
51 p->SetName("FMD_low_flux");
52 p->SetTitle("FMD low flux");
55 //____________________________________________________________________
57 AliFMDRecoParam::GetHighFluxParam()
59 AliFMDRecoParam* p = new AliFMDRecoParam(10, kTRUE, kFALSE);
60 p->SetName("FMD_high_flux");
61 p->SetTitle("FMD high flux");
64 //____________________________________________________________________
66 AliFMDRecoParam::GetParam(AliRecoParam::EventSpecie_t specie)
69 case AliRecoParam::kDefault:
70 case AliRecoParam::kCalib:
71 case AliRecoParam::kHighMult: return GetHighFluxParam();
72 case AliRecoParam::kCosmic:
73 case AliRecoParam::kLowMult: return GetLowFluxParam();
75 return new AliFMDRecoParam();
79 //____________________________________________________________________