ATLAS Offline Software
Loading...
Searching...
No Matches
ObjTrackVisualizationAlg.cxx File Reference
#include "ObjTrackVisualizationAlg.h"
#include "ActsEvent/Decoration.h"
#include "StoreGate/ReadHandle.h"
#include "MuonVisualizationHelpersR4/ObjVisualizationHelpers.h"
#include "MuonVisualizationHelpersR4/FileHelpers.h"
#include "GeoModelHelpers/StringUtils.h"
#include "ActsInterop/UnitConverters.h"
#include "ActsEvent/ParticleHypothesisEncoding.h"
#include "Acts/Visualization/ObjVisualization3D.hpp"
#include "Acts/Visualization/GeometryView3D.hpp"
#include "Acts/Surfaces/PerigeeSurface.hpp"
#include "Acts/Definitions/Units.hpp"
#include <format>

Go to the source code of this file.

Namespaces

namespace  ActsTrk
 The AlignStoreProviderAlg loads the rigid alignment corrections and pipes them through the readout geometry to cache the final transformations of the sensor surfaces associated to one particular detector technology (Pixel, Sct, etc.).

Functions

std::string toString (const float number)
 Pipe a number to a string.

Function Documentation

◆ toString()

std::string toString ( const float number)

Pipe a number to a string.

Replace the decimal point by a p and the negative sign by a m

Definition at line 27 of file ObjTrackVisualizationAlg.cxx.

27 {
28 using namespace GeoStrUtils;
29 return replaceExpInString(
30 replaceExpInString(std::format("{:.3f}", number), ".", "p"), "-", "m");
31}
std::string number(const double &d, const std::string &s)
Definition utils.cxx:186