Analysis Software
Documentation for sPHENIX simulation software
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Acts::ProtoDetector Struct Reference

#include <acts/blob/sPHENIX/Core/include/Acts/Detector/ProtoDetector.hpp>

+ Collaboration diagram for Acts::ProtoDetector:

Public Member Functions

void harmonize (bool legacy=true)
 
std::string toString (const std::string &indent="") const
 

Public Attributes

std::string name = ""
 
ProtoVolume worldVolume
 

Detailed Description

A proto detector description being used to define an overall structure of either a TrackingGeometry or Experimental::Detector

Definition at line 121 of file ProtoDetector.hpp.

View newest version in sPHENIX GitHub at line 121 of file ProtoDetector.hpp

Member Function Documentation

void Acts::ProtoDetector::harmonize ( bool  legacy = true)
inline

Harmonize the detector information, this can run in two modes, steered by the

Parameters
legacyboolean

The legacy mode prepares everything for Acts::TrackingVolume, if off it creates a description for Acts::Detector.

Definition at line 131 of file ProtoDetector.hpp.

View newest version in sPHENIX GitHub at line 131 of file ProtoDetector.hpp

References Acts::ProtoVolume::constrainDown(), Acts::ProtoVolume::extendUp(), Acts::ProtoVolume::harmonize(), and worldVolume.

Referenced by Acts::KDTreeTrackingGeometryBuilder::KDTreeTrackingGeometryBuilder().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

std::string Acts::ProtoDetector::toString ( const std::string &  indent = "") const

Write the tracking volume to screen

Parameters
indentthe current indentation

Definition at line 199 of file ProtoDetector.cpp.

View newest version in sPHENIX GitHub at line 199 of file ProtoDetector.cpp

References perf_headwind::name.

Member Data Documentation

ProtoVolume Acts::ProtoDetector::worldVolume

Definition at line 123 of file ProtoDetector.hpp.

View newest version in sPHENIX GitHub at line 123 of file ProtoDetector.hpp

Referenced by BOOST_AUTO_TEST_CASE(), Acts::from_json(), harmonize(), and Acts::to_json().


The documentation for this struct was generated from the following files: