EIC Software
Reference for
EIC
simulation and reconstruction software on GitHub
|
#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"
Go to the source code of this file.
Classes | |
class | EPhenixMomentum |
Functions | |
Smear::Detector | BuildePHENIX_0_0 (bool multipleScattering) |
Example smearing script for the ePHENIX detector
Definition in file SmearePHENIX_0_0.cxx.
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().