Analysis Software
Documentation for
sPHENIX
simulation software
Home page
Related Pages
Modules
Namespaces
Classes
Files
Examples
External Links
File List
File Members
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Macros
Groups
Pages
DD4hepDetectorElement.hpp
Go to the documentation of this file.
Or view
the newest version in sPHENIX GitHub for file DD4hepDetectorElement.hpp
1
// This file is part of the Acts project.
2
//
3
// Copyright (C) 2017-2018 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/Geometry/GeometryContext.hpp
"
12
#include "
Acts/Plugins/TGeo/TGeoDetectorElement.hpp
"
13
14
#include <map>
15
#include <memory>
16
#include <string>
17
18
#include "DD4hep/DetElement.h"
19
#include "DD4hep/Segmentations.h"
20
21
namespace
Acts {
22
24
class
DigitizationModule;
25
class
ISurfaceMaterial;
26
39
class
DD4hepDetectorElement
:
public
TGeoDetectorElement
{
40
public
:
42
using
ContextType
=
GeometryContext
;
43
45
using
Store
= std::map<
std::string
,
46
std::vector<std::shared_ptr<DD4hepDetectorElement>>>;
47
77
DD4hepDetectorElement
(
78
const
dd4hep::DetElement detElement,
const
std::string
& axes =
"XYZ"
,
79
double
scalor = 1.,
bool
isDisc =
false
,
80
std::shared_ptr<const ISurfaceMaterial>
material
=
nullptr
);
81
82
~DD4hepDetectorElement
()
override
=
default
;
83
84
private
:
86
dd4hep::DetElement
m_detElement
;
88
dd4hep::Segmentation
m_segmentation
;
89
};
90
}
// namespace Acts
acts
blob
sPHENIX
Plugins
DD4hep
include
Acts
Plugins
DD4hep
DD4hepDetectorElement.hpp
Built by
Jin Huang
. updated:
Sat Feb 17 2024 22:17:41
using
1.8.2 with
sPHENIX GitHub integration