ATLAS Offline Software
Loading...
Searching...
No Matches
TrigSpacePointConversionTool.h
Go to the documentation of this file.
1/*
2 Copyright (C) 2002-2023 CERN for the benefit of the ATLAS collaboration
3*/
4
5#ifndef TRIGONLINESPACEPOINTTOOL_TRIG_SPACEPOINT_CONVERSION_TOOL_H
6#define TRIGONLINESPACEPOINTTOOL_TRIG_SPACEPOINT_CONVERSION_TOOL_H
7
8#include "GaudiKernel/ToolHandle.h"
12#include <string>
13#include <vector>
14
17
18
20
21class AtlasDetectorID;
22class SCT_ID;
23class PixelID;
24
25
27
29 public:
30
31 // standard AlgTool methods
32 TrigSpacePointConversionTool(const std::string&,const std::string&,const IInterface*);
34
35 // standard Athena methods
36 StatusCode initialize() override;
37 StatusCode finalize() override;
38
39 //concrete implementations
40 virtual StatusCode getSpacePoints(const IRoiDescriptor&, std::vector<TrigSiSpacePointBase>&, int&, int&, const EventContext& ctx, std::map<Identifier, std::vector<long int> >*clustermap=nullptr) const override final;
41
42
44
45 ToolHandle<ITrigL2LayerNumberTool> m_layerNumberTool {this, "layerNumberTool", "TrigL2LayerNumberTool"};
46
47 const AtlasDetectorID* m_atlasId = nullptr;
48 const SCT_ID* m_sctId = nullptr;
49 const PixelID* m_pixelId = nullptr;
50
51 SG::ReadCondHandleKey<InDet::BeamSpotData> m_beamSpotKey { this, "BeamSpotKey", "BeamSpotData", "SG key for beam spot" };
52
53 std::string m_pixelSpContName,m_sctSpContName;// offline/EF containers
56
62
63 void shiftSpacePoints(std::vector<TrigSiSpacePointBase>&, const EventContext&) const;
64 void transformSpacePoints(std::vector<TrigSiSpacePointBase>&, const EventContext&) const;
65
67 ToolHandle<IRegSelTool> m_regsel_pix { this, "RegSelTool_Pixel", "RegSelTool/RegSelTool_Pixel" };
68 ToolHandle<IRegSelTool> m_regsel_sct { this, "RegSelTool_SCT", "RegSelTool/RegSelTool_SCT" };
69
70};
71#endif
#define protected
Property holding a SG store/key/clid from which a ReadHandle is made.
AthAlgTool(const std::string &type, const std::string &name, const IInterface *parent)
Constructor with parameters:
This class provides an interface to generate or decode an identifier for the upper levels of the dete...
Describes the API of the Region of Ineterest geometry.
provides the abstract interface for the silicon layer number tool
provides the abstract interface for offline SP conversion tool
This is an Identifier helper class for the Pixel subdetector.
Definition PixelID.h:67
This is an Identifier helper class for the SCT subdetector.
Definition SCT_ID.h:68
Property holding a SG store/key/clid from which a ReadHandle is made.
SG::ReadHandleKey< SpacePointContainer > m_sctSpacePointsContainerKey
SG::ReadCondHandleKey< InDet::BeamSpotData > m_beamSpotKey
ToolHandle< ITrigL2LayerNumberTool > m_layerNumberTool
void shiftSpacePoints(std::vector< TrigSiSpacePointBase > &, const EventContext &) const
void transformSpacePoints(std::vector< TrigSiSpacePointBase > &, const EventContext &) const
ToolHandle< IRegSelTool > m_regsel_pix
new region selector tools
TrigSpacePointConversionTool(const std::string &, const std::string &, const IInterface *)
virtual StatusCode getSpacePoints(const IRoiDescriptor &, std::vector< TrigSiSpacePointBase > &, int &, int &, const EventContext &ctx, std::map< Identifier, std::vector< long int > > *clustermap=nullptr) const override final
SG::ReadHandleKey< SpacePointContainer > m_pixelSpacePointsContainerKey