#include <TruthHSRoISeedTool.h>
Definition at line 24 of file TruthHSRoISeedTool.h.
◆ TruthHSRoISeedTool() [1/3]
| InDet::TruthHSRoISeedTool::TruthHSRoISeedTool |
( |
const std::string & | t, |
|
|
const std::string & | n, |
|
|
const IInterface * | p ) |
◆ ~TruthHSRoISeedTool()
| virtual InDet::TruthHSRoISeedTool::~TruthHSRoISeedTool |
( |
| ) |
|
|
virtualdefault |
◆ TruthHSRoISeedTool() [2/3]
| InDet::TruthHSRoISeedTool::TruthHSRoISeedTool |
( |
| ) |
|
|
protecteddelete |
◆ TruthHSRoISeedTool() [3/3]
◆ getRoIs()
Compute RoI.
Definition at line 44 of file TruthHSRoISeedTool.cxx.
45{
46
47
48 std::vector<InDet::IZWindowRoISeedTool::ZWindow> listRoIs;
49 listRoIs.clear();
50
51
53 if (not truthEvents.isValid()) {
54 ATH_MSG_ERROR(
"Cannot retrieve xAOD truth event information. Bailing out with empty RoI list.");
55 return listRoIs;
56 }
58
59
62 if (hsPos == nullptr) {
63 ATH_MSG_DEBUG(
"Invalid signal process vertex! Trying next TruthEvent.");
64 continue;
65 }
66 InDet::IZWindowRoISeedTool::ZWindow RoI;
70 listRoIs.push_back(RoI);
72
73 break;
74 }
75
76 return listRoIs;
77
78}
float z() const
Vertex longitudinal distance along the beam line form the origin.
TruthVertex_v1 TruthVertex
Typedef to implementation.
TruthEvent_v1 TruthEvent
Typedef to implementation.
◆ initialize()
| StatusCode InDet::TruthHSRoISeedTool::initialize |
( |
| ) |
|
|
overridevirtual |
Definition at line 31 of file TruthHSRoISeedTool.cxx.
32{
34
36
38}
#define ATH_CHECK
Evaluate an expression and check for errors.
::StatusCode StatusCode
StatusCode definition for legacy code.
◆ operator=()
◆ m_inputTruthEventsKey
Definition at line 56 of file TruthHSRoISeedTool.h.
56{this, "InputTruthEventsCollection", "TruthEvents", "Input truth events collection."};
◆ m_z0Window
| FloatProperty InDet::TruthHSRoISeedTool::m_z0Window {this, "TrackZ0Window", 1.0, "width of z0 window"} |
|
protected |
The documentation for this class was generated from the following files: