Analysis Software
Documentation for sPHENIX simulation software
|
#include "Acts/Geometry/GeometryContext.hpp"
#include "Acts/Geometry/TrackingGeometry.hpp"
#include "Acts/MagneticField/MagneticFieldContext.hpp"
#include "Acts/Material/SurfaceMaterialMapper.hpp"
#include "Acts/Plugins/Json/MaterialMapJsonConverter.hpp"
#include "Acts/Propagator/Navigator.hpp"
#include "Acts/Propagator/Propagator.hpp"
#include "Acts/Propagator/StraightLineStepper.hpp"
#include "ActsExamples/Detector/IBaseDetector.hpp"
#include "ActsExamples/Framework/Sequencer.hpp"
#include "ActsExamples/Geometry/CommonGeometry.hpp"
#include "ActsExamples/Io/Json/JsonMaterialWriter.hpp"
#include "ActsExamples/Io/Root/RootMaterialTrackReader.hpp"
#include "ActsExamples/Io/Root/RootMaterialTrackWriter.hpp"
#include "ActsExamples/Io/Root/RootMaterialWriter.hpp"
#include "ActsExamples/MaterialMapping/MaterialMapping.hpp"
#include "ActsExamples/MaterialMapping/MaterialMappingOptions.hpp"
#include "ActsExamples/Options/CommonOptions.hpp"
#include "ActsExamples/Propagation/PropagationOptions.hpp"
#include "ActsExamples/Simulation/CommonSimulation.hpp"
#include "ActsExamples/Utilities/Paths.hpp"
#include <memory>
#include <boost/program_options.hpp>
Go to the source code of this file.
Functions | |
int | runMaterialMapping (int argc, char *argv[], ActsExamples::IBaseDetector &detector) |
The material validation example, it runs a propagation and then writes out the material information. | |
int runMaterialMapping | ( | int | argc, |
char * | argv[], | ||
ActsExamples::IBaseDetector & | detector | ||
) |
The material validation example, it runs a propagation and then writes out the material information.
argc | the number of arguments of the call |
atgv | the argument list |
detector | the detector instance |
Decorate the context
Default contexts
The material mapping algorithm
The material surface mapper
The material volume mapper
The name of the output file
Definition at line 37 of file CommonMaterialMapping.cpp.
View newest version in sPHENIX GitHub at line 37 of file CommonMaterialMapping.cpp
References ActsExamples::Sequencer::addAlgorithm(), ActsExamples::Sequencer::addContextDecorator(), ActsExamples::Options::addGeometryOptions(), ActsExamples::Options::addInputOptions(), ActsExamples::Options::addMaterialMappingOptions(), ActsExamples::Options::addMaterialOptions(), ActsExamples::IBaseDetector::addOptions(), ActsExamples::Options::addOutputOptions(), ActsExamples::Options::addPropagationOptions(), ActsExamples::Sequencer::addReader(), ActsExamples::Options::addSequencerOptions(), ActsExamples::Sequencer::addWriter(), ActsExamples::Geometry::build(), ActsExamples::RootMaterialTrackReader::Config::collection, ActsExamples::RootMaterialTrackWriter::Config::collection, ActsExamples::JsonMaterialWriter::Config::converterCfg, ActsExamples::RootMaterialTrackReader::Config::fileList, ActsExamples::JsonMaterialWriter::Config::fileName, ActsExamples::RootMaterialTrackWriter::Config::filePath, ActsExamples::RootMaterialWriter::Config::filePath, material_mapping_optimisation::format, ActsExamples::AlgorithmContext::geoContext, Acts::Test::geoContext, Acts::Test::geometry, Acts::getDefaultLogger(), Acts::Logging::INFO, ActsExamples::Simulation::kMaterialTracks, telescope_simulation::logLevel, ActsExamples::AlgorithmContext::magFieldContext, ActsExamples::Options::makeDefaultOptions(), Acts::VolumeMaterialMapper::Config::mappingStep, material_mapping_optimisation::mapVolume, Acts::IntegrationTest::mfContext, testing::internal::move(), Acts::Test::navigator, ActsExamples::Options::parse(), Acts::MaterialMapJsonConverter::Config::processSensitives, ActsExamples::RootMaterialTrackReader::Config::readCachedSurfaceInformation, material_mapping::readCachedSurfaceInformation, ActsExamples::Options::readLogLevel(), ActsExamples::Options::readSequencerConfig(), ActsExamples::Sequencer::run(), propagation_timing::stepper, ActsExamples::RootMaterialTrackWriter::Config::storeSurface, ActsExamples::RootMaterialTrackWriter::Config::storeVolume, SUCCESS, Acts::tGeometry, and ActsExamples::JsonMaterialWriter::Config::writeFormat.
Referenced by main().