FEDRA emulsion software from the OPERA Collaboration
EdbPhys.h
Go to the documentation of this file.
1#ifndef ROOT_EdbPhys
2#define ROOT_EdbPhys
5
11
12#include <TObject.h>
13#include <TRandom.h>
14
16class EdbPhysics: public TObject {
17
18 public:
20 virtual ~EdbPhysics(){}
21
22// constants
23 static float kX0_Pb() { return 5600.; }
24 static float kX0_Em() { return 286000.;}
25 static float kX0_Cell(){ return 5810.;}
26
27// functions
28 static double ThetaMCS( float p, float mass, float dx, float x0 );
29 static double ThetaMS2( float p, float mass, float dx, float X0 );
30 static double ThetaPb2( float p, float mass, float dx );
31 static double DeAveragePb( float p, float mass, float dx);
32 static void DeAveragePbFastSet( float p, float mass);
33 static double DeAveragePbFast( float p, float mass, float dx);
34 static double DeLandauPb( float p, float mass, float dx);
35
36 ClassDef(EdbPhysics,2) // some physics
37};
38
39#endif /* ROOT_EdbPhys */
brick X0
Definition: RecDispMC.C:112
some physics
Definition: EdbPhys.h:16
static float kX0_Pb()
Definition: EdbPhys.h:23
static double DeLandauPb(float p, float mass, float dx)
Definition: EdbPhys.cxx:77
static double DeAveragePb(float p, float mass, float dx)
Definition: EdbPhys.cxx:132
EdbPhysics()
Definition: EdbPhys.h:19
static double DeAveragePbFast(float p, float mass, float dx)
Definition: EdbPhys.cxx:218
static double ThetaMCS(float p, float mass, float dx, float x0)
Definition: EdbPhys.cxx:45
static double ThetaMS2(float p, float mass, float dx, float X0)
Definition: EdbPhys.cxx:51
static double ThetaPb2(float p, float mass, float dx)
Definition: EdbPhys.cxx:71
static void DeAveragePbFastSet(float p, float mass)
Definition: EdbPhys.cxx:186
static float kX0_Em()
Definition: EdbPhys.h:24
static float kX0_Cell()
Definition: EdbPhys.h:25
virtual ~EdbPhysics()
Definition: EdbPhys.h:20
float mass
Definition: check_vertex.C:21
p
Definition: testBGReduction_AllMethods.C:8