StRoot  1
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Groups Pages
BetheBloch.h
1 //
2 // $Id: BetheBloch.h,v 1.7 2004/03/18 18:57:43 fisyak Exp $
3 //
4 // Description:
5 // Function to return the expected dE/dx as a function of
6 // beta*gamma for the TPC
7 //
8 // $Log: BetheBloch.h,v $
9 // Revision 1.7 2004/03/18 18:57:43 fisyak
10 // Make only warning about BetheBloch::BetheBloch
11 //
12 // Revision 1.6 2003/05/22 21:01:01 perev
13 // Remove redundant dependency
14 //
15 // Revision 1.5 2003/02/15 02:24:57 fisyak
16 // Add static function Girrf for GEANT3 prediction for dE/dx
17 //
18 // Revision 1.4 2001/04/24 15:36:30 fisyak
19 // Restore Manuel's parameterization, move scale of dE/dx from 2.4 to 1.4 keV/cm for MIP
20 //
21 // Revision 1.2 2000/12/21 00:59:51 fisyak
22 // Add parameteriation for Bethe Bloch depending on track length
23 //
24 // Revision 1.1 2000/07/04 17:35:08 calderon
25 // Initial Revision
26 // Bethe Bloch curve for the TPC with initial preliminary tuning
27 //
28 //
29 //
30 
31 #ifndef BetheBloch_hh
32 #define BetheBloch_hh
33 #include "Rtypes.h"
34 #include <map>
35 #ifndef ST_NO_NAMESPACES
36 using std::map;
37 #endif
38 
39 class BetheBloch {
40  map<double, double> mMap;
41 public:
42  BetheBloch();
43  virtual ~BetheBloch();
44  static int noWarn;
45  double operator() (double);
46  static Double_t Sirrf(Double_t poverm, Double_t Length=60., Int_t k=0);
47  static Double_t Girrf(Double_t poverm, Double_t Tmin=1.e-3, Int_t k=0);
48 };
49 #endif