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
DD4hepDetectorHelper.hpp
Go to the documentation of this file.
Or view
the newest version in sPHENIX GitHub for file DD4hepDetectorHelper.hpp
1
// This file is part of the Acts project.
2
//
3
// Copyright (C) 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/Digitization/DigitizationModule.hpp
"
12
13
#include <memory>
14
15
#include "DD4hep/Segmentations.h"
16
17
namespace
Acts {
18
class
DigitizationModule;
19
}
// namespace Acts
20
106
107
namespace
ActsExamples {
108
namespace
DD4hep {
109
110
struct
DD4hepDetectorHelper
{
120
static
std::shared_ptr<const Acts::DigitizationModule>
rectangleDigiModule
(
121
double
halflengthX,
double
halflengthY,
double
thickness
,
122
const
dd4hep::Segmentation
& segmentation);
123
136
static
std::shared_ptr<const Acts::DigitizationModule>
trapezoidalDigiModule
(
137
double
minHalflengthX,
double
maxHalflengthX,
double
halflengthY,
138
double
thickness,
const
dd4hep::Segmentation
& segmentation);
139
};
140
141
}
// end of namespace DD4hep
142
}
// end of namespace ActsExamples
acts
blob
sPHENIX
Examples
Detectors
DD4hepDetector
include
ActsExamples
DD4hepDetector
DD4hepDetectorHelper.hpp
Built by
Jin Huang
. updated:
Sat Feb 17 2024 22:17:37
using
1.8.2 with
sPHENIX GitHub integration