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 to set HMPID reconstruction parameters (normal, HTA, UserCut ... //
22 ///////////////////////////////////////////////////////////////////////////////
24 //Email: Levente.Molnar@ba.infn.it
27 #include "AliHMPIDRecoParam.h"
28 #include "AliHMPIDParam.h"
30 ClassImp(AliHMPIDRecoParam)
32 //_____________________________________________________________________________
33 AliHMPIDRecoParam::AliHMPIDRecoParam():TNamed(),
40 for(Int_t iCh=AliHMPIDParam::kMinCh;iCh<=AliHMPIDParam::kMaxCh;iCh++) fUserCut[iCh]=3;
42 //++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
43 AliHMPIDRecoParam::AliHMPIDRecoParam(const AliHMPIDRecoParam &p):TNamed(p),
49 fRecoMode= p.fRecoMode;
50 for(Int_t iCh=AliHMPIDParam::kMinCh;iCh<=AliHMPIDParam::kMaxCh;iCh++) fUserCut[iCh]=p.fUserCut[iCh];
51 fUserCutMode = p.fUserCutMode;
54 //++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
55 AliHMPIDRecoParam& AliHMPIDRecoParam::operator=(const AliHMPIDRecoParam &p)
60 this->fRecoMode= p.fRecoMode;
61 for(Int_t iCh=AliHMPIDParam::kMinCh;iCh<=AliHMPIDParam::kMaxCh;iCh++) this->fUserCut[iCh] = p.fUserCut[iCh];
62 this->fUserCutMode = p.fUserCutMode;
65 //++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
66 AliHMPIDRecoParam *AliHMPIDRecoParam::GetUserModeParam(){
68 // Provide access to reconstruction parameters fro the rec.C
70 AliHMPIDRecoParam *hmpidRecoParam = new AliHMPIDRecoParam;
71 return hmpidRecoParam;
73 //++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
74 AliHMPIDRecoParam::~AliHMPIDRecoParam()