EIC Software
Reference for
EIC
simulation and reconstruction software on GitHub
|
#include "ActsExamples/Detector/IBaseDetector.hpp"
#include "ActsExamples/Framework/Sequencer.hpp"
#include "ActsExamples/Geometry/CommonGeometry.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/Plugins/Json/JsonMaterialWriter.hpp"
#include "ActsExamples/Propagation/PropagationOptions.hpp"
#include "ActsExamples/Utilities/Paths.hpp"
#include <Acts/Geometry/GeometryContext.hpp>
#include <Acts/Geometry/TrackingGeometry.hpp>
#include <Acts/MagneticField/MagneticFieldContext.hpp>
#include <Acts/Material/SurfaceMaterialMapper.hpp>
#include <Acts/Plugins/Json/JsonGeometryConverter.hpp>
#include <Acts/Propagator/Navigator.hpp>
#include <Acts/Propagator/Propagator.hpp>
#include <Acts/Propagator/StraightLineStepper.hpp>
#include <memory>
#include <boost/program_options.hpp>
Go to the source code of this file.
Functions | |
int | materialMappingExample (int argc, char *argv[], ActsExamples::IBaseDetector &detector) |
The material validation example, it runs a propagation and then writes out the material information. | |
int materialMappingExample | ( | 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 argumetns of the call |
atgv | the argument list |
detector | the detector instance |
Default contexts
The material mapping algorithm
The material surface mapper
The material volume mapper
The name of the output file
Definition at line 36 of file MaterialMappingBase.cpp.
View newest version in sPHENIX GitHub at line 36 of file MaterialMappingBase.cpp
References ActsExamples::Sequencer::addAlgorithm(), 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::RootMaterialTrackReader::Config::fileList, ActsExamples::RootMaterialWriter::Config::fileName, ActsExamples::RootMaterialTrackWriter::Config::filePath, Acts::Test::geoContext, Acts::getDefaultLogger(), Acts::Logging::INFO, ActsExamples::Options::makeDefaultOptions(), ActsExamples::MaterialMapping::Config::mappingMaterialCollection, Acts::VolumeMaterialMapper::Config::mappingStep, ActsExamples::MaterialMapping::Config::materialSurfaceMapper, ActsExamples::MaterialMapping::Config::materialVolumeMapper, ActsExamples::MaterialMapping::Config::materialWriters, mfContext, Acts::Test::navigator, ActsExamples::Options::parse(), ActsExamples::Options::readLogLevel(), ActsExamples::Options::readSequencerConfig(), ActsExamples::Sequencer::run(), propagation_timing::stepper, ActsExamples::RootMaterialTrackWriter::Config::storeSurface, ActsExamples::RootMaterialTrackWriter::Config::storeVolume, Acts::Test::tGeometry, and ActsExamples::MaterialMapping::Config::trackingGeometry.
Referenced by main().