ATLAS Offline Software
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 
20 class PixelID;
21 
22 namespace D3PD {
23 
28  : public BlockFillerTool<Trk::Perigee>
29 {
30 public:
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 
57 private:
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 
65  const PixelID* m_pixId;
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
D3PD::PerigeeBLPredictionFillerTool::m_detElementId
std::vector< Identifier32::value_type > * m_detElementId
Definition: PerigeeBLPredictionFillerTool.h:79
D3PD::PerigeeBLPredictionFillerTool::m_phiDistToEdge
std::vector< float > * m_phiDistToEdge
Definition: PerigeeBLPredictionFillerTool.h:78
D3PD::PerigeeBLPredictionFillerTool::m_locX
std::vector< float > * m_locX
Definition: PerigeeBLPredictionFillerTool.h:73
TrackParameters.h
D3PD::PerigeeBLPredictionFillerTool::book
virtual StatusCode book() final
Book variables for this block.
Definition: PerigeeBLPredictionFillerTool.cxx:52
Trk::ParametersT
Dummy class used to allow special convertors to be called for surfaces owned by a detector element.
Definition: EMErrorDetail.h:25
D3PD::PerigeeBLPredictionFillerTool::m_x
std::vector< float > * m_x
Variables:
Definition: PerigeeBLPredictionFillerTool.h:70
D3PD::PerigeeBLPredictionFillerTool::fill
virtual StatusCode fill(const Trk::Perigee &p) override
Fill one block — type-safe version.
Definition: PerigeeBLPredictionFillerTool.cxx:82
D3PD::PerigeeBLPredictionFillerTool::m_etaDistToEdge
std::vector< float > * m_etaDistToEdge
Definition: PerigeeBLPredictionFillerTool.h:77
D3PD::PerigeeBLPredictionFillerTool::clearData
void clearData()
Definition: PerigeeBLPredictionFillerTool.cxx:130
D3PD::PerigeeBLPredictionFillerTool::m_type
std::vector< int > * m_type
Definition: PerigeeBLPredictionFillerTool.h:82
BlockFillerTool.h
Type-safe wrapper for block filler tools.
D3PD::PerigeeBLPredictionFillerTool::m_locY
std::vector< float > * m_locY
Definition: PerigeeBLPredictionFillerTool.h:74
D3PD::PerigeeBLPredictionFillerTool::m_row
std::vector< int > * m_row
Definition: PerigeeBLPredictionFillerTool.h:80
IInDetTestPixelLayerTool.h
D3PD
Block filler tool for noisy FEB information.
Definition: CaloCellDetailsFillerTool.cxx:29
python.utils.AtlRunQueryDQUtils.p
p
Definition: AtlRunQueryDQUtils.py:210
D3PD::PerigeeBLPredictionFillerTool::m_pixId
const PixelID * m_pixId
Definition: PerigeeBLPredictionFillerTool.h:65
D3PD::PerigeeBLPredictionFillerTool::m_err_locX
std::vector< float > * m_err_locX
Definition: PerigeeBLPredictionFillerTool.h:75
EL::StatusCode
::StatusCode StatusCode
StatusCode definition for legacy code.
Definition: PhysicsAnalysis/D3PDTools/EventLoop/EventLoop/StatusCode.h:22
test_pyathena.parent
parent
Definition: test_pyathena.py:15
D3PD::BlockFillerTool
Type-safe wrapper for block filler tools.
Definition: BlockFillerTool.h:65
name
std::string name
Definition: Control/AthContainers/Root/debug.cxx:228
D3PD::PerigeeBLPredictionFillerTool::PerigeeBLPredictionFillerTool
PerigeeBLPredictionFillerTool(const std::string &type, const std::string &name, const IInterface *parent)
Standard Gaudi tool constructor.
Definition: PerigeeBLPredictionFillerTool.cxx:27
D3PD::PerigeeBLPredictionFillerTool::m_col
std::vector< int > * m_col
Definition: PerigeeBLPredictionFillerTool.h:81
D3PD::PerigeeBLPredictionFillerTool::m_inDetTestPixelLayerTool
ToolHandle< InDet::IInDetTestPixelLayerTool > m_inDetTestPixelLayerTool
Parameter: Tool to test if the track crosses a dead module on the B-Layer.
Definition: PerigeeBLPredictionFillerTool.h:63
D3PD::PerigeeBLPredictionFillerTool
Fill expectHitInBLayer from a Perigee.
Definition: PerigeeBLPredictionFillerTool.h:29
D3PD::PerigeeBLPredictionFillerTool::initialize
virtual StatusCode initialize() override
Standard Gaudi initialize method.
Definition: PerigeeBLPredictionFillerTool.cxx:39
python.CaloScaleNoiseConfig.type
type
Definition: CaloScaleNoiseConfig.py:78
D3PD::PerigeeBLPredictionFillerTool::m_z
std::vector< float > * m_z
Definition: PerigeeBLPredictionFillerTool.h:72
PixelID
Definition: PixelID.h:67
D3PD::PerigeeBLPredictionFillerTool::m_err_locY
std::vector< float > * m_err_locY
Definition: PerigeeBLPredictionFillerTool.h:76
D3PD::PerigeeBLPredictionFillerTool::m_y
std::vector< float > * m_y
Definition: PerigeeBLPredictionFillerTool.h:71