16 #include "Math/Vector4D.h"
29 gSystem->Load(
"libeicsmear");
257 std::string pformula =
"0.005*P";
258 std::string ptformula =
"0.03*pT";
297 auto RP_minpz = 0.6 * beam_mom_nn;
306 switch ( beam_mom_nn ){
329 throw std::runtime_error (
"Unsupported beam momentum for far forward detectors");
334 0., TMath::Infinity(),
335 0., TMath::Infinity(),
336 0., TMath::Infinity(),
337 RP_minpz, TMath::Infinity()
356 auto OM_minpz = 0.25 * beam_mom_nn;
357 auto OM_maxpz = RP_minpz;
362 0., TMath::Infinity(),
363 0., TMath::Infinity(),
364 0., TMath::Infinity(),
387 0., TMath::Infinity(),
388 0., TMath::Infinity(),
389 0., TMath::Infinity(),
419 if ( !std::isnan(eta) && !std::isinf(eta) ) {
420 return 2.0 * atan( exp( -eta ));
422 throw std::runtime_error(
"ThetaFromEta called with NaN or Inf");