eic-smear  1.0.3
A collection of ROOT classes for Monte Carlo events and a fast-smearing code simulating detector effects for the Electron-Ion Collider task force
ZEUSDetector.cpp File Reference

Go to the source code of this file.

Functions

double etaToTheta (const double eta)
 Convert pseudorapidity (eta) to polar angle (theta) in radians. More...
 
double degreesToRadians (double degrees)
 Convert and angle in degrees to one in radians. More...
 
Smear::Detector BuildDetector ()
 Smearing parameterisations for the ZEUS detector. More...
 

Detailed Description

Example smearing script for the ZEUS detector

Author
Thomas Burton
Date
2014-01-10

Definition in file ZEUSDetector.cpp.

Function Documentation

◆ BuildDetector()

Smear::Detector BuildDetector ( )

Smearing parameterisations for the ZEUS detector.

See JHEP05 (2009) 108.

Note: you must gSystem->Load("libeicsmear") BEFORE loading this script.

Definition at line 34 of file ZEUSDetector.cpp.

◆ degreesToRadians()

double degreesToRadians ( double  degrees)

Convert and angle in degrees to one in radians.

Definition at line 23 of file ZEUSDetector.cpp.

◆ etaToTheta()

double etaToTheta ( const double  eta)

Convert pseudorapidity (eta) to polar angle (theta) in radians.

Make use of TLorentzVector to do eta-to-theta conversion.

Definition at line 14 of file ZEUSDetector.cpp.