ATLAS Offline Software
Toggle main menu visibility
Loading...
Searching...
No Matches
Tracking
TrkEvent
TrkCaloExtension
TrkCaloExtension
TrkEvent/TrkCaloExtension/TrkCaloExtension/CaloExtension.h
Go to the documentation of this file.
1
/*
2
Copyright (C) 2002-2025 CERN for the benefit of the ATLAS collaboration
3
*/
4
5
#ifndef TRK_CALOEXTENSION_H
6
#define TRK_CALOEXTENSION_H
7
8
#include <vector>
9
#include "
TrkParameters/TrackParameters.h
"
10
11
namespace
Trk
{
12
19
class
CaloExtension
{
20
public
:
22
CaloExtension
(std::unique_ptr<TrackParameters> caloEntry,
23
std::unique_ptr<TrackParameters> muonEntry,
24
std::vector<CurvilinearParameters>&& caloLayers);
25
29
const
TrackParameters
*
caloEntryLayerIntersection
()
const
;
30
34
const
TrackParameters
*
muonEntryLayerIntersection
()
const
;
35
39
const
std::vector<CurvilinearParameters>&
caloLayerIntersections
()
const
;
40
41
private
:
42
44
std::unique_ptr<TrackParameters>
m_caloEntryLayerIntersection
{
nullptr
};
46
std::unique_ptr<TrackParameters>
m_muonEntryLayerIntersection
{
nullptr
};
48
std::vector<CurvilinearParameters>
m_caloLayerIntersections
{};
49
};
50
51
inline
const
TrackParameters
*
CaloExtension::caloEntryLayerIntersection
()
const
{
52
return
m_caloEntryLayerIntersection
.get();
53
}
54
55
inline
const
TrackParameters
*
CaloExtension::muonEntryLayerIntersection
()
const
{
56
return
m_muonEntryLayerIntersection
.get();
57
}
58
59
inline
const
std::vector<CurvilinearParameters>&
CaloExtension::caloLayerIntersections
()
const
{
60
return
m_caloLayerIntersections
;
61
}
62
63
}
// namespace Trk
64
65
#endif
TrackParameters.h
Trk::CaloExtension::m_muonEntryLayerIntersection
std::unique_ptr< TrackParameters > m_muonEntryLayerIntersection
parameters at the muon entrance
Definition
TrkEvent/TrkCaloExtension/TrkCaloExtension/CaloExtension.h:46
Trk::CaloExtension::m_caloEntryLayerIntersection
std::unique_ptr< TrackParameters > m_caloEntryLayerIntersection
parameters at the calorimeter entrance
Definition
TrkEvent/TrkCaloExtension/TrkCaloExtension/CaloExtension.h:44
Trk::CaloExtension::caloLayerIntersections
const std::vector< CurvilinearParameters > & caloLayerIntersections() const
access to the intersections with the calorimeter layers.
Definition
TrkEvent/TrkCaloExtension/TrkCaloExtension/CaloExtension.h:59
Trk::CaloExtension::m_caloLayerIntersections
std::vector< CurvilinearParameters > m_caloLayerIntersections
parameters at the different calorimeter layers
Definition
TrkEvent/TrkCaloExtension/TrkCaloExtension/CaloExtension.h:48
Trk::CaloExtension::caloEntryLayerIntersection
const TrackParameters * caloEntryLayerIntersection() const
access to intersection with the calorimeter entry layer return nullptr if the intersection failed
Definition
TrkEvent/TrkCaloExtension/TrkCaloExtension/CaloExtension.h:51
Trk::CaloExtension::CaloExtension
CaloExtension(std::unique_ptr< TrackParameters > caloEntry, std::unique_ptr< TrackParameters > muonEntry, std::vector< CurvilinearParameters > &&caloLayers)
constructor taking result of the intersection as arguments
Definition
TrkEvent/TrkCaloExtension/src/CaloExtension.cxx:7
Trk::CaloExtension::muonEntryLayerIntersection
const TrackParameters * muonEntryLayerIntersection() const
access to intersection with the muon entry layer return nullptr if the intersection failed
Definition
TrkEvent/TrkCaloExtension/TrkCaloExtension/CaloExtension.h:55
Trk
Ensure that the ATLAS eigen extensions are properly loaded.
Definition
FakeTrackBuilder.h:9
Trk::TrackParameters
ParametersBase< TrackParametersDim, Charged > TrackParameters
Definition
Tracking/TrkEvent/TrkParameters/TrkParameters/TrackParameters.h:27
Generated on
for ATLAS Offline Software by
1.17.0