ATLAS Offline Software
Loading...
Searching...
No Matches
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
15#include "GaudiKernel/EventContext.h"
19
20#include <vector>
21
22namespace 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
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
SG::ReadHandleKey< xAOD::TruthEventContainer > m_inputTruthEventsKey
virtual StatusCode initialize() override
TruthHSRoISeedTool(const std::string &, const std::string &, const IInterface *)
TruthHSRoISeedTool & operator=(const TruthHSRoISeedTool &)=delete
virtual std::vector< ZWindow > getRoIs(const EventContext &ctx) const override
Compute RoI.
TruthHSRoISeedTool(const TruthHSRoISeedTool &)=delete
virtual ~TruthHSRoISeedTool()=default
Property holding a SG store/key/clid from which a ReadHandle is made.
Primary Vertex Finder.