ATLAS Offline Software
ImpactSigmaFillerTool.cxx
Go to the documentation of this file.
1 /*
2  Copyright (C) 2002-2017 CERN for the benefit of the ATLAS collaboration
3 */
4 
5 // $Id$
14 #include "ImpactSigmaFillerTool.h"
15 //#include "TrkEventPrimitives/ErrorMatrix.h"
19 #include <sstream>
20 
21 
22 namespace D3PD {
23 
24 
31 //ImpactSigmaFillerTool::ImpactSigmaFillerTool
32 // (const std::string& type,
33 // const std::string& name,
34 // const IInterface* parent)
35 // : BlockFillerTool<AmgSymMatrix(5)> (type, name, parent)
37  (const std::string& type,
38  const std::string& name,
39  const IInterface* parent)
41 {
42  book().ignore(); // Avoid coverity warnings.
43 }
44 
45 
50 {
51  CHECK( addVariable ("sigd0", m_sigd0,
52  "Uncertainty on transverse impact parameter.",
53  -9999) );
54  CHECK( addVariable ("sigz0", m_sigz0,
55  "Uncertainty on longitudinal impact parameter.",
56  -9999) );
57  return StatusCode::SUCCESS;
58 }
59 
60 
69  //StatusCode ImpactSigmaFillerTool::fill (const AmgSymMatrix(5)& m)
71 {
74  return StatusCode::SUCCESS;
75 }
76 
77 
78 } // namespace D3PD
python.SystemOfUnits.m
int m
Definition: SystemOfUnits.py:91
EventPrimitivesHelpers.h
Trk::z0
@ z0
Definition: ParamDefs.h:64
D3PD::AddVariable::addVariable
virtual StatusCode addVariable(const std::string &name, const std::type_info &ti, void *&ptr, const std::string &docstring="", const void *defval=0)
Add a variable to the tuple.
Definition: AddVariable.cxx:85
ParamDefs.h
D3PD::AmgSymMatrix
const AmgSymMatrix(5) *PerigeeCovarianceAssociationTool
Return the target object.
Definition: PerigeeCovarianceAssociationTool.cxx:43
D3PD
Block filler tool for noisy FEB information.
Definition: CaloCellDetailsFillerTool.cxx:29
D3PD::ImpactSigmaFillerTool::book
virtual StatusCode book() final
Book variables for this block.
Definition: ImpactSigmaFillerTool.cxx:49
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
CHECK
#define CHECK(...)
Evaluate an expression and check for errors.
Definition: Control/AthenaKernel/AthenaKernel/errorcheck.h:422
name
std::string name
Definition: Control/AthContainers/Root/debug.cxx:228
Trk::d0
@ d0
Definition: ParamDefs.h:63
Amg::error
double error(const Amg::MatrixX &mat, int index)
return diagonal error of the matrix caller should ensure the matrix is symmetric and the index is in ...
Definition: EventPrimitivesHelpers.h:40
errorcheck.h
Helpers for checking error return status codes and reporting errors.
D3PD::ImpactSigmaFillerTool::fill
virtual StatusCode fill(const AmgSymMatrix(5) &p) override
Fill one block — type-safe version.
Definition: ImpactSigmaFillerTool.cxx:70
python.CaloScaleNoiseConfig.type
type
Definition: CaloScaleNoiseConfig.py:78
ImpactSigmaFillerTool.h
Fill d0/z0 uncertainties from an ErrorMatrix.
D3PD::ImpactSigmaFillerTool::m_sigz0
float * m_sigz0
Variables: z0 uncertainty.
Definition: ImpactSigmaFillerTool.h:70
D3PD::ImpactSigmaFillerTool::m_sigd0
float * m_sigd0
Variables: d0 uncertainty.
Definition: ImpactSigmaFillerTool.h:67
D3PD::ImpactSigmaFillerTool::ImpactSigmaFillerTool
ImpactSigmaFillerTool(const std::string &type, const std::string &name, const IInterface *parent)
Standard Gaudi tool constructor.
Definition: ImpactSigmaFillerTool.cxx:37