Analysis Software
Documentation for sPHENIX simulation software
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
DetectorAlignment.cpp File Reference
#include "DetectorAlignment.hpp"
#include "Acts/Definitions/Units.hpp"
#include "ActsExamples/Alignment/AlignmentAlgorithm.hpp"
#include "ActsExamples/Detector/IBaseDetector.hpp"
#include "ActsExamples/Framework/Sequencer.hpp"
#include "ActsExamples/Framework/WhiteBoard.hpp"
#include "ActsExamples/Geometry/CommonGeometry.hpp"
#include "ActsExamples/Io/Csv/CsvParticleReader.hpp"
#include "ActsExamples/Io/Csv/CsvSimHitReader.hpp"
#include "ActsExamples/Io/Json/JsonGeometryList.hpp"
#include "ActsExamples/Io/Performance/TrackFinderPerformanceWriter.hpp"
#include "ActsExamples/Io/Performance/TrackFitterPerformanceWriter.hpp"
#include "ActsExamples/Io/Root/RootTrajectoryStatesWriter.hpp"
#include "ActsExamples/Io/Root/RootTrajectorySummaryWriter.hpp"
#include "ActsExamples/Options/CommonOptions.hpp"
#include "ActsExamples/Options/CsvOptionsReader.hpp"
#include "ActsExamples/Options/DigitizationOptions.hpp"
#include "ActsExamples/Options/MagneticFieldOptions.hpp"
#include "ActsExamples/Options/ParticleSmearingOptions.hpp"
#include "ActsExamples/Options/TrackFittingOptions.hpp"
#include "ActsExamples/Options/TruthSeedSelectorOptions.hpp"
#include "ActsExamples/Reconstruction/ReconstructionBase.hpp"
#include "ActsExamples/TrackFitting/SurfaceSortingAlgorithm.hpp"
#include "ActsExamples/TrackFitting/TrackFitterFunction.hpp"
#include "ActsExamples/TrackFitting/TrackFittingAlgorithm.hpp"
#include "ActsExamples/TruthTracking/TruthSeedSelector.hpp"
#include "ActsExamples/TruthTracking/TruthTrackFinder.hpp"
#include "ActsExamples/Utilities/Options.hpp"
#include "ActsExamples/Utilities/Paths.hpp"
#include "ActsExamples/Utilities/TracksToTrajectories.hpp"
#include <filesystem>
#include <memory>
+ Include dependency graph for DetectorAlignment.cpp:

Go to the source code of this file.

Functions

void addAlignmentOptions (ActsExamples::Options::Description &desc)
 
int runDetectorAlignment (int argc, char *argv[], const std::shared_ptr< ActsExamples::IBaseDetector > &detector, ActsAlignment::AlignedTransformUpdater alignedTransformUpdater, const AlignedDetElementGetter &alignedDetElementsGetter)
 

Function Documentation

void addAlignmentOptions ( ActsExamples::Options::Description desc)

The options for running alignment or not

Parameters
descThe options description to add options to

Definition at line 48 of file DetectorAlignment.cpp.

View newest version in sPHENIX GitHub at line 48 of file DetectorAlignment.cpp

References value.

Referenced by runDetectorAlignment().

+ Here is the caller graph for this function:

int runDetectorAlignment ( int  argc,
char *  argv[],
const std::shared_ptr< ActsExamples::IBaseDetector > &  detector,
ActsAlignment::AlignedTransformUpdater  alignedTransformUpdater,
const AlignedDetElementGetter alignedDetElementsGetter 
)

Definition at line 57 of file DetectorAlignment.cpp.

View newest version in sPHENIX GitHub at line 57 of file DetectorAlignment.cpp

