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

Go to the source code of this file.

Functions

static double etaToTheta (double eta)
 
static Smear::Acceptance::Zone zoneEta (double etamin, double etamax)
 
Smear::Detector BuildeSTAR_0_0 ()
 

Detailed Description

Example smearing script for the eSTAR detector

Author
Thomas Burton
Date
2014-03-21

Definition in file SmeareSTAR_0_0.cxx.

Function Documentation

Smear::Detector BuildeSTAR_0_0 ( )

Smearing parameterisations for the eSTAR detector.

Based on parameterisations given in Zhangbu Xu's talk here (slide 5): https://wiki.bnl.gov/conferences/index.php/January_2014 This includes momentum and energy resolutions, but no particle identification.

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

Definition at line 50 of file SmeareSTAR_0_0.cxx.

View newest version in sPHENIX GitHub at line 50 of file SmeareSTAR_0_0.cxx

References Smear::Smearer::Accept, Smear::Detector::AddDevice(), Smear::Acceptance::AddZone(), Smear::kCharged, Smear::kElectromagnetic, Smear::kHadronic, phi, pid, Smear::Acceptance::SetCharge(), Smear::Detector::SetEventKinematicsCalculator(), theta(), and zoneEta().

Referenced by BuildByName().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

static double etaToTheta ( double  eta)
static

Helper function to convert eta to theta (radians)

Detector acceptances require theta, not eta

Definition at line 27 of file SmeareSTAR_0_0.cxx.

View newest version in sPHENIX GitHub at line 27 of file SmeareSTAR_0_0.cxx

Referenced by BuildPerfectDetector(), BuildWithTof(), makeZone(), and zoneEta().

+ Here is the caller graph for this function:

static Smear::Acceptance::Zone zoneEta ( double  etamin,
double  etamax 
)
static

Helper function producing a zone in eta

Definition at line 34 of file SmeareSTAR_0_0.cxx.

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

References etaToTheta().

Referenced by BuildeSTAR_0_0().

+ Here is the call graph for this function:

+ Here is the caller graph for this function: