/************************************************************************** * Copyright(c) 2007-2009, 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. * **************************************************************************/ /* $Id$ */ /////////////////////////////////////////////////////////////////// // // // Implementation of the class for SDD drift speed // // Origin: F.Prino, Torino, prino@to.infn.it // // // /////////////////////////////////////////////////////////////////// #include "AliITSDriftSpeedSDD.h" #include "AliLog.h" const Float_t AliITSDriftSpeedSDD::fgkDriftSpeedDefault = 7.3; ClassImp(AliITSDriftSpeedSDD) //______________________________________________________________________ AliITSDriftSpeedSDD::AliITSDriftSpeedSDD(): TObject(), fEvNum(0), fTimestamp(0), fPolDeg(0){ // default constructor fDriftSpeedParam[0]=fgkDriftSpeedDefault; for(Int_t i=1; ifgkMaxPolDeg){ fPolDeg=fgkMaxPolDeg; AliWarning(Form("Polynomial degree must be <%d. Drift speed parametrization limited to %dth degree poly.\n",fgkMaxPolDeg,fgkMaxPolDeg)); } for(Int_t i=0; i