ATLAS Offline Software
Loading...
Searching...
No Matches
PerigeeBLPredictionFillerTool.h
Go to the documentation of this file.
1// This file's extension implies that it's C, but it's really -*- C++ -*-.
2/*
3 Copyright (C) 2002-2024 CERN for the benefit of the ATLAS collaboration
4*/
11#ifndef TRACKD3PDMAKER_PERIGEEBLPREDICTIONFILLERTOOL_H
12#define TRACKD3PDMAKER_PERIGEEBLPREDICTIONFILLERTOOL_H
13
15#include "GaudiKernel/ToolHandle.h"
16#include "Identifier/Identifier.h"
19
20class PixelID;
21
22namespace D3PD {
23
28 : public BlockFillerTool<Trk::Perigee>
29{
30public:
37 PerigeeBLPredictionFillerTool(const std::string& type,
38 const std::string& name,
39 const IInterface* parent);
40
42 virtual StatusCode initialize() override;
43
45 virtual StatusCode book() final;
46
55 virtual StatusCode fill (const Trk::Perigee& p) override;
56
57private:
58
59 void clearData();
60
62 ToolHandle< InDet::IInDetTestPixelLayerTool > m_inDetTestPixelLayerTool
63 { this, "InDetTestPixelLayerTool", "", "Tool to test if the track crosses a dead module on the B-Layer." };
64
66
68
69 // Track predictions on the B-layer
70 std::vector<float> *m_x;
71 std::vector<float> *m_y;
72 std::vector<float> *m_z;
73 std::vector<float> *m_locX;
74 std::vector<float> *m_locY;
75 std::vector<float> *m_err_locX;
76 std::vector<float> *m_err_locY;
77 std::vector<float> *m_etaDistToEdge;
78 std::vector<float> *m_phiDistToEdge;
79 std::vector<Identifier32::value_type> *m_detElementId; // unique identifier for a detector element
80 std::vector<int> *m_row;
81 std::vector<int> *m_col;
82 std::vector<int> *m_type;
83};
84
85
86} // namespace D3PD
87
88
89#endif // not TRACKD3PDMAKER_PERIGEEBLPREDICTIONFILLERTOOL_H
Type-safe wrapper for block filler tools.
Type-safe wrapper for block filler tools.
virtual StatusCode book() final
Book variables for this block.
virtual StatusCode fill(const Trk::Perigee &p) override
Fill one block — type-safe version.
virtual StatusCode initialize() override
Standard Gaudi initialize method.
ToolHandle< InDet::IInDetTestPixelLayerTool > m_inDetTestPixelLayerTool
Parameter: Tool to test if the track crosses a dead module on the B-Layer.
PerigeeBLPredictionFillerTool(const std::string &type, const std::string &name, const IInterface *parent)
Standard Gaudi tool constructor.
std::vector< Identifier32::value_type > * m_detElementId
This is an Identifier helper class for the Pixel subdetector.
Definition PixelID.h:67
Block filler tool for noisy FEB information.
ParametersT< TrackParametersDim, Charged, PerigeeSurface > Perigee