Celeritas  0.5.0-86+4a8eea4
Public Member Functions | List of all members
celeritas::test::CMSParameterizedField Class Reference

Evaluate the value of magnetic field using a parameterized function in the tracker volume of the CMS detector. More...

#include <CMSParameterizedField.hh>

Public Types

Type aliases
using Real3 = Array< real_type, 3 >
 
using Real4 = Array< real_type, 4 >
 

Public Member Functions

CELER_FUNCTION Real3 operator() (Real3 const &pos) const
 Evaluate the magnetic field at the given position inside the CMS tracker. More...
 

Detailed Description

Evaluate the value of magnetic field using a parameterized function in the tracker volume of the CMS detector.

The implementation is based on the TkBfield class of CMSSW (the TOSCA computation version 1103l), https://cmssdt.cern.ch/lxr/source/MagneticField/ParametrizedEngine/src/ and used for testing the charged particle propagation in a magnetic field.

Member Function Documentation

◆ operator()()

CELER_FUNCTION auto celeritas::test::CMSParameterizedField::operator() ( Real3 const &  pos) const
inline

Evaluate the magnetic field at the given position inside the CMS tracker.

The parameterization is valid only for r < 1.15m and |z| < 2.80m when used with the CMS detector geometry.


The documentation for this class was generated from the following file: