EIC Software
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
SmearePHENIX_0_0.cxx File Reference
#include <algorithm>
#include <cmath>
#include <list>
#include <TCollection.h>
#include <TGraph.h>
#include <TList.h>
#include <TLorentzVector.h>
#include <TMultiGraph.h>
#include <TPad.h>
#include <TRandom.h>
#include "eicsmear/erhic/VirtualParticle.h"
#include "eicsmear/smear/Acceptance.h"
#include "eicsmear/smear/Device.h"
#include "eicsmear/smear/Detector.h"
#include "eicsmear/smear/Smearer.h"
#include "eicsmear/smear/ParticleMCS.h"
#include "eicsmear/smear/PerfectID.h"
+ Include dependency graph for SmearePHENIX_0_0.cxx:

Go to the source code of this file.

Classes

class  EPhenixMomentum
 

Functions

Smear::Detector BuildePHENIX_0_0 (bool multipleScattering)
 

Detailed Description

Example smearing script for the ePHENIX detector

Author
Thomas Burton
Date
2014-03-21

Definition in file SmearePHENIX_0_0.cxx.

Function Documentation

Smear::Detector BuildePHENIX_0_0 ( bool  multipleScattering)

Smearing parameterisations for the ePHENIX 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.

If multipleScattering == true, apply multiple scattering term to momentum resolution (currently only implemented for 2 < eta < 4). Otherwise just use the linear resolution term.

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

Definition at line 272 of file SmearePHENIX_0_0.cxx.

View newest version in sPHENIX GitHub at line 272 of file SmearePHENIX_0_0.cxx

References Smear::Smearer::Accept, Smear::Detector::AddDevice(), Smear::Acceptance::AddZone(), EPhenixMomentum::etaToTheta(), Smear::kElectromagnetic, Smear::kHadronic, momentum, phi, pid, Smear::Detector::SetEventKinematicsCalculator(), and theta().

Referenced by BuildByName().

+ Here is the call graph for this function:

+ Here is the caller graph for this function: