StRoot  1
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Groups Pages
Linear.hh
1 /***************************************************************************
2  *
3  * $Id: Linear.hh,v 1.1 2000/07/22 22:27:14 aihong Exp $
4  *
5  * Author: Aihong Tang & Richard Witt (FORTRAN Version),Kent State U.
6  * Send questions to aihong@cnr.physics.kent.edu
7  ***************************************************************************
8  *
9  * Description:part of StPidAmpMaker package
10  * Linear function for describing resolution
11  ***************************************************************************
12  *
13  * $Log: Linear.hh,v $
14  * Revision 1.1 2000/07/22 22:27:14 aihong
15  * move files from StPidAmpMaker to StEventUtilities
16  *
17  * Revision 1.1.1.1 2000/03/09 17:48:34 aihong
18  * Installation of package
19  *
20  **************************************************************************/
21 
22 
23 #ifndef StPidAmpLinear_hh
24 #define StPidAmpLinear_hh
25 
26 //-------------------------------------------------------------------
27 double Linear(double *dedxmean,double *par) {
28 
29 
30 
31  double lr = par[0]+par[1]*dedxmean[0];
32 
33  return lr;
34 
35  };
36 
37 #endif