00001 00002 // GetMomFromRange.h 00003 // Created: A. Marino, June 2006 00004 // 00005 // This is a function to convert the range to Momentum. At its creation, it does this by 00006 // looking up the range and interpolating from a database with the CSDA calcualtions 00007 // for muons in iron. 00008 // 00010 00011 #include "RangeLookupTable.h" 00012 double GetMomFromRange(double range){ 00013 00014 double momentum; 00015 // Now using the CSDA range tables in the database 00016 RangeLookupTable fFeRangeTable("RANGE_MU_FE_CSDA"); 00017 momentum=fFeRangeTable.Interpolate(range); 00018 00019 return momentum; 00020 }
1.3.9.1