Analysis Software
Documentation for sPHENIX simulation software
|
Go to the source code of this file.
Namespaces | |
namespace | ActsExamples |
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(), test_examples::test_material_mapping(), and test_examples::test_volume_material_mapping().