Project
Loading...
Searching...
No Matches
SurfaceIndexMap.cxx File Reference
#include "ACTSInterface/SurfaceIndexMap.h"
#include <algorithm>
#include <cmath>
#include <cstdint>
#include <sstream>
#include <stdexcept>
#include "Acts/Definitions/Units.hpp"
#include "Acts/Geometry/GeometryContext.hpp"
#include "Acts/Geometry/TrackingGeometry.hpp"
#include "Acts/Surfaces/BoundaryTolerance.hpp"
#include "Acts/Surfaces/Surface.hpp"
#include "Acts/Surfaces/SurfacePlacementBase.hpp"
#include "ActsPlugins/Root/TGeoDetectorElement.hpp"
#include <TGeoManager.h>
#include <TGeoMatrix.h>
#include <TGeoNode.h>
#include "DetectorsCommonDataFormats/DetMatrixCache.h"
#include "Framework/Logger.h"

Go to the source code of this file.

Namespaces

namespace  o2
 a couple of static helper functions to create timestamp values for CCDB queries or override obsolete objects
 
namespace  o2::acts
 

Functions

SurfaceIndexMap o2::acts::makeSurfaceIndex (const Acts::TrackingGeometry &geometry, const Acts::GeometryContext &gctx, const o2::detectors::DetMatrixCache &cache, double toleranceCm=1e-3, SensorPathProvider pathProvider={})
 

Detailed Description

Author
Paolo Butti

Definition in file SurfaceIndexMap.cxx.

Variable Documentation

◆ byCentre

CentreLookup byCentre

Definition at line 165 of file SurfaceIndexMap.cxx.

◆ byNode

std::unordered_map<const TGeoNode*, std::vector<const Acts::Surface*> > byNode

Definition at line 167 of file SurfaceIndexMap.cxx.

◆ layerSurfaces

std::vector<const Acts::Surface*> layerSurfaces

Definition at line 166 of file SurfaceIndexMap.cxx.

◆ nWithoutNode

std::size_t nWithoutNode = 0

Definition at line 168 of file SurfaceIndexMap.cxx.

◆ position

Acts::Vector3 position

Definition at line 130 of file SurfaceIndexMap.cxx.

◆ rotation

Acts::RotationMatrix3 rotation

Definition at line 201 of file SurfaceIndexMap.cxx.

◆ surface

const Acts::Surface* surface = nullptr

Definition at line 129 of file SurfaceIndexMap.cxx.

◆ x

std::int64_t x = 0

Definition at line 133 of file SurfaceIndexMap.cxx.

◆ y

std::int64_t y = 0

Definition at line 133 of file SurfaceIndexMap.cxx.

◆ z

std::int64_t z = 0

Definition at line 133 of file SurfaceIndexMap.cxx.