Go to the source code of this file.
Namespaces | |
| namespace | PIDFormulas |
Functions | |
| float | CERThreshold (float m, float p, float k) |
| float | TimeOfFlight (float m, float p, float l) |
|
||||||||||||||||
|
Definition at line 8 of file PIDFormulas.cxx. Referenced by AutoPIDMaker::Reco(). 00009 {
00010 // returns the cerenkov threshold pressure in atm
00011 // m = mass in GeV
00012 // p = momentum in GeV
00013 // k = constant depending on gas == (n_0 - 1) with n_0 at 1atm
00014 // = 4.1E-4 for C02 at STP
00015
00016 return 1/(2*k)*pow(m/p,2);
00017 }
|
|
||||||||||||||||
|
Definition at line 19 of file PIDFormulas.cxx. Referenced by AutoPIDMaker::Reco(). 00020 {
00021 const float c_in_ticks=Munits::c_light*(1.0E-12)*35.0; // 35 ps/tick
00022 return (l/c_in_ticks)*sqrt(1.0 + pow(m/p, 2));
00023 }
|
1.3.9.1