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
STARDetector.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...
 
Smear::Acceptance::Zone makeZone (double etaMin, double etaMax)
 Returns an Acceptance::Zone spanning a range in eta. More...
 
Smear::Detector BuildDetector ()
 Smearing parameterisations for the STAR detector. More...
 

Detailed Description

Example smearing script for the STAR detector

Author
Thomas Burton
Date
2014-01-10

Definition in file STARDetector.cpp.

Function Documentation

◆ BuildDetector()

Smear::Detector BuildDetector ( )

Smearing parameterisations for the STAR detector.

These parameterisations are non-exhaustive: they do not cover elements such as particle identification, and they are only for the central elements of the detector - essentially, just TPC and B/EEMC.

Note: you must gSystem->Load("libeicsmear") BEFORE loading this script, as ROOT needs to understand what a Smear::Detector is.

Definition at line 41 of file STARDetector.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 STARDetector.cpp.

◆ makeZone()

Smear::Acceptance::Zone makeZone ( double  etaMin,
double  etaMax 
)

Returns an Acceptance::Zone spanning a range in eta.

Definition at line 23 of file STARDetector.cpp.