Analysis Software
Documentation for sPHENIX simulation software
|
#include <boost/test/unit_test.hpp>
#include "Acts/Definitions/Algebra.hpp"
#include "Acts/Geometry/GeometryContext.hpp"
#include "Acts/Geometry/GeometryIdentifier.hpp"
#include "Acts/Plugins/Json/SurfaceJsonConverter.hpp"
#include "Acts/Surfaces/ConeBounds.hpp"
#include "Acts/Surfaces/ConeSurface.hpp"
#include "Acts/Surfaces/CylinderBounds.hpp"
#include "Acts/Surfaces/CylinderSurface.hpp"
#include "Acts/Surfaces/DiscSurface.hpp"
#include "Acts/Surfaces/LineBounds.hpp"
#include "Acts/Surfaces/PerigeeSurface.hpp"
#include "Acts/Surfaces/PlaneSurface.hpp"
#include "Acts/Surfaces/RadialBounds.hpp"
#include "Acts/Surfaces/StrawSurface.hpp"
#include "Acts/Surfaces/Surface.hpp"
#include "Acts/Surfaces/SurfaceBounds.hpp"
#include "Acts/Surfaces/TrapezoidBounds.hpp"
#include <fstream>
#include <memory>
#include <string>
#include <nlohmann/json.hpp>
Go to the source code of this file.
Functions | |
BOOST_AUTO_TEST_CASE (ConeSurfaceRoundTripTests) | |
BOOST_AUTO_TEST_CASE (DiscSurfaceRoundTripTests) | |
BOOST_AUTO_TEST_CASE (CylinderSurfaceRoundTripTests) | |
BOOST_AUTO_TEST_CASE (PlaneSurfaceRoundTripTests) | |
BOOST_AUTO_TEST_CASE (StrawSurfaceRoundTripTests) | |
BOOST_AUTO_TEST_CASE (PerigeeRoundTripTests) | |
BOOST_AUTO_TEST_CASE (SurfacesDetrayTests) | |
Variables | |
std::ofstream | out |
Acts::GeometryContext | gctx |
BOOST_AUTO_TEST_CASE | ( | ConeSurfaceRoundTripTests | ) |
Definition at line 43 of file SurfaceJsonConverterTests.cpp.
View newest version in sPHENIX GitHub at line 43 of file SurfaceJsonConverterTests.cpp
References Acts::SurfaceJsonConverter::fromJson(), gctx, in, out, Acts::SurfaceJsonConverter::toJson(), and physmon_ckf_tracking::u.
BOOST_AUTO_TEST_CASE | ( | DiscSurfaceRoundTripTests | ) |
Definition at line 69 of file SurfaceJsonConverterTests.cpp.
View newest version in sPHENIX GitHub at line 69 of file SurfaceJsonConverterTests.cpp
References Acts::SurfaceJsonConverter::fromJson(), gctx, in, out, Acts::SurfaceJsonConverter::toJson(), and physmon_ckf_tracking::u.
BOOST_AUTO_TEST_CASE | ( | CylinderSurfaceRoundTripTests | ) |
Definition at line 96 of file SurfaceJsonConverterTests.cpp.
View newest version in sPHENIX GitHub at line 96 of file SurfaceJsonConverterTests.cpp
References Acts::SurfaceJsonConverter::fromJson(), gctx, in, out, Acts::SurfaceJsonConverter::toJson(), and physmon_ckf_tracking::u.
BOOST_AUTO_TEST_CASE | ( | PlaneSurfaceRoundTripTests | ) |
Definition at line 123 of file SurfaceJsonConverterTests.cpp.
View newest version in sPHENIX GitHub at line 123 of file SurfaceJsonConverterTests.cpp
References Acts::SurfaceJsonConverter::fromJson(), gctx, in, out, Acts::to_json(), Acts::SurfaceJsonConverter::toJson(), and physmon_ckf_tracking::u.
BOOST_AUTO_TEST_CASE | ( | StrawSurfaceRoundTripTests | ) |
Definition at line 153 of file SurfaceJsonConverterTests.cpp.
View newest version in sPHENIX GitHub at line 153 of file SurfaceJsonConverterTests.cpp
References Acts::SurfaceJsonConverter::fromJson(), gctx, in, out, Acts::SurfaceJsonConverter::toJson(), and physmon_ckf_tracking::u.
BOOST_AUTO_TEST_CASE | ( | PerigeeRoundTripTests | ) |
Definition at line 179 of file SurfaceJsonConverterTests.cpp.
View newest version in sPHENIX GitHub at line 179 of file SurfaceJsonConverterTests.cpp
References Acts::SurfaceJsonConverter::fromJson(), gctx, in, out, Acts::SurfaceJsonConverter::toJson(), and physmon_ckf_tracking::u.
BOOST_AUTO_TEST_CASE | ( | SurfacesDetrayTests | ) |
Definition at line 204 of file SurfaceJsonConverterTests.cpp.
View newest version in sPHENIX GitHub at line 204 of file SurfaceJsonConverterTests.cpp
References gctx, out, Acts::SurfaceJsonConverter::toJsonDetray(), and physmon_ckf_tracking::u.
Definition at line 39 of file SurfaceJsonConverterTests.cpp.
View newest version in sPHENIX GitHub at line 39 of file SurfaceJsonConverterTests.cpp
Referenced by Acts::Python::addJson(), Acts::CuboidVolumeBuilder::binningRange(), BOOST_AUTO_TEST_CASE(), Acts::Test::BOOST_AUTO_TEST_CASE(), ActsExamples::MockupSectorBuilder::buildChamber(), ActsExamples::Generic::buildDetector(), Acts::CuboidVolumeBuilder::buildLayer(), ActsExamples::MockupSectorBuilder::buildSector(), Acts::ImpactPointEstimator< input_track_t, propagator_t, propagator_options_t >::calculateDistance(), CompBuilder::construct(), MultiWireInternalStructureBuilder::construct(), Acts::Experimental::LayerStructureBuilder::construct(), Acts::MultiComponentCurvilinearTrackParameters::construct(), Acts::PodioUtil::convertSurfaceToPodio(), Acts::EDM4hepUtil::detail::convertTrackParametersToEdm4hep(), Acts::SurfaceArrayCreator::createEquidistantAxis(), Acts::LayerArrayCreator::createNavigationSurface(), Acts::SurfaceArrayCreator::createVariableAxis(), Acts::Experimental::DetectorVolume::DetectorVolume(), Acts::SurfaceArrayCreator::determineBinCount(), Acts::EventDataView3D::drawBoundTrackParameters(), Acts::EventDataView3D::drawMultiTrajectory(), Acts::GeometryView3D::drawTrackingVolume(), Acts::GeometryView3D::drawVolume(), Acts::ImpactPointEstimator< input_track_t, propagator_t, propagator_options_t >::estimate3DImpactParameters(), Acts::MultiTrajectoryHelpers::freeFiltered(), Acts::MultiTrajectoryHelpers::freeSmoothed(), main(), Acts::StraightLineStepper::makeState(), Acts::EigenStepper< extensionlist_t, auctioneer_t >::makeState(), Acts::AtlasStepper::makeState(), Acts::operator<<(), Acts::Experimental::MultiLayerSurfacesUpdatorImpl< grid_t, path_generator >::resolveDuplicates(), Acts::VolumeView3DTest::run(), Acts::SurfaceView3DTest::run(), Acts::SurfaceArrayCreator::surfaceArrayOnDisc(), Acts::EventDataView3DTest::testBoundTrackParameters(), Acts::to_json(), Acts::Experimental::RootVolumeFinder::update(), Acts::Experimental::TrialAndErrorVolumeFinder::update(), ActsAlignment::Alignment< fitter_t >::updateAlignmentParameters(), and ActsExamples::RootTrajectoryStatesWriter::writeT().
std::ofstream out |
Definition at line 37 of file SurfaceJsonConverterTests.cpp.
View newest version in sPHENIX GitHub at line 37 of file SurfaceJsonConverterTests.cpp
Referenced by eic_bnl_rich::acq(), Acts::Python::addJson(), OnlMonHtml::addMenu(), PHActsTrackPropagator::addTrackState(), Prototype2_DSTReader::Begin(), Fatras::Test::BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), Acts::Test::BOOST_AUTO_TEST_CASE(), Fatras::Test::BOOST_DATA_TEST_CASE(), boundParamResolution(), Line::calculate_normal(), PgPostBankBackupManager::CleanTable(), Square::construct_lines(), PHActsToSvtxTracks::createSvtxTrack(), daq_generate_json(), QAG4Util::delta_phi(), DrawEcal_Likelihood(), DrawEcal_pDST(), DrawFieldMap(), ev_handler(), PythiaGun::Exec(), ActsTransformations::fillSvtxTrackStates(), ActsExamples::JsonSurfacesWriter::finalize(), QAG4SimulationIntt::find_g4hits(), QAG4SimulationMvtx::find_g4hits(), QAG4SimulationMicromegas::find_g4hits(), QAG4SimulationTpc::find_g4hits(), QAG4SimulationTracking::find_g4hits(), DSTEmulator::find_g4hits(), TrackEvaluation::find_g4hits(), Square::find_outside(), Fun4All_AnaTutorial_sPHENIX(), Fun4All_AnaTutorial_sPHENIX_Jets(), Fun4All_BHG(), Fun4All_CaloProduction(), Fun4All_CaloProduction_PreQM23(), Fun4All_Combiner(), Fun4All_Condor(), Fun4All_EMCalLikelihood(), Fun4All_G4_block(), Fun4All_G4_Calo(), Fun4All_G4_Calos(), Fun4All_G4_Clusters(), Fun4All_G4_Cylinder(), Fun4All_G4_EICDetector_AnaTutorial(), Fun4All_G4_EICDetector_LQ(), Fun4All_G4_EICDetector_LQ_reference(), Fun4All_G4_EICDetector_RICH(), Fun4All_G4_EICIR(), Fun4All_G4_fsPHENIX_FastSim(), Fun4All_G4_IonGun(), Fun4All_G4_Momentum(), Fun4All_G4_Momentum_Projection(), Fun4All_G4_Momentum_Projection_Calorimeters(), Fun4All_G4_Momentum_Projection_Detectors(), Fun4All_G4_Prototype2(), Fun4All_G4_Prototype3(), Fun4All_G4_Prototype4(), Fun4All_G4_sPHENIX(), Fun4All_G4_sPHENIX_ForTrackCutStudy(), Fun4All_G4_sPHENIX_ForTrackCutStudy_EmbedScanOff(), Fun4All_G4_sPHENIX_ForTrackCutStudy_EmbedScanOn(), Fun4All_G4_sPHENIX_ForTrackCutStudy_WithPileup_EmbedScanOff(), Fun4All_G4_sPHENIX_ForTrackCutStudy_WithPileup_EmbedScanOn(), Fun4All_G4_sPHENIX_jobC(), Fun4All_G4_TPC(), Fun4All_G4_Write_Dst(), Fun4All_GeoExtract(), Fun4All_HCalJetPhiShift(), Fun4All_ImportGeom(), Fun4All_Intt_Combiner(), Fun4All_MCEventGen(), Fun4All_Mvtx_Combiner(), Fun4All_Pi0Gen_sPHENIX(), Fun4All_pi0tbt_SIMPLE_EMBED(), Fun4All_Pythia6(), Fun4All_RTrack(), Fun4All_RunNewTruthMatcher(), Fun4All_single_particle(), Fun4All_SinglePhotonGen_sPHENIX(), Fun4All_SinglePi0Gen_sPHENIX(), Fun4All_Stream_Combiner(), Fun4All_TestBeam_TPC(), Fun4All_TrkrHitSet_Unpacker(), Fun4All_Year1(), Fun4AllHepMCOutputManager::Fun4AllHepMCOutputManager(), G4TTree(), generator(), QAG4SimulationDistortions::get_cluster_keys(), TrackAnalysisUtils::get_cluster_keys(), MicromegasMapping::get_fee_id_list(), TpotMonDraw::get_histograms(), get_loggingstring(), Line::get_out(), TpotMonDraw::get_ref_histograms(), TpotMonDraw::get_ref_histograms_scaled(), get_statusstring(), TrkrClusterContainerv3::getHitSetKeys(), TrkrClusterContainerv4::getHitSetKeys(), TrkrClusterv4::getMaxAdc(), OnCal::identify(), Proto4ShowerCalib::Init(), Proto2ShowerCalib::Init(), Proto3ShowerCalib::Init(), HFMLTriggerInterface::Init(), Line::init(), GTL_debug::init_debug(), PythiaGun::InitTask(), epemGun::InitTask(), Jin_BJet(), ActsExamples::SeedingFTFAlgorithm::LayerNumbering(), Line::Line(), main(), MyMonDraw::MakeHtml(), DaqMonDraw::MakeHtml(), ZdcMonDraw::MakeHtml(), TpotMonDraw::MakeHtml(), TrackerEventDisplay::makeJsonFile(), MakeTree(), mg_uri_to_local_path(), monitorRequestwatcher_thread(), MyHitTTree(), PHTimeServer::iterator::next(), gzstreambuf::open(), ActsExamples::Pythia8Generator::operator()(), Acts::Test::MeasurementsCreator::operator()(), testing::internal::TransformTupleValuesHelper< Tuple, Func, OutIter >::IterateOverTuple< Tup, 0 >::operator()(), operator<<(), gzstreambuf::overflow(), OnlMonHtml::plainHtmlMenu(), RecoInfoExport::process_event(), PHPythia6::process_event(), Fun4AllHepMCInputManager::PushBackEvents(), Fun4AllHepMCPileupInputManager::PushBackEvents(), pyplot(), Acts::KDTree< 3, int, double >::rangeSearch(), Acts::KDTree< 3, int, double >::rangeSearchMap(), Acts::KDTree< 3, int, double >::rangeSearchWithKey(), Acts::AutodiffExtensionWrapper< basic_extension_t >::RKN4step(), run_calo_fromMDC2Hits_towslope_Fun4All_G4_Calo(), planarity::run_on_biconnected(), rundst_spiNo(), KFPHistogram::Save(), KFParticleTopoReconstructor::SaveInputParticles(), sHelix::SaveTracktoRootScript(), SColdQcdCorrelatorAnalysis::SCorrelatorJetTree::SetTrackDcaSigmaParameters(), TPCHitTrackDisplay::SimulationOut(), spiNo2(), ActsExamples::TGeoITkModuleSplitter::splitDiscModule(), Square::Square(), TPCEventDisplay_Clusters(), TPCEventDisplay_Hits(), TrackCaloDist(), trackpT(), PHActsGSF::updateSvtxTrack(), PHActsTrackProjection::updateSvtxTrack(), PHCosmicsTrkFitter::updateSvtxTrack(), PHActsTrkFitter::updateSvtxTrack(), Jetscape::JetScapeWriterRootHepMC::Write(), Jetscape::JetScapeWriterHepMC::Write(), ActsExamples::JsonSurfacesWriter::write(), ActsExamples::JsonMaterialWriter::write(), ActsExamples::writeDigiConfigToJson(), ActsExamples::writeJsonGeometryList(), ActsExamples::JsonMaterialWriter::writeMaterial(), ActsExamples::ObjSpacePointWriter< T >::writeT(), ActsExamples::JsonSpacePointWriter< T >::writeT(), ActsExamples::ObjPropagationStepsWriter< step_t >::writeT(), ActsExamples::CsvMultiTrajectoryWriter::writeT(), Line::~Line(), and Square::~Square().