ECCE @ EIC Software
Reference for
ECCE @ EIC
simulation and reconstruction software on GitHub
Home page
Related Pages
Modules
Namespaces
Classes
Files
External Links
File List
File Members
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Macros
Groups
Pages
PlanarModuleCluster.hpp
Go to the documentation of this file.
Or view
the newest version in sPHENIX GitHub for file PlanarModuleCluster.hpp
1
// This file is part of the Acts project.
2
//
3
// Copyright (C) 2016-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/EventData/Measurement.hpp
"
12
#include "
Acts/EventData/MeasurementHelpers.hpp
"
13
15
#ifdef ACTS_CORE_IDENTIFIER_PLUGIN
16
#include ACTS_CORE_IDENTIFIER_PLUGIN
17
#else
18
using
Identifier
=
Acts::MinimalSourceLink
;
19
#endif
20
21
#include "
Acts/Plugins/Digitization/DigitizationCell.hpp
"
22
#include "
Acts/Plugins/Digitization/DigitizationModule.hpp
"
23
#include "
Acts/Utilities/Logger.hpp
"
24
#include "
Acts/Utilities/ParameterDefinitions.hpp
"
25
26
namespace
Acts {
27
28
template
<
ParID_t
... params>
29
using
Measurement_t
=
Measurement
<
Identifier
, params...>;
30
31
class
PlanarModuleCluster
32
:
public
Measurement_t
<ParDef::eLOC_0, ParDef::eLOC_1, ParDef::eT> {
33
public
:
43
PlanarModuleCluster
(std::shared_ptr<const Surface>
mSurface
,
44
const
Identifier
& identifier,
ActsSymMatrixD<3>
cov,
45
double
loc0,
double
loc1,
double
t
,
46
std::vector<DigitizationCell> dCells,
47
const
DigitizationModule
* dModule =
nullptr
)
48
:
Measurement_t
<
ParDef
::
eLOC_0
,
ParDef
::
eLOC_1
,
ParDef
::
eT
>(
49
std::move(mSurface), identifier,
// original measurement
50
std::move(cov), loc0, loc1, t),
51
m_digitizationCells
(std::move(dCells)),
52
m_digitizationModule
(dModule) {}
53
57
const
std::vector<DigitizationCell>&
digitizationCells
()
const
;
58
62
const
DigitizationModule
*
digitizationModule
()
const
;
63
64
private
:
65
std::vector<DigitizationCell>
m_digitizationCells
;
66
const
DigitizationModule
*
m_digitizationModule
;
67
};
68
69
inline
const
std::vector<DigitizationCell>&
70
PlanarModuleCluster::digitizationCells
()
const
{
71
return
m_digitizationCells
;
72
}
73
74
inline
const
DigitizationModule
*
PlanarModuleCluster::digitizationModule
()
75
const
{
76
return
m_digitizationModule
;
77
}
78
}
// namespace Acts
acts
blob
master
Plugins
Digitization
include
Acts
Plugins
Digitization
PlanarModuleCluster.hpp
Built by
Jin Huang
. updated:
Wed Jun 29 2022 17:24:25
using
1.8.2 with
ECCE GitHub integration