ECCE @ EIC Software
 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 
13 
15 #ifdef ACTS_CORE_IDENTIFIER_PLUGIN
16 #include ACTS_CORE_IDENTIFIER_PLUGIN
17 #else
19 #endif
20 
25 
26 namespace Acts {
27 
28 template <ParID_t... params>
29 using Measurement_t = Measurement<Identifier, params...>;
30 
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)
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 
63 
64  private:
65  std::vector<DigitizationCell> m_digitizationCells;
67 };
68 
69 inline const std::vector<DigitizationCell>&
71  return m_digitizationCells;
72 }
73 
75  const {
76  return m_digitizationModule;
77 }
78 } // namespace Acts