EIC Software
Reference for
EIC
simulation and reconstruction software on GitHub
|
Classes | |
struct | StreamWrapper |
Typedefs | |
using | Box = Acts::Volume::BoundingBox |
using | Ray = Acts::Ray< double, 3 > |
using | BFieldType = InterpolatedBFieldMap |
using | SharedFieldType = SharedBField< InterpolatedBFieldMap > |
using | EigenStepperType = EigenStepper< SharedFieldType > |
using | AtlasStepperType = AtlasStepper< SharedFieldType > |
using | EigenPropagatorType = Propagator< EigenStepperType > |
using | AtlasPropagatorType = Propagator< AtlasStepperType > |
Functions | |
std::tuple< std::vector< const Volume * >, std::shared_ptr < TrackingGeometry > > | gridBoxFactory (size_t n=NBOXES, double hl=1000, size_t octd=5) |
BOOST_DATA_TEST_CASE (bvhnavigation_test, bdata::random((bdata::seed=7, bdata::engine=std::mt19937(), bdata::distribution=std::uniform_real_distribution<>(-5, 5)))^bdata::random((bdata::seed=2, bdata::engine=std::mt19937(), bdata::distribution=std::uniform_real_distribution<>(-M_PI, M_PI)))^bdata::random((bdata::seed=3, bdata::engine=std::mt19937(), bdata::distribution=std::uniform_real_distribution<>(-100, 100)))^bdata::random((bdata::seed=4, bdata::engine=std::mt19937(), bdata::distribution=std::uniform_real_distribution<>(-100, 100)))^bdata::random((bdata::seed=5, bdata::engine=std::mt19937(), bdata::distribution=std::uniform_real_distribution<>(-100, 100)))^bdata::xrange(NTESTS), eta, phi, x, y, z, index) | |
auto | makeFieldMap (const SolenoidBField &field) |
StreamWrapper | valid (std::ofstream("magfield_lookup.csv")) |
BOOST_DATA_TEST_CASE (solenoid_interpolated_bfield_comparison, bdata::random((bdata::seed=1, bdata::engine=std::mt19937(), bdata::distribution=std::uniform_real_distribution<>(1.5 *(-L/2.), 1.5 *L/2.)))^bdata::random((bdata::seed=2, bdata::engine=std::mt19937(), bdata::distribution=std::uniform_real_distribution<>(0, R *1.5)))^bdata::random((bdata::seed=3, bdata::engine=std::mt19937(), bdata::distribution=std::uniform_real_distribution<>(-M_PI, M_PI)))^bdata::xrange(ntests), z, r, phi, index) | |
InterpolatedBFieldMap::FieldMapper< 3, 3 > | readFieldXYZ (std::function< size_t(std::array< size_t, 3 > binsXYZ, std::array< size_t, 3 > nBinsXYZ)> localToGlobalBin, std::string fieldMapFile="Field.txt", double lengthUnit=1., double BFieldUnit=1., size_t nPoints=100000, bool firstOctant=false) |
std::shared_ptr< const InterpolatedBFieldMap > | atlasBField (std::string fieldMapFile="Field.txt") |
EigenPropagatorType | epropagator (std::move(estepper)) |
AtlasPropagatorType | apropagator (std::move(astepper)) |
Variables | |
GeometryContext | tgContext = GeometryContext() |
MagneticFieldContext | mfContext = MagneticFieldContext() |
auto [volumes, tg] = gridBoxFactory() | |
const double | L = 5.8_m |
const double | R = (2.56 + 2.46) * 0.5 * 0.5_m |
const size_t | nCoils = 1154 |
const double | bMagCenter = 2_T |
const size_t | nBinsR = 150 |
const size_t | nBinsZ = 200 |
Acts::SolenoidBField | bSolenoidField ({R, L, nCoils, bMagCenter}) |
auto | bFieldMap = makeFieldMap(bSolenoidField) |
const int | ntests = 10000 |
double | Bz = 2_T |
auto | bField = atlasBField("Field.txt") |
auto | bFieldSharedA = SharedFieldType(bField) |
auto | bFieldSharedE = SharedFieldType(bField) |
EigenStepperType | estepper (bFieldSharedE) |
AtlasStepperType | astepper (bFieldSharedA) |
Get the ATLAS field from : http://acts.web.cern.ch/ACTS/data/AtlasField/AtlasField.tar.gz to run this
using Acts::IntegrationTest::AtlasPropagatorType = typedef Propagator<AtlasStepperType> |
Definition at line 113 of file PropagationTestsAtlasField.cpp.
View newest version in sPHENIX GitHub at line 113 of file PropagationTestsAtlasField.cpp
using Acts::IntegrationTest::AtlasStepperType = typedef AtlasStepper<SharedFieldType> |
Definition at line 111 of file PropagationTestsAtlasField.cpp.
View newest version in sPHENIX GitHub at line 111 of file PropagationTestsAtlasField.cpp
using Acts::IntegrationTest::BFieldType = typedef InterpolatedBFieldMap |
Definition at line 108 of file PropagationTestsAtlasField.cpp.
View newest version in sPHENIX GitHub at line 108 of file PropagationTestsAtlasField.cpp
using Acts::IntegrationTest::Box = typedef Acts::Volume::BoundingBox |
Definition at line 11 of file BVHNavigationTest.cpp.
View newest version in sPHENIX GitHub at line 11 of file BVHNavigationTest.cpp
using Acts::IntegrationTest::EigenPropagatorType = typedef Propagator<EigenStepperType> |
Definition at line 112 of file PropagationTestsAtlasField.cpp.
View newest version in sPHENIX GitHub at line 112 of file PropagationTestsAtlasField.cpp
using Acts::IntegrationTest::EigenStepperType = typedef EigenStepper<SharedFieldType> |
Definition at line 110 of file PropagationTestsAtlasField.cpp.
View newest version in sPHENIX GitHub at line 110 of file PropagationTestsAtlasField.cpp
using Acts::IntegrationTest::Ray = typedef Acts::Ray<double, 3> |
Definition at line 12 of file BVHNavigationTest.cpp.
View newest version in sPHENIX GitHub at line 12 of file BVHNavigationTest.cpp
using Acts::IntegrationTest::SharedFieldType = typedef SharedBField<InterpolatedBFieldMap> |
Definition at line 109 of file PropagationTestsAtlasField.cpp.
View newest version in sPHENIX GitHub at line 109 of file PropagationTestsAtlasField.cpp
AtlasPropagatorType Acts::IntegrationTest::apropagator | ( | std:: | moveastepper | ) |
std::shared_ptr<const InterpolatedBFieldMap> Acts::IntegrationTest::atlasBField | ( | std::string | fieldMapFile = "Field.txt" | ) |
Definition at line 85 of file PropagationTestsAtlasField.cpp.
View newest version in sPHENIX GitHub at line 85 of file PropagationTestsAtlasField.cpp
References configureMap::config, Acts::UnitConstants::mm, readFieldXYZ(), and Acts::UnitConstants::T.
Acts::IntegrationTest::BOOST_DATA_TEST_CASE | ( | bvhnavigation_test | , |
bdata:: | random(bdata::seed=7, bdata::engine=std::mt19937(),bdata::distribution=std::uniform_real_distribution<>(-5,5)))^bdata::random((bdata::seed=2, bdata::engine=std::mt19937(),bdata::distribution=std::uniform_real_distribution<>(-M_PI, M_PI)))^bdata::random((bdata::seed=3, bdata::engine=std::mt19937(),bdata::distribution=std::uniform_real_distribution<>(-100, 100)))^bdata::random((bdata::seed=4, bdata::engine=std::mt19937(),bdata::distribution=std::uniform_real_distribution<>(-100, 100)))^bdata::random((bdata::seed=5, bdata::engine=std::mt19937(),bdata::distribution=std::uniform_real_distribution<>(-100, 100)))^bdata::xrange(NTESTS, | ||
eta | , | ||
phi | , | ||
x | , | ||
y | , | ||
z | , | ||
index | |||
) |
Definition at line 79 of file BVHNavigationTest.cpp.
View newest version in sPHENIX GitHub at line 79 of file BVHNavigationTest.cpp
Acts::IntegrationTest::BOOST_DATA_TEST_CASE | ( | solenoid_interpolated_bfield_comparison | , |
bdata:: | random(bdata::seed=1, bdata::engine=std::mt19937(),bdata::distribution=std::uniform_real_distribution<>(1.5 *(-L/2.), 1.5 *L/2.)))^bdata::random((bdata::seed=2, bdata::engine=std::mt19937(),bdata::distribution=std::uniform_real_distribution<>(0, R *1.5)))^bdata::random((bdata::seed=3, bdata::engine=std::mt19937(),bdata::distribution=std::uniform_real_distribution<>(-M_PI, M_PI)))^bdata::xrange(ntests, | ||
z | , | ||
r | , | ||
phi | , | ||
index | |||
) |
Definition at line 101 of file InterpolatedSolenoidBFieldTest.cpp.
View newest version in sPHENIX GitHub at line 101 of file InterpolatedSolenoidBFieldTest.cpp
References kdfinder::abs(), bFieldMap, bSolenoidField, CHECK_CLOSE_REL, cos(), Acts::SolenoidBField::getField(), L, Acts::IntegrationTest::StreamWrapper::m_ofstr, phi, pos(), R, Acts::UnitConstants::T, valid(), nlohmann::detail::void(), and z.
EigenPropagatorType Acts::IntegrationTest::epropagator | ( | std:: | moveestepper | ) |
std::tuple<std::vector<const Volume*>, std::shared_ptr<TrackingGeometry> > Acts::IntegrationTest::gridBoxFactory | ( | size_t | n = NBOXES , |
double | hl = 1000 , |
||
size_t | octd = 5 |
||
) |
Definition at line 18 of file BVHNavigationTest.cpp.
View newest version in sPHENIX GitHub at line 18 of file BVHNavigationTest.cpp
auto Acts::IntegrationTest::makeFieldMap | ( | const SolenoidBField & | field | ) |
Definition at line 43 of file InterpolatedSolenoidBFieldTest.cpp.
View newest version in sPHENIX GitHub at line 43 of file InterpolatedSolenoidBFieldTest.cpp
References L, nBinsR, nBinsZ, R, and Acts::solenoidFieldMapper().
InterpolatedBFieldMap::FieldMapper<3, 3> Acts::IntegrationTest::readFieldXYZ | ( | std::function< size_t(std::array< size_t, 3 > binsXYZ, std::array< size_t, 3 > nBinsXYZ)> | localToGlobalBin, |
std::string | fieldMapFile = "Field.txt" , |
||
double | lengthUnit = 1. , |
||
double | BFieldUnit = 1. , |
||
size_t | nPoints = 100000 , |
||
bool | firstOctant = false |
||
) |
[1] Read in field map file
Definition at line 43 of file PropagationTestsAtlasField.cpp.
View newest version in sPHENIX GitHub at line 43 of file PropagationTestsAtlasField.cpp
References bField, Acts::fieldMapperXYZ(), getline, in, x, y, and z.
Referenced by atlasBField().
StreamWrapper Acts::IntegrationTest::valid | ( | std:: | ofstream"magfield_lookup.csv" | ) |
Referenced by BOOST_DATA_TEST_CASE(), QAG4Util::interpolate(), tofBarrel::maxP(), tofBarrel::numSigma(), eASTRunAction::SetAllPlotting(), eASTDetectorConstructionMessenger::SetNewValue(), and eASTRunActionMessenger::SetNewValue().
AtlasStepperType Acts::IntegrationTest::astepper(bFieldSharedA) |
Acts::IntegrationTest::auto[volumes, tg] = gridBoxFactory() |
Definition at line 77 of file BVHNavigationTest.cpp.
View newest version in sPHENIX GitHub at line 77 of file BVHNavigationTest.cpp
auto Acts::IntegrationTest::bField = atlasBField("Field.txt") |
Definition at line 115 of file PropagationTestsAtlasField.cpp.
View newest version in sPHENIX GitHub at line 115 of file PropagationTestsAtlasField.cpp
Referenced by Acts::Test::BOOST_AUTO_TEST_CASE(), Acts::Test::BOOST_DATA_TEST_CASE(), ClassImp(), ActsExamples::IterativeVertexFinderAlgorithm::execute(), ActsExamples::AdaptiveMultiVertexFinderAlgorithm::execute(), ActsExamples::VertexFitterAlgorithm::execute(), ActsExamples::BField::txt::fieldMapperRZ(), ActsExamples::BField::root::fieldMapperRZ(), ActsExamples::BField::txt::fieldMapperXYZ(), ActsExamples::BField::root::fieldMapperXYZ(), PHActsVertexFinder::findVertices(), PHActsInitialVertexFinder::findVertices(), PHActsVertexFitter::fitVertex(), main(), materialValidationExample(), propagationExample(), readFieldXYZ(), ActsExamples::RootBFieldWriter< bfield_t >::run(), Acts::EventDataView3DTest::testMultiTrajectory(), and ActsExamples::BField::writeField().
auto Acts::IntegrationTest::bFieldMap = makeFieldMap(bSolenoidField) |
Definition at line 88 of file InterpolatedSolenoidBFieldTest.cpp.
View newest version in sPHENIX GitHub at line 88 of file InterpolatedSolenoidBFieldTest.cpp
Referenced by BOOST_DATA_TEST_CASE(), and main().
auto Acts::IntegrationTest::bFieldSharedA = SharedFieldType(bField) |
Definition at line 116 of file PropagationTestsAtlasField.cpp.
View newest version in sPHENIX GitHub at line 116 of file PropagationTestsAtlasField.cpp
auto Acts::IntegrationTest::bFieldSharedE = SharedFieldType(bField) |
Definition at line 117 of file PropagationTestsAtlasField.cpp.
View newest version in sPHENIX GitHub at line 117 of file PropagationTestsAtlasField.cpp
const double Acts::IntegrationTest::bMagCenter = 2_T |
Definition at line 39 of file InterpolatedSolenoidBFieldTest.cpp.
View newest version in sPHENIX GitHub at line 39 of file InterpolatedSolenoidBFieldTest.cpp
Referenced by main().
Acts::SolenoidBField Acts::IntegrationTest::bSolenoidField({R, L, nCoils, bMagCenter}) |
Referenced by BOOST_DATA_TEST_CASE(), and main().
double Acts::IntegrationTest::Bz = 2_T |
Definition at line 106 of file PropagationTestsAtlasField.cpp.
View newest version in sPHENIX GitHub at line 106 of file PropagationTestsAtlasField.cpp
Referenced by Acts::Test::BOOST_DATA_TEST_CASE(), LSLEQM::eval(), ActsExamples::BField::root::fieldMapperRZ(), ActsExamples::BField::root::fieldMapperXYZ(), genfit::Field::get(), genfit::AbsBField::get(), PHTpcTrackFollower::get_projected_coordinate(), GPUTPCBaseTrackParam::GetKappa(), PHTpcTracker::getMagField(), genfit::HelixTrackModel::HelixTrackModel(), Acts::HelicalTrackLinearizer< propagator_t, propagator_options_t >::linearizeTrack(), PHField2D::PHField2D(), PHField3DCylindrical::PHField3DCylindrical(), printBField(), PHGenFitTrackProjection::process_event(), ActsExamples::RootBFieldWriter< bfield_t >::run(), Acts::ConstantBField::setField(), ActsExamples::BField::ScalableBField::setField(), and GPUTPCTrackParam::TransportToX().
EigenStepperType Acts::IntegrationTest::estepper(bFieldSharedE) |
Referenced by Acts::Test::BOOST_DATA_TEST_CASE().
const double Acts::IntegrationTest::L = 5.8_m |
Definition at line 36 of file InterpolatedSolenoidBFieldTest.cpp.
View newest version in sPHENIX GitHub at line 36 of file InterpolatedSolenoidBFieldTest.cpp
Referenced by BOOST_DATA_TEST_CASE(), EicToyModel::CalculateDefaultEtaBoundaries(), tetgenmesh::checktet4split(), BEmcRecCEMC::CorrectShowerDepth(), Acts::Sycl::createSeedsForGroupSycl(), oncsSub_iduppetdata::decode(), oncsSub_iduppetdata_v104::decode(), Acts::Polyhedron::extent(), LSLTrackRep::getGlobalCov(), tetgenmesh::getsteinerptonsegment(), main(), makeFieldMap(), tofBarrel::maxP(), tofBarrel::numSigma(), tetgenmesh::outvoronoi(), EicToyModel::RebuildCrack(), and Similarity().
MagneticFieldContext Acts::IntegrationTest::mfContext = MagneticFieldContext() |
Definition at line 15 of file BVHNavigationTest.cpp.
View newest version in sPHENIX GitHub at line 15 of file BVHNavigationTest.cpp
const size_t Acts::IntegrationTest::nBinsR = 150 |
Definition at line 40 of file InterpolatedSolenoidBFieldTest.cpp.
View newest version in sPHENIX GitHub at line 40 of file InterpolatedSolenoidBFieldTest.cpp
Referenced by Acts::Test::BOOST_FIXTURE_TEST_CASE(), Acts::fieldMapperRZ(), main(), makeFieldMap(), Acts::materialMapperRZ(), ActsExamples::RootBFieldWriter< bfield_t >::run(), and Acts::solenoidFieldMapper().
const size_t Acts::IntegrationTest::nBinsZ = 200 |
Definition at line 41 of file InterpolatedSolenoidBFieldTest.cpp.
View newest version in sPHENIX GitHub at line 41 of file InterpolatedSolenoidBFieldTest.cpp
Referenced by Acts::fieldMapperRZ(), Acts::fieldMapperXYZ(), main(), makeFieldMap(), Acts::materialMapperRZ(), Acts::materialMapperXYZ(), ActsExamples::RootBFieldWriter< bfield_t >::run(), and Acts::solenoidFieldMapper().
const size_t Acts::IntegrationTest::nCoils = 1154 |
Definition at line 38 of file InterpolatedSolenoidBFieldTest.cpp.
View newest version in sPHENIX GitHub at line 38 of file InterpolatedSolenoidBFieldTest.cpp
Referenced by main().
const int Acts::IntegrationTest::ntests = 10000 |
Definition at line 100 of file InterpolatedSolenoidBFieldTest.cpp.
View newest version in sPHENIX GitHub at line 100 of file InterpolatedSolenoidBFieldTest.cpp
const double Acts::IntegrationTest::R = (2.56 + 2.46) * 0.5 * 0.5_m |
Definition at line 37 of file InterpolatedSolenoidBFieldTest.cpp.
View newest version in sPHENIX GitHub at line 37 of file InterpolatedSolenoidBFieldTest.cpp
Referenced by dfe::Dispatcher::add(), FluxMonitorGrid::AddEntry(), ALICEKF::ALICEKalmanFilter(), Acts::CylinderSurface::binningPosition(), BOOST_DATA_TEST_CASE(), Acts::Test::BOOST_FIXTURE_TEST_CASE(), CbmRichRingFitterQa::CalculateFitErrors(), GFKalman::chi2Increment(), kdfinder::CircleFit< T >::CircleFitByChernovHoussam(), ALICEKF::CircleFitByTaubin(), PHTruthTrackSeeding::circleFitSeed(), PHActsSiliconSeeding::circleFitSeed(), Acts::Sycl::createSeedsForGroupSycl(), PHActsSiliconSeeding::createSvtxTrack(), Acts::GeometryView3D::drawSurfaceArray(), fbst(), nucleus::formFactor(), Gammaavectormeson::Gammaavectormeson(), CylinderGeom_Mvtx::get_local_from_world_coords(), PHGenFitTrkFitter::get_rotation_matrix(), PHGenFitTrkFitter::get_vertex_error_uvn(), CylinderGeom_Mvtx::get_world_from_local_coords(), ALICEKF::GetCircleClusterResiduals(), PHG4OuterHcalField::GetFieldValue(), GFTools::getSmoothedChiSqu(), Gammaavectormeson::getSpinMatrixElement(), kdfinder::CircleFit< T >::GradientHessian(), EicTpcDigiHitProducer::HandleHit(), PHActsSiliconSeeding::identifyBestSeed(), EicKfNodeTemplate::IncrementLinearTrackFitMatrices(), Acts::CylinderSurface::intersectionSolver(), linear_expansion_sum(), linear_expansion_sum_zeroelim(), Acts::HelicalTrackLinearizer< propagator_t, propagator_options_t >::linearizeTrack(), Acts::ConeSurface::localCartesianToBoundLocalDerivative(), Acts::CylinderSurface::localCartesianToBoundLocalDerivative(), main(), makeFieldMap(), FwdHoughTree::MappingCall(), PHSimpleKFProp::MoveToFirstTPCCluster(), PHGenFitTrkFitter::pos_cov_uvn_to_rz(), PHGenFitTrkFitter::pos_cov_XYZ_to_RZ(), PHTpcTrackSeedCircleFit::process_event(), PHTpcClusterMover::process_event(), genfit::KalmanFitter::processTrackPoint(), genfit::KalmanFitterRefTrack::processTrackPointSqrt(), Acts::Legacy::AtlasSeedfinder< SpacePoint >::production3Sp(), PHCASeeding::RemoveBadClusters(), PHSimpleKFProp::RemoveBadClusters(), genfit::RKTrackRep::RKPropagate(), genfit::RKTrackRep::RKutta(), RKTrackRep::RKutta(), Rossegger::Rmn(), Rossegger::Rmn1(), Rossegger::Rmn1_(), Rossegger::Rmn2(), Rossegger::Rmn2_(), Rossegger::Rmn_(), Rossegger::RPrime(), Rossegger::RPrime_(), PHPy8JetTrigger::SetJetR(), PHPy6JetTrigger::SetJetR(), Similarity(), Acts::AtlasStepper< bfield_t >::step(), Acts::SurfaceArrayCreator::surfaceArrayOnCylinder(), PHG4GDMLWriteStructure::TraverseVolumeTree(), and PHG4GDMLWrite::Write().
GeometryContext Acts::IntegrationTest::tgContext = GeometryContext() |
Definition at line 14 of file BVHNavigationTest.cpp.
View newest version in sPHENIX GitHub at line 14 of file BVHNavigationTest.cpp