00001 /*************************************************************************** 00002 * 00003 * $Id: Linear.hh,v 1.1 2000/07/22 22:27:14 aihong Exp $ 00004 * 00005 * Author: Aihong Tang & Richard Witt (FORTRAN Version),Kent State U. 00006 * Send questions to aihong@cnr.physics.kent.edu 00007 *************************************************************************** 00008 * 00009 * Description:part of StPidAmpMaker package 00010 * Linear function for describing resolution 00011 *************************************************************************** 00012 * 00013 * $Log: Linear.hh,v $ 00014 * Revision 1.1 2000/07/22 22:27:14 aihong 00015 * move files from StPidAmpMaker to StEventUtilities 00016 * 00017 * Revision 1.1.1.1 2000/03/09 17:48:34 aihong 00018 * Installation of package 00019 * 00020 **************************************************************************/ 00021 00022 00023 #ifndef StPidAmpLinear_hh 00024 #define StPidAmpLinear_hh 00025 00026 //------------------------------------------------------------------- 00027 double Linear(double *dedxmean,double *par) { 00028 00029 00030 00031 double lr = par[0]+par[1]*dedxmean[0]; 00032 00033 return lr; 00034 00035 }; 00036 00037 #endif
1.5.9