Analysis Software
Documentation for sPHENIX simulation software
|
#include <boost/test/unit_test.hpp>
#include "Acts/Definitions/Algebra.hpp"
#include "Acts/Detector/Detector.hpp"
#include "Acts/Detector/DetectorVolume.hpp"
#include "Acts/Detector/PortalGenerators.hpp"
#include "Acts/Geometry/CylinderVolumeBounds.hpp"
#include "Acts/Geometry/GeometryContext.hpp"
#include "Acts/Navigation/DetectorVolumeFinders.hpp"
#include "Acts/Navigation/NavigationState.hpp"
#include "Acts/Navigation/SurfaceCandidatesUpdators.hpp"
#include "Acts/Utilities/BinningType.hpp"
#include "Acts/Utilities/detail/Axis.hpp"
#include "Acts/Utilities/detail/AxisFwd.hpp"
#include "Acts/Utilities/detail/Grid.hpp"
#include <array>
#include <cstddef>
#include <memory>
#include <stdexcept>
#include <tuple>
#include <utility>
#include <vector>
Go to the source code of this file.
Functions | |
BOOST_AUTO_TEST_CASE (RootVolumeFinder) | |
BOOST_AUTO_TEST_CASE (IndexedDetectorVolumeFinder) | |
Variables | |
Acts::GeometryContext | tContext |
Acts::Experimental::NavigationState | nState |
Acts::ActsScalar | r0 = 0. |
Acts::ActsScalar | r1 = 10. |
Acts::ActsScalar | r2 = 100. |
Acts::ActsScalar | r3 = 200. |
Acts::ActsScalar | zHalfL = 200. |
Acts::Transform3 | nominal = Acts::Transform3::Identity() |
auto | cyl0Bounds = std::make_unique<Acts::CylinderVolumeBounds>(r0, r1, zHalfL) |
auto | cyl1Bounds = std::make_unique<Acts::CylinderVolumeBounds>(r1, r2, zHalfL) |
auto | cyl2Bounds = std::make_unique<Acts::CylinderVolumeBounds>(r2, r3, zHalfL) |
auto | portalGenerator = Acts::Experimental::defaultPortalGenerator() |
auto | cyl0 |
auto | cyl1 |
auto | cyl2 |
std::vector< std::shared_ptr < Acts::Experimental::DetectorVolume > > | volumes012 |
auto | det012 |
BOOST_AUTO_TEST_CASE | ( | RootVolumeFinder | ) |
Definition at line 75 of file DetectorVolumeFindersTests.cpp.
View newest version in sPHENIX GitHub at line 75 of file DetectorVolumeFindersTests.cpp
References Acts::Experimental::NavigationState::currentDetector, Acts::Experimental::NavigationState::currentVolume, cyl0, cyl1, cyl2, det012, Acts::Experimental::NavigationState::position, and Acts::Experimental::RootVolumeFinder::update().
BOOST_AUTO_TEST_CASE | ( | IndexedDetectorVolumeFinder | ) |
Definition at line 96 of file DetectorVolumeFindersTests.cpp.
View newest version in sPHENIX GitHub at line 96 of file DetectorVolumeFindersTests.cpp
References KFPMath::a, KFPMath::b, Acts::binR, Acts::Experimental::NavigationState::currentDetector, Acts::Experimental::NavigationState::currentVolume, cyl0, cyl1, cyl2, det012, Acts::UnitConstants::g, std::tr1::make_tuple(), testing::internal::move(), Acts::Experimental::NavigationState::position, r0, r1, r2, r3, and physmon_ckf_tracking::u.
auto cyl0 |
Definition at line 55 of file DetectorVolumeFindersTests.cpp.
View newest version in sPHENIX GitHub at line 55 of file DetectorVolumeFindersTests.cpp
Referenced by BOOST_AUTO_TEST_CASE().
auto cyl0Bounds = std::make_unique<Acts::CylinderVolumeBounds>(r0, r1, zHalfL) |
Definition at line 47 of file DetectorVolumeFindersTests.cpp.
View newest version in sPHENIX GitHub at line 47 of file DetectorVolumeFindersTests.cpp
Referenced by BOOST_AUTO_TEST_CASE().
auto cyl1 |
Definition at line 59 of file DetectorVolumeFindersTests.cpp.
View newest version in sPHENIX GitHub at line 59 of file DetectorVolumeFindersTests.cpp
Referenced by BOOST_AUTO_TEST_CASE().
auto cyl1Bounds = std::make_unique<Acts::CylinderVolumeBounds>(r1, r2, zHalfL) |
Definition at line 49 of file DetectorVolumeFindersTests.cpp.
View newest version in sPHENIX GitHub at line 49 of file DetectorVolumeFindersTests.cpp
Referenced by BOOST_AUTO_TEST_CASE().
auto cyl2 |
Definition at line 63 of file DetectorVolumeFindersTests.cpp.
View newest version in sPHENIX GitHub at line 63 of file DetectorVolumeFindersTests.cpp
Referenced by BOOST_AUTO_TEST_CASE().
auto cyl2Bounds = std::make_unique<Acts::CylinderVolumeBounds>(r2, r3, zHalfL) |
Definition at line 51 of file DetectorVolumeFindersTests.cpp.
View newest version in sPHENIX GitHub at line 51 of file DetectorVolumeFindersTests.cpp
Referenced by BOOST_AUTO_TEST_CASE().
auto det012 |
Definition at line 69 of file DetectorVolumeFindersTests.cpp.
View newest version in sPHENIX GitHub at line 69 of file DetectorVolumeFindersTests.cpp
Referenced by BOOST_AUTO_TEST_CASE().
Acts::Transform3 nominal = Acts::Transform3::Identity() |
Definition at line 44 of file DetectorVolumeFindersTests.cpp.
View newest version in sPHENIX GitHub at line 44 of file DetectorVolumeFindersTests.cpp
Referenced by BOOST_AUTO_TEST_CASE(), PYBIND11_MODULE(), and Acts::RiddersPropagator< propagator_t >::wiggleParameter().
Definition at line 36 of file DetectorVolumeFindersTests.cpp.
View newest version in sPHENIX GitHub at line 36 of file DetectorVolumeFindersTests.cpp
Referenced by BOOST_AUTO_TEST_CASE(), Acts::Experimental::IndexedDetectorVolumeExtractor::extract(), Acts::Experimental::Detector::findDetectorVolume(), Acts::Experimental::DetectorNavigator::initializeTarget(), Acts::Experimental::RootVolumeFinder::update(), Acts::Experimental::TrialAndErrorVolumeFinder::update(), and Acts::Experimental::DetectorNavigator::volInfo().
auto portalGenerator = Acts::Experimental::defaultPortalGenerator() |
Definition at line 53 of file DetectorVolumeFindersTests.cpp.
View newest version in sPHENIX GitHub at line 53 of file DetectorVolumeFindersTests.cpp
Acts::ActsScalar r0 = 0. |
Definition at line 38 of file DetectorVolumeFindersTests.cpp.
View newest version in sPHENIX GitHub at line 38 of file DetectorVolumeFindersTests.cpp
Referenced by TrackEvaluation::add_truth_information(), BOOST_AUTO_TEST_CASE(), calc_dca_circle_line(), SecondaryVertexFinder::circle_circle_intersection(), AnnularFieldSim::GetRindex(), AnnularFieldSim::GetRindexAndCheckBounds(), QAG4Util::interpolate(), AnnularFieldSim::interpolatedFieldIntegral(), AnaMvtxTelescopeHits::process_event(), Acts::Legacy::AtlasSeedFinder< SpacePoint >::production3Sp(), quench(), and AnnularFieldSim::sum_nonlocal_field_at().
Acts::ActsScalar r1 = 10. |
Definition at line 39 of file DetectorVolumeFindersTests.cpp.
View newest version in sPHENIX GitHub at line 39 of file DetectorVolumeFindersTests.cpp
Referenced by TrackEvaluation::add_truth_information(), BOOST_AUTO_TEST_CASE(), SecondaryVertexFinder::circle_circle_intersection(), compareStreams(), PHG4HcalDetector::ConstructMe(), Conversion::dist(), fgp3(), TrackResiduals::fillStatesWithLineFit(), ICGlauber::findRPhi(), fit_PCAD0Phi0(), generatez(), PHCosmicsTrkFitter::getCharge(), TrackSeedTrackMapConverter::getCosmicCharge(), AnnularFieldSim::GetGroupCellCenter(), gett(), hijsft(), QAG4Util::interpolate(), itafun(), mg_handle_put(), mg_http_send_file2(), EMMaximization::Move(), BEmcRec::PredictEnergyParam(), pymael(), pymirm(), pytecm(), radgam_pol(), Acts::SeedFinderFTF< external_spacepoint_t >::runGNN_TrackFinder(), TPCMap::setMapNames(), TpcMap::setMapNames(), PHHybridSeeding::setSearchRadius(), TEST(), and Acts::TrigFTF_GNN_Layer< external_spacepoint_t >::verifyBin().
Acts::ActsScalar r2 = 100. |
Definition at line 40 of file DetectorVolumeFindersTests.cpp.
View newest version in sPHENIX GitHub at line 40 of file DetectorVolumeFindersTests.cpp
Referenced by BOOST_AUTO_TEST_CASE(), compareStreams(), trento::Event::compute_observables(), PHG4HcalDetector::ConstructMe(), Conversion::dist(), Matter::DoEnergyLoss(), Acts::estimateTrackParamsFromSeed(), fgp3(), TrackResiduals::fillStatesWithLineFit(), ICGlauber::findRPhi(), fit_PCAD0Phi0(), PHCosmicsTrkFitter::getCharge(), TrackSeedTrackMapConverter::getCosmicCharge(), getmass(), gett(), hijcsc(), hijing(), hijsft(), KFParticlePVReconstructor::Init(), luclus(), mg_handle_put(), mg_http_send_file2(), EMMaximization::Move(), BEmcRec::PredictEnergyParam(), TpcDirectLaserReconstruction::process_track(), Acts::Legacy::AtlasSeedFinder< SpacePoint >::production3Sp(), pyclus(), pymael(), pymirm(), pytecm(), radgam_pol(), Acts::SeedFinderFTF< external_spacepoint_t >::runGNN_TrackFinder(), TpcMap::setMapNames(), TPCMap::setMapNames(), PHHybridSeeding::setSearchRadius(), TEST(), and Acts::TrigFTF_GNN_Layer< external_spacepoint_t >::verifyBin().
Acts::ActsScalar r3 = 200. |
Definition at line 41 of file DetectorVolumeFindersTests.cpp.
View newest version in sPHENIX GitHub at line 41 of file DetectorVolumeFindersTests.cpp
Referenced by BOOST_AUTO_TEST_CASE(), BEmcRec::PredictEnergyParam(), AnaMvtxTelescopeHits::process_event(), radgam_pol(), TPCMap::setMapNames(), TpcMap::setMapNames(), and TEST().
Acts::GeometryContext tContext |
Definition at line 34 of file DetectorVolumeFindersTests.cpp.
View newest version in sPHENIX GitHub at line 34 of file DetectorVolumeFindersTests.cpp
std::vector<std::shared_ptr<Acts::Experimental::DetectorVolume> > volumes012 |
Definition at line 67 of file DetectorVolumeFindersTests.cpp.
View newest version in sPHENIX GitHub at line 67 of file DetectorVolumeFindersTests.cpp
Referenced by BOOST_AUTO_TEST_CASE().
Acts::ActsScalar zHalfL = 200. |
Definition at line 42 of file DetectorVolumeFindersTests.cpp.
View newest version in sPHENIX GitHub at line 42 of file DetectorVolumeFindersTests.cpp
Referenced by BOOST_AUTO_TEST_CASE().