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

Go to the source code of this file.

Functions

static double ThetaFromEta (const double eta)
 
static void AssembleCoreTracker (Smear::Detector &det, const std::valarray< double > &eta_min, const std::valarray< double > &eta_max, const std::valarray< double > &A, const std::valarray< double > &B)
 
static std::valarray< double > CalcA (const double Bfield, const double x1, const std::valarray< double > A1, const double x2, const std::valarray< double > A2)
 
static std::valarray< double > CalcB (const double Bfield, const double x1, const std::valarray< double > B1, const double x2, const std::valarray< double > B2)
 
Smear::Detector BuildCore_0_1 (const double Bfield)
 

Function Documentation

void AssembleCoreTracker ( Smear::Detector det,
const std::valarray< double > &  eta_min,
const std::valarray< double > &  eta_max,
const std::valarray< double > &  A,
const std::valarray< double > &  B 
)
static

Definition at line 281 of file SmearCore_0_1.cxx.

View newest version in sPHENIX GitHub at line 281 of file SmearCore_0_1.cxx

References Smear::Smearer::Accept, Smear::Detector::AddDevice(), Smear::Acceptance::AddZone(), Smear::kCharged, Smear::kP, Smear::Acceptance::SetCharge(), and ThetaFromEta().

Referenced by BuildCore_0_1().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

Smear::Detector BuildCore_0_1 ( const double  Bfield)

Definition at line 63 of file SmearCore_0_1.cxx.

View newest version in sPHENIX GitHub at line 63 of file SmearCore_0_1.cxx

References Smear::Smearer::Accept, Smear::Detector::AddDevice(), Smear::Acceptance::AddZone(), AssembleCoreTracker(), CalcA(), CalcB(), Smear::kAll, Smear::kCharged, Smear::kE, Smear::kElectromagnetic, Smear::kHadronic, Smear::kPhi, Smear::kTheta, Smear::Acceptance::SetCharge(), Smear::Detector::SetEventKinematicsCalculator(), Smear::Acceptance::SetGenre(), and ThetaFromEta().

Referenced by BuildByName().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

std::valarray< double > CalcA ( const double  Bfield,
const double  x1,
const std::valarray< double >  A1,
const double  x2,
const std::valarray< double >  A2 
)
static

Momentum resolution: sigma_p/p ~ A% * p + B% Here: Inter-/Extrapolate A from two different B fields Linear interpolation works well.

Definition at line 250 of file SmearCore_0_1.cxx.

View newest version in sPHENIX GitHub at line 250 of file SmearCore_0_1.cxx

Referenced by BuildCore_0_1().

+ Here is the caller graph for this function:

std::valarray< double > CalcB ( const double  Bfield,
const double  x1,
const std::valarray< double >  B1,
const double  x2,
const std::valarray< double >  B2 
)
static

Momentum resolution: sigma_p/p ~ A% * p + B% Here: Inter-/Extrapolate B from two different B fields Linear interpolation works well.

Definition at line 265 of file SmearCore_0_1.cxx.

View newest version in sPHENIX GitHub at line 265 of file SmearCore_0_1.cxx

Referenced by BuildCore_0_1().

+ Here is the caller graph for this function:

double ThetaFromEta ( const double  eta)
static

Definition at line 241 of file SmearCore_0_1.cxx.

View newest version in sPHENIX GitHub at line 241 of file SmearCore_0_1.cxx

Referenced by AssembleCoreTracker(), and BuildCore_0_1().

+ Here is the caller graph for this function: