]> git.uio.no Git - u/mrichter/AliRoot.git/blame - FMD/AliFMDRecoParam.cxx
correct for omission
[u/mrichter/AliRoot.git] / FMD / AliFMDRecoParam.cxx
CommitLineData
818fff8d 1/**************************************************************************
2 * Copyright(c) 1998-1999, 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
17///////////////////////////////////////////////////////////////////////////////
18//
19// FMD Reconstruction Parameters
20//
21//
22///////////////////////////////////////////////////////////////////////////////
23
24
25#include "AliFMDRecoParam.h"
26
27ClassImp(AliDetectorRecoParam)
28#if 0
29; // Don't delete - for Emacs
30#endif
31
32//____________________________________________________________________
33AliFMDRecoParam::AliFMDRecoParam(Float_t noiseFactor,
34 Bool_t angleCorrect,
35 Bool_t sharingCorrect)
36 : AliDetectorRecoParam(),
37 fNoiseFactor(noiseFactor),
38 fAngleCorrect(angleCorrect),
39 fSharingCorrect(sharingCorrect)
40{
41 // Constructor
42 SetName("FMD");
43 SetTitle("FMD");
44}
45
46//____________________________________________________________________
47AliFMDRecoParam*
48AliFMDRecoParam::GetLowFluxParam()
49{
50 AliFMDRecoParam* p = new AliFMDRecoParam(10, kTRUE, kFALSE);
51 p->SetName("FMD_low_flux");
52 p->SetTitle("FMD low flux");
53 return p;
54}
55//____________________________________________________________________
56AliFMDRecoParam*
57AliFMDRecoParam::GetHighFluxParam()
58{
59 AliFMDRecoParam* p = new AliFMDRecoParam(10, kTRUE, kFALSE);
60 p->SetName("FMD_high_flux");
61 p->SetTitle("FMD high flux");
62 return p;
63}
64//____________________________________________________________________
65AliFMDRecoParam*
66AliFMDRecoParam::GetParam(AliRecoParam::EventSpecie_t specie)
67{
68 switch (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();
74 }
75 return new AliFMDRecoParam();
76}
77
78
79//____________________________________________________________________
80//
81//
82// EOF
83//