forked from sPHENIX-Collaboration/acts
/
IdentifiedDetectorElement.hpp
40 lines (32 loc) · 1.21 KB
/
IdentifiedDetectorElement.hpp
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
// This file is part of the Acts project.
//
// Copyright (C) 2018 CERN for the benefit of the Acts project
//
// This Source Code Form is subject to the terms of the Mozilla Public
// License, v. 2.0. If a copy of the MPL was not distributed with this
// file, You can obtain one at http://mozilla.org/MPL/2.0/.
///////////////////////////////////////////////////////////////////
// IdentifiedDetectorElement.hpp, Acts project
///////////////////////////////////////////////////////////////////
#pragma once
#include "Acts/Geometry/DetectorElementBase.hpp"
#include "Acts/Plugins/Identification/Identifier.hpp"
namespace Acts {
class DigitizationModule;
/// @brief The identified detector element
///
/// It adds the Identifier defnition and a forward
/// declaration of the DigitizationModule to the detector
/// elements
///
/// The identifier can be overwritten with by the use of
/// the ACTS_CORE_IDENTIFIER_PLUGIN
class IdentifiedDetectorElement : public DetectorElementBase {
public:
/// Retrieve the Identifier
virtual Identifier identifier() const = 0;
/// Retrieve the DigitizationModule
virtual const std::shared_ptr<const DigitizationModule> digitizationModule()
const = 0;
};
} // end of namespace Acts