Analysis Software
Documentation for sPHENIX simulation software
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
DetectorAlignment.hpp File Reference
+ Include dependency graph for DetectorAlignment.hpp:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

namespace  ActsExamples
 

Typedefs

using AlignedDetElementGetter = std::function< std::vector< Acts::DetectorElementBase * >(const std::shared_ptr< ActsExamples::IBaseDetector > &, const std::vector< Acts::GeometryIdentifier > &)>
 

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)
 

Typedef Documentation

using AlignedDetElementGetter = std::function<std::vector<Acts::DetectorElementBase*>( const std::shared_ptr<ActsExamples::IBaseDetector>&, const std::vector<Acts::GeometryIdentifier>&)>

Definition at line 25 of file DetectorAlignment.hpp.

View newest version in sPHENIX GitHub at line 25 of file DetectorAlignment.hpp

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 
)

Main function for running alignment for specific detector.

Parameters
argcnumber of command line arguments
argvcommand line arguments
detectoris the detector to be aligned