ATLAS Offline Software
PerigeeFillerTool.h
Go to the documentation of this file.
1 /*
2  Copyright (C) 2002-2022 CERN for the benefit of the ATLAS collaboration
3 */
4 
5 #ifndef TRACKD3PDMAKER_PERIGEEFILLERTOOL_H
6 #define TRACKD3PDMAKER_PERIGEEFILLERTOOL_H
7 
10 
11 namespace D3PD {
12 
14  : public D3PD::BlockFillerTool<Trk::TrackParameters>
15 {
16 public:
17  PerigeeFillerTool (const std::string& type,
18  const std::string& name,
19  const IInterface* parent);
20 
21  virtual StatusCode book() final;
22 
23  virtual StatusCode fill (const Trk::TrackParameters &p) override;
24 
25 private:
26 
30 
32  bool m_fillPhi;
33 
36 
37  /* NTuple variables: **/
38  // track parameters at perigee
39  float *m_d0;
40  float *m_z0;
41  float *m_phi;
42  float *m_theta;
43  float *m_qoverp;
44 
45  // momentum
46  float *m_pt;
47  float *m_eta;
48 
49 }; // class PerigeeFillerTool
50 
51 } // namespace D3PD
52 
53 #endif // not TRACKD3PDMAKER_PERIGEEFILLERTOOL_H
D3PD::PerigeeFillerTool::m_pt
float * m_pt
Definition: PerigeeFillerTool.h:46
D3PD::PerigeeFillerTool::m_fillPerigee
bool m_fillPerigee
Definition: PerigeeFillerTool.h:28
TrackParameters.h
D3PD::PerigeeFillerTool
Definition: PerigeeFillerTool.h:15
D3PD::PerigeeFillerTool::book
virtual StatusCode book() final
Declare tuple variables.
Definition: PerigeeFillerTool.cxx:35
D3PD::PerigeeFillerTool::m_fillPhi
bool m_fillPhi
Parameter: Should the phi variable be filled?
Definition: PerigeeFillerTool.h:32
BlockFillerTool.h
Type-safe wrapper for block filler tools.
D3PD
Block filler tool for noisy FEB information.
Definition: CaloCellDetailsFillerTool.cxx:29
python.utils.AtlRunQueryDQUtils.p
p
Definition: AtlRunQueryDQUtils.py:210
D3PD::PerigeeFillerTool::m_fillMomentum
bool m_fillMomentum
Definition: PerigeeFillerTool.h:27
EL::StatusCode
::StatusCode StatusCode
StatusCode definition for legacy code.
Definition: PhysicsAnalysis/D3PDTools/EventLoop/EventLoop/StatusCode.h:22
D3PD::PerigeeFillerTool::m_qoverp
float * m_qoverp
Definition: PerigeeFillerTool.h:43
D3PD::PerigeeFillerTool::m_fillThetaAndQoverP
bool m_fillThetaAndQoverP
Definition: PerigeeFillerTool.h:29
test_pyathena.parent
parent
Definition: test_pyathena.py:15
D3PD::BlockFillerTool
Type-safe wrapper for block filler tools.
Definition: BlockFillerTool.h:68
Trk::ParametersBase
Definition: ParametersBase.h:55
D3PD::PerigeeFillerTool::m_eta
float * m_eta
Definition: PerigeeFillerTool.h:47
D3PD::PerigeeFillerTool::m_theta
float * m_theta
Definition: PerigeeFillerTool.h:42
name
std::string name
Definition: Control/AthContainers/Root/debug.cxx:221
D3PD::PerigeeFillerTool::PerigeeFillerTool
PerigeeFillerTool(const std::string &type, const std::string &name, const IInterface *parent)
Definition: PerigeeFillerTool.cxx:14
D3PD::PerigeeFillerTool::fill
virtual StatusCode fill(const Trk::TrackParameters &p) override
Fill one block — type-safe version.
Definition: PerigeeFillerTool.cxx:57
D3PD::PerigeeFillerTool::m_z0
float * m_z0
Definition: PerigeeFillerTool.h:40
python.CaloScaleNoiseConfig.type
type
Definition: CaloScaleNoiseConfig.py:78
D3PD::PerigeeFillerTool::m_d0
float * m_d0
Definition: PerigeeFillerTool.h:39
D3PD::PerigeeFillerTool::m_phi
float * m_phi
Definition: PerigeeFillerTool.h:41
D3PD::PerigeeFillerTool::m_defaultValue
float m_defaultValue
Parameter: Value to which to set variables if they don't get filled.
Definition: PerigeeFillerTool.h:35