/************************************************************************** * Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. * * * * Author: The ALICE Off-line Project. * * Contributors are mentioned in the code where appropriate. * * * * Permission to use, copy, modify and distribute this software and its * * documentation strictly for non-commercial purposes is hereby granted * * without fee, provided that the above copyright notice appears in all * * copies and that both the copyright notice and this permission notice * * appear in the supporting documentation. The authors make no claims * * about the suitability of this software for any purpose. It is * * provided "as is" without express or implied warranty. * **************************************************************************/ /////////////////////////////////////////////////////////////////////////////// // // // Class with PMD reconstruction parameters // // // // // /////////////////////////////////////////////////////////////////////////////// #include "AliLog.h" #include "AliPMDRecoParam.h" ClassImp(AliPMDRecoParam) //_____________________________________________________________________________ AliPMDRecoParam::AliPMDRecoParam(): AliDetectorRecoParam(), fPmdClusteringParam(0) { // // constructor // SetNameTitle("PMD","PMD"); } //_____________________________________________________________________________ AliPMDRecoParam::AliPMDRecoParam(const AliPMDRecoParam &source): AliDetectorRecoParam(source), fPmdClusteringParam(source.fPmdClusteringParam) { //copy Ctor } //_____________________________________________________________________________ AliPMDRecoParam& AliPMDRecoParam::operator=(const AliPMDRecoParam &source) { // // assign. operator // if (this != &source) { fPmdClusteringParam = source.fPmdClusteringParam; } return *this; } //_____________________________________________________________________________ AliPMDRecoParam::~AliPMDRecoParam() { // // destructor // } //_____________________________________________________________________________ AliPMDRecoParam *AliPMDRecoParam::GetPbPbParam(){ // // set default reconstruction parameters for PbPb. // AliPMDRecoParam *param = new AliPMDRecoParam(); param->fPmdClusteringParam = 2; return param; } //_____________________________________________________________________________ AliPMDRecoParam *AliPMDRecoParam::GetPPParam(){ // // set default reconstruction parameters for PP. // AliPMDRecoParam *param = new AliPMDRecoParam(); param->fPmdClusteringParam = 1; return param; } //_____________________________________________________________________________ AliPMDRecoParam *AliPMDRecoParam::GetCosmicParam(){ // // set default reconstruction parameters for cosmic muon run // AliPMDRecoParam *param = new AliPMDRecoParam(); param->fPmdClusteringParam = 1; return param; } //_____________________________________________________________________________ void AliPMDRecoParam::PrintParameters() const { // // Printing of the used PMD reconstruction parameters // AliInfo(" Crude Clustering = 1 and Refined Clustering = 2"); AliInfo(Form(" Clustering parameter : %d", fPmdClusteringParam)); } //_____________________________________________________________________________ AliPMDRecoParam *AliPMDRecoParam::GetHighFluxParam(){ // // set default reconstruction parameters for PbPb. // AliPMDRecoParam *param = new AliPMDRecoParam(); param->fPmdClusteringParam = 2; return param; } //_____________________________________________________________________________ AliPMDRecoParam *AliPMDRecoParam::GetLowFluxParam(){ // // set default reconstruction parameters for PP. // AliPMDRecoParam *param = new AliPMDRecoParam(); param->fPmdClusteringParam = 1; return param; }