Analysis Software
Documentation for sPHENIX simulation software
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
CommonMaterialMapping.cpp File Reference
+ Include dependency graph for CommonMaterialMapping.cpp:

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.
 

Function Documentation

int runMaterialMapping ( int  argc,
char *  argv[],
ActsExamples::IBaseDetector detector 
)

The material validation example, it runs a propagation and then writes out the material information.

Parameters
argcthe number of arguments of the call
atgvthe argument list
detectorthe 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().

+ Here is the call graph for this function:

+ Here is the caller graph for this function: