New AliTRDcluster constructor
[u/mrichter/AliRoot.git] / TOF / AliTOFRecoParam.cxx
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 // Class with TOF reconstruction parameters                                  //
20 //                                                                           //  
21 //                                                                           //
22 ///////////////////////////////////////////////////////////////////////////////
23
24
25 #include "AliTOFRecoParam.h"
26
27 ClassImp(AliTOFRecoParam)
28
29 //_____________________________________________________________________________
30 AliTOFRecoParam::AliTOFRecoParam():
31   fTimeZero(kFALSE),       
32   fTimeZerofromT0(kFALSE),       
33   fTimeZerofromTOF(kFALSE),       
34   fTimeWalkCorr(kFALSE),       
35   fApplyPbPbCuts(kFALSE),       
36   fWindowSizeMaxY(50.),
37   fWindowSizeMaxZ(35.),
38   fWindowScaleFact(3.),
39   fDistanceCut(3.),
40   fSensRadius(378.),
41   fStepSize(0.1),
42   fMaxChi2(150.),
43   fTimeResolution(80.),
44   fTimeNSigma(5.)
45 {
46   //
47   // constructor
48   //
49 }
50
51 //_____________________________________________________________________________
52 AliTOFRecoParam::~AliTOFRecoParam() 
53 {
54   //
55   // destructor
56   //  
57 }
58
59 //_____________________________________________________________________________
60 AliTOFRecoParam *AliTOFRecoParam::GetPbPbparam(){
61   //
62   // set default reconstruction parameters for PbPb.
63   //
64   AliTOFRecoParam *param = new AliTOFRecoParam();
65   param->fApplyPbPbCuts = kTRUE;
66   param->fWindowScaleFact = 3.;
67   param->fDistanceCut = 3.;
68   return param;
69 }
70
71 //_____________________________________________________________________________
72 AliTOFRecoParam *AliTOFRecoParam::GetPPparam(){
73   //
74   // set default reconstruction parameters for PP.
75   //
76   AliTOFRecoParam *param = new AliTOFRecoParam();
77   param->fApplyPbPbCuts = kFALSE;
78   param->fWindowScaleFact = 5.;
79   param->fDistanceCut = 10.;
80   return param;
81 }