26 #include "Math/Vector4D.h"
36 gSystem->Load(
"libeicsmear");
51 SmearThetaNeutralHadrons.
Accept.
AddZone(AngleZoneNeutralHadrons);
57 SmearPhiNeutralHadrons.
Accept.
AddZone(AngleZoneNeutralHadrons);
65 SmearThetaChargedBarrel.
Accept.
AddZone(AngleZoneChargedBarrel);
90 SmearThetaChargedFarForward.
Accept.
AddZone(AngleZoneChargedFarForward);
92 det.
AddDevice(SmearThetaChargedFarForward);
95 SmearPhiChargedFarForward.
Accept.
AddZone(AngleZoneChargedFarForward);
176 if ( !std::isnan(eta) && !std::isinf(eta) ) {
177 return 2.0 * atan( exp( -eta ));
179 throw std::runtime_error(
"ThetaFromEta called with NaN or Inf");