ATLAS Offline Software
InnerDetector
InDetRecTools
ZWindowRoISeedTool
ZWindowRoISeedTool
TruthHSRoISeedTool.h
Go to the documentation of this file.
1
/*
2
Copyright (C) 2002-2020 CERN for the benefit of the ATLAS collaboration
3
*/
4
6
// (c) ATLAS Detector software
8
// Class for Z-window RoI from truth HS position.
10
11
#ifndef SiSpacePointsSeedTool_xk_TruthHSRoISeedTool_h
12
#define SiSpacePointsSeedTool_xk_TruthHSRoISeedTool_h
13
14
#include "
InDetRecToolInterfaces/IZWindowRoISeedTool.h
"
15
#include "GaudiKernel/EventContext.h"
16
#include "
AthenaBaseComps/AthAlgTool.h
"
17
#include "
xAODTruth/TruthEvent.h
"
18
#include "
xAODTruth/TruthEventContainer.h
"
19
20
#include <vector>
21
22
namespace
InDet
{
23
24
class
TruthHSRoISeedTool
final:
25
public
extends<AthAlgTool, IZWindowRoISeedTool>
26
{
27
29
// Public methods:
31
32
public
:
33
35
// Standard tool methods
37
38
TruthHSRoISeedTool
(
const
std::string&,
const
std::string&,
const
IInterface*);
39
virtual
~TruthHSRoISeedTool
() =
default
;
40
virtual
StatusCode
initialize
()
override
;
41
43
virtual
std::vector<ZWindow>
getRoIs
(
const
EventContext& ctx)
const override
;
44
45
protected
:
46
48
TruthHSRoISeedTool
() =
delete
;
49
TruthHSRoISeedTool
(
const
TruthHSRoISeedTool
&) =
delete
;
50
TruthHSRoISeedTool
&
operator=
(
const
TruthHSRoISeedTool
&) =
delete
;
51
53
// Protected data and methods
55
56
SG::ReadHandleKey<xAOD::TruthEventContainer>
m_inputTruthEventsKey
{
this
,
"InputTruthEventsCollection"
,
"TruthEvents"
,
"Input truth events collection."
};
57
FloatProperty
m_z0Window
{
this
,
"TrackZ0Window"
, 1.0,
"width of z0 window"
};
58
59
};
// TruthHSRoISeedTool
60
}
//InDet namespace
61
62
#endif // SiSpacePointsSeedMaker_TruthHSRoISeedTool
63
InDet::TruthHSRoISeedTool::m_inputTruthEventsKey
SG::ReadHandleKey< xAOD::TruthEventContainer > m_inputTruthEventsKey
Definition:
TruthHSRoISeedTool.h:56
InDet::TruthHSRoISeedTool
Definition:
TruthHSRoISeedTool.h:26
InDet::TruthHSRoISeedTool::operator=
TruthHSRoISeedTool & operator=(const TruthHSRoISeedTool &)=delete
InDet
Primary Vertex Finder.
Definition:
VP1ErrorUtils.h:36
SG::ReadHandleKey
Property holding a SG store/key/clid from which a ReadHandle is made.
Definition:
StoreGate/StoreGate/ReadHandleKey.h:39
InDet::TruthHSRoISeedTool::TruthHSRoISeedTool
TruthHSRoISeedTool()=delete
InDet::TruthHSRoISeedTool::m_z0Window
FloatProperty m_z0Window
Definition:
TruthHSRoISeedTool.h:57
InDet::TruthHSRoISeedTool::initialize
virtual StatusCode initialize() override
Definition:
TruthHSRoISeedTool.cxx:31
EL::StatusCode
::StatusCode StatusCode
StatusCode definition for legacy code.
Definition:
PhysicsAnalysis/D3PDTools/EventLoop/EventLoop/StatusCode.h:22
AthAlgTool.h
InDet::TruthHSRoISeedTool::getRoIs
virtual std::vector< ZWindow > getRoIs(const EventContext &ctx) const override
Compute RoI.
Definition:
TruthHSRoISeedTool.cxx:44
InDet::TruthHSRoISeedTool::~TruthHSRoISeedTool
virtual ~TruthHSRoISeedTool()=default
InDet::TruthHSRoISeedTool::TruthHSRoISeedTool
TruthHSRoISeedTool(const TruthHSRoISeedTool &)=delete
TruthEventContainer.h
IZWindowRoISeedTool.h
TruthEvent.h
Generated on Thu Nov 7 2024 21:31:06 for ATLAS Offline Software by
1.8.18