Analysis Software
Documentation for
sPHENIX
simulation software
Home page
Related Pages
Modules
Namespaces
Classes
Files
Examples
External Links
File List
File Members
Analysis Software
Deprecated List
Modules
Namespaces
Classes
Files
File List
acts
blob
sPHENIX
Alignment
CI
cmake
Core
docs
Examples
Fatras
Plugins
ActSVG
Autodiff
Cuda
DD4hep
include
Acts
Plugins
DD4hep
ConvertDD4hepDetector.hpp
DD4hepBinningHelpers.hpp
DD4hepConversionHelpers.hpp
DD4hepDetectorElement.hpp
DD4hepDetectorSurfaceFactory.hpp
DD4hepLayerBuilder.hpp
DD4hepLayerStructure.hpp
DD4hepMaterialHelpers.hpp
DD4hepVolumeBuilder.hpp
DD4hepVolumeStructure.hpp
src
EDM4hep
ExaTrkX
FpeMonitoring
Geant4
Identification
Json
Legacy
Mlpack
Onnx
Podio
Sycl
TGeo
Tests
acts-fatras
analysis
analysis_tpc_prototype
coresoftware
Doxygen_Assist
g4exampledetector
GenFit
JETSCAPE
KFParticle
macros
online_distribution
OnlMon
prototype
pythia6
rcdaq
RDBC
tutorials
doxygen_mainpage.h
File Members
Examples
External Links
•
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Macros
Groups
Pages
DD4hepVolumeStructure.hpp
Go to the documentation of this file.
Or view
the newest version in sPHENIX GitHub for file DD4hepVolumeStructure.hpp
1
// This file is part of the Acts project.
2
//
3
// Copyright (C) 2023 CERN for the benefit of the Acts project
4
//
5
// This Source Code Form is subject to the terms of the Mozilla Public
6
// License, v. 2.0. If a copy of the MPL was not distributed with this
7
// file, You can obtain one at http://mozilla.org/MPL/2.0/.
8
9
#pragma once
10
11
#include "
Acts/Definitions/Units.hpp
"
12
#include "
Acts/Detector/VolumeStructureBuilder.hpp
"
13
#include "
Acts/Plugins/DD4hep/DD4hepDetectorElement.hpp
"
14
#include "
Acts/Utilities/Logger.hpp
"
15
16
#include <memory>
17
#include <string>
18
19
#include <DD4hep/DD4hepUnits.h>
20
21
namespace
dd4hep {
22
class
DetElement;
23
}
24
25
namespace
Acts {
26
27
namespace
Experimental {
28
33
class
DD4hepVolumeStructure
{
34
public
:
37
DD4hepVolumeStructure
(std::unique_ptr<const Logger> mlogger =
38
getDefaultLogger
(
"DD4hepVolumeStructure"
,
39
Acts::Logging::INFO
));
40
41
DD4hepVolumeStructure
() =
delete
;
42
48
struct
Options
{
50
std::string
name
=
""
;
52
Acts::Logging::Level
logLevel
=
Acts::Logging::INFO
;
53
};
54
64
std::shared_ptr<VolumeStructureBuilder>
builder
(
65
const
dd4hep::DetElement& dd4hepElement,
const
Options
&
options
)
const
;
66
67
private
:
69
static
constexpr
ActsScalar
unitLength
=
70
Acts::UnitConstants::mm
/ dd4hep::millimeter;
71
79
bool
recursiveParse
(
VolumeStructureBuilder::Config
& vsbConfig,
80
const
dd4hep::DetElement& dd4hepElement)
const
;
81
83
std::unique_ptr<const Logger>
m_logger
;
84
86
const
Logger
&
logger
()
const
{
return
*
m_logger
; }
87
};
88
89
}
// namespace Experimental
90
}
// namespace Acts
acts
blob
sPHENIX
Plugins
DD4hep
include
Acts
Plugins
DD4hep
DD4hepVolumeStructure.hpp
Built by
Jin Huang
. updated:
Sat Feb 17 2024 22:17:41
using
1.8.2 with
sPHENIX GitHub integration