References ActsExamples::Sequencer::addAlgorithm(), addAlignmentOptions(), ActsExamples::Sequencer::addContextDecorator(), ActsExamples::Options::addDigitizationOptions(), ActsExamples::Options::addFittingOptions(), ActsExamples::Options::addGeometryOptions(), ActsExamples::Options::addInputOptions(), ActsExamples::Options::addMagneticFieldOptions(), ActsExamples::Options::addMaterialOptions(), ActsExamples::Options::addOutputOptions(), ActsExamples::Options::addParticleSmearingOptions(), ActsExamples::Options::addRandomNumbersOptions(), ActsExamples::Options::addSequencerOptions(), ActsExamples::Options::addTruthSeedSelectorOptions(), ActsExamples::Sequencer::addWriter(), ActsExamples::AlignmentAlgorithm::Config::align, ActsExamples::AlignmentAlgorithm::Config::alignedDetElements, ActsExamples::AlignmentAlgorithm::Config::alignedTransformUpdater, alignment(), ActsExamples::Geometry::build(), ActsExamples::AlignmentAlgorithm::Config::chi2ONdfCutOff, ActsExamples::AlignmentAlgorithm::Config::deltaChi2ONdfCutOff, ActsExamples::ensureWritableDirectory(), ActsExamples::TrackFinderPerformanceWriter::Config::filePath, ActsExamples::TrackFitterPerformanceWriter::Config::filePath, ActsExamples::RootTrajectorySummaryWriter::Config::filePath, ActsExamples::RootTrajectoryStatesWriter::Config::filePath, ActsExamples::TrackFittingAlgorithm::Config::fit, Acts::Test::geometry, ActsExamples::TrackFittingAlgorithm::Config::inputInitialTrackParameters, ActsExamples::AlignmentAlgorithm::Config::inputInitialTrackParameters, ActsExamples::TrackFinderPerformanceWriter::Config::inputMeasurementParticlesMap, ActsExamples::TruthTrackFinder::Config::inputMeasurementParticlesMap, ActsExamples::TruthSeedSelector::Config::inputMeasurementParticlesMap, ActsExamples::TrackFitterPerformanceWriter::Config::inputMeasurementParticlesMap, ActsExamples::RootTrajectorySummaryWriter::Config::inputMeasurementParticlesMap, ActsExamples::RootTrajectoryStatesWriter::Config::inputMeasurementParticlesMap, ActsExamples::TrackFittingAlgorithm::Config::inputMeasurements, ActsExamples::AlignmentAlgorithm::Config::inputMeasurements, ActsExamples::RootTrajectoryStatesWriter::Config::inputMeasurementSimHitsMap, ActsExamples::TrackFinderPerformanceWriter::Config::inputParticles, ActsExamples::TruthTrackFinder::Config::inputParticles, ActsExamples::TruthSeedSelector::Config::inputParticles, ActsExamples::TrackFitterPerformanceWriter::Config::inputParticles, ActsExamples::RootTrajectorySummaryWriter::Config::inputParticles, ActsExamples::RootTrajectoryStatesWriter::Config::inputParticles, physmon_simulation::inputParticles, ActsExamples::TrackFinderPerformanceWriter::Config::inputProtoTracks, ActsExamples::TrackFittingAlgorithm::Config::inputProtoTracks, ActsExamples::AlignmentAlgorithm::Config::inputProtoTracks, ActsExamples::RootTrajectoryStatesWriter::Config::inputSimHits, ActsExamples::TrackFittingAlgorithm::Config::inputSourceLinks, ActsExamples::AlignmentAlgorithm::Config::inputSourceLinks, ActsExamples::TracksToTrajectories::Config::inputTracks, ActsExamples::TrackFitterPerformanceWriter::Config::inputTrajectories, ActsExamples::RootTrajectoryStatesWriter::Config::inputTrajectories, ActsExamples::RootTrajectorySummaryWriter::Config::inputTrajectories, telescope_simulation::logLevel, ActsTests::PropagationDatasets::magneticField, ActsExamples::Options::makeDefaultOptions(), ActsExamples::makeKalmanFitterFunction(), ActsExamples::AlignmentAlgorithm::Config::maxNumIterations, testing::internal::move(), ActsExamples::TruthSeedSelector::Config::nHitsMin, ActsExamples::AlignmentAlgorithm::Config::outputAlignmentParameters, outputDir, ActsExamples::TruthSeedSelector::Config::outputParticles, ActsExamples::TruthTrackFinder::Config::outputProtoTracks, ActsExamples::TrackFittingAlgorithm::Config::outputTracks, ActsExamples::Options::parse(), path, ActsExamples::TrackFittingAlgorithm::Config::pickTrack, ActsExamples::TruthSeedSelector::Config::ptMin, ActsExamples::readJsonGeometryList(), ActsExamples::Options::readLogLevel(), ActsExamples::Options::readMagneticField(), ActsExamples::Options::readRandomNumbersConfig(), ActsExamples::Options::readSequencerConfig(), ActsExamples::Options::readTruthSeedSelectorConfig(), physmon_simulation::rnd, ActsExamples::Sequencer::run(), setupDigitization(), setupParticleReading(), setupParticleSmearing(), setupSimHitReading(), and Acts::trackingGeometry().

Referenced by main().

+ Here is the call graph for this function:

+ Here is the caller graph for this function: