FEDRA emulsion software from the OPERA Collaboration
EdbPhys.h
Go to the documentation of this file.
1 #ifndef ROOT_EdbPhys
2 #define ROOT_EdbPhys
3 
5 // //
6 // EdbPhys //
7 // //
8 // Some physics utilities and constants //
9 // //
11 #include <TObject.h>
12 #include <TRandom.h>
13 
14 //_________________________________________________________________________
15 class EdbPhysics: public TObject {
16 
17  public:
19  virtual ~EdbPhysics(){}
20 
21 // constants
22  static float kX0_Pb() { return 5600.; }
23  static float kX0_Em() { return 286000.;}
24  static float kX0_Cell(){ return 5810.;}
25 
26 // functions
27  static double ThetaMCS( float p, float mass, float dx, float x0 );
28  static double ThetaMS2( float p, float mass, float dx, float X0 );
29  static double ThetaPb2( float p, float mass, float dx );
30  static double DeAveragePb( float p, float mass, float dx);
31  static void DeAveragePbFastSet( float p, float mass);
32  static double DeAveragePbFast( float p, float mass, float dx);
33  static double DeLandauPb( float p, float mass, float dx);
34 
35  ClassDef(EdbPhysics,2) // some physics
36 };
37 
38 #endif /* ROOT_EdbPhys */
Definition: EdbPhys.h:15
static float kX0_Pb()
Definition: EdbPhys.h:22
static double DeLandauPb(float p, float mass, float dx)
Definition: EdbPhys.cxx:76
static double DeAveragePb(float p, float mass, float dx)
Definition: EdbPhys.cxx:131
EdbPhysics()
Definition: EdbPhys.h:18
static double DeAveragePbFast(float p, float mass, float dx)
Definition: EdbPhys.cxx:217
static double ThetaMCS(float p, float mass, float dx, float x0)
Definition: EdbPhys.cxx:44
static double ThetaMS2(float p, float mass, float dx, float X0)
Definition: EdbPhys.cxx:50
static double ThetaPb2(float p, float mass, float dx)
Definition: EdbPhys.cxx:70
static void DeAveragePbFastSet(float p, float mass)
Definition: EdbPhys.cxx:185
static float kX0_Em()
Definition: EdbPhys.h:23
static float kX0_Cell()
Definition: EdbPhys.h:24
virtual ~EdbPhysics()
Definition: EdbPhys.h:19
float X0
Definition: emthickness.cpp:69
float mass
Definition: check_vertex.C:21
p
Definition: testBGReduction_AllMethods.C:8