EIC Software
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
SmearZEUS_0_0.cxx File Reference
+ Include dependency graph for SmearZEUS_0_0.cxx:

Go to the source code of this file.

Functions

double etaToTheta (const double eta)
 
double degreesToRadians (double degrees)
 
Smear::Detector BuildZEUS_0_0 ()
 

Detailed Description

Example smearing script for the ZEUS detector

Author
Thomas Burton
Date
2014-01-10

Definition in file SmearZEUS_0_0.cxx.

Function Documentation

Smear::Detector BuildZEUS_0_0 ( )

Smearing parameterisations for the ZEUS detector.

See JHEP05 (2009) 108.

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

Definition at line 45 of file SmearZEUS_0_0.cxx.

View newest version in sPHENIX GitHub at line 45 of file SmearZEUS_0_0.cxx

References Smear::Smearer::Accept, Smear::Detector::AddDevice(), Smear::Acceptance::AddZone(), degreesToRadians(), etaToTheta(), Smear::kE, Smear::kElectromagnetic, Smear::kHadronic, Smear::kP, Smear::kPhi, Smear::kTheta, momentum, phi, Smear::Detector::SetEventKinematicsCalculator(), and theta().

Referenced by BuildByName().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

double degreesToRadians ( double  degrees)
inline

Convert and angle in degrees to one in radians.

Definition at line 34 of file SmearZEUS_0_0.cxx.

View newest version in sPHENIX GitHub at line 34 of file SmearZEUS_0_0.cxx

Referenced by BuildZEUS_0_0().

+ Here is the caller graph for this function:

double etaToTheta ( const double  eta)
inline

Convert pseudorapidity (eta) to polar angle (theta) in radians. Make use of TLorentzVector to do eta-to-theta conversion.

Definition at line 25 of file SmearZEUS_0_0.cxx.

View newest version in sPHENIX GitHub at line 25 of file SmearZEUS_0_0.cxx

References v.

Referenced by BuildZEUS_0_0().

+ Here is the caller graph for this function: