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 TOF reconstruction parameters //
22 ///////////////////////////////////////////////////////////////////////////////
25 #include "AliTOFRecoParam.h"
27 ClassImp(AliTOFRecoParam)
29 //_____________________________________________________________________________
30 AliTOFRecoParam::AliTOFRecoParam():
32 fTimeZerofromT0(kFALSE),
33 fTimeZerofromTOF(kFALSE),
34 fTimeWalkCorr(kFALSE),
35 fApplyPbPbCuts(kFALSE),
51 //_____________________________________________________________________________
52 AliTOFRecoParam::~AliTOFRecoParam()
59 //_____________________________________________________________________________
60 AliTOFRecoParam *AliTOFRecoParam::GetPbPbparam(){
62 // set default reconstruction parameters for PbPb.
64 AliTOFRecoParam *param = new AliTOFRecoParam();
65 param->fApplyPbPbCuts = kTRUE;
66 param->fWindowScaleFact = 3.;
67 param->fDistanceCut = 3.;
71 //_____________________________________________________________________________
72 AliTOFRecoParam *AliTOFRecoParam::GetPPparam(){
74 // set default reconstruction parameters for PP.
76 AliTOFRecoParam *param = new AliTOFRecoParam();
77 param->fApplyPbPbCuts = kFALSE;
78 param->fWindowScaleFact = 5.;
79 param->fDistanceCut = 10.;