00001 // 00002 // $Id: BetheBloch.h,v 1.7 2004/03/18 18:57:43 fisyak Exp $ 00003 // 00004 // Description: 00005 // Function to return the expected dE/dx as a function of 00006 // beta*gamma for the TPC 00007 // 00008 // $Log: BetheBloch.h,v $ 00009 // Revision 1.7 2004/03/18 18:57:43 fisyak 00010 // Make only warning about BetheBloch::BetheBloch 00011 // 00012 // Revision 1.6 2003/05/22 21:01:01 perev 00013 // Remove redundant dependency 00014 // 00015 // Revision 1.5 2003/02/15 02:24:57 fisyak 00016 // Add static function Girrf for GEANT3 prediction for dE/dx 00017 // 00018 // Revision 1.4 2001/04/24 15:36:30 fisyak 00019 // Restore Manuel's parameterization, move scale of dE/dx from 2.4 to 1.4 keV/cm for MIP 00020 // 00021 // Revision 1.2 2000/12/21 00:59:51 fisyak 00022 // Add parameteriation for Bethe Bloch depending on track length 00023 // 00024 // Revision 1.1 2000/07/04 17:35:08 calderon 00025 // Initial Revision 00026 // Bethe Bloch curve for the TPC with initial preliminary tuning 00027 // 00028 // 00029 // 00030 00031 #ifndef BetheBloch_hh 00032 #define BetheBloch_hh 00033 #include "Rtypes.h" 00034 #include <map> 00035 #ifndef ST_NO_NAMESPACES 00036 using std::map; 00037 #endif 00038 00039 class BetheBloch { 00040 map<double, double> mMap; 00041 public: 00042 BetheBloch(); 00043 virtual ~BetheBloch(); 00044 static int noWarn; 00045 double operator() (double); 00046 static Double_t Sirrf(Double_t poverm, Double_t Length=60., Int_t k=0); 00047 static Double_t Girrf(Double_t poverm, Double_t Tmin=1.e-3, Int_t k=0); 00048 }; 00049 #endif
1.5.9