ATLAS Offline Software
CovarianceFillerTool.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 /*
4  Copyright (C) 2002-2017 CERN for the benefit of the ATLAS collaboration
5 */
6 
7 // $Id: CovarianceFillerTool.h 281348 2010-02-24 23:15:11Z zaidan $
14 #ifndef TRACKD3PDMAKER_COVARIANCEFILLERTOOL_H
15 #define TRACKD3PDMAKER_COVARIANCEFILLERTOOL_H
16 
17 
20 
21 #include <vector>
22 
23 namespace D3PD {
24 
25 
30  : public BlockFillerTool<Types<AmgSymMatrix(5),AmgSymMatrix(3),Amg::MatrixX>>
31 {
32 public:
39  CovarianceFillerTool (const std::string& type,
40  const std::string& name,
41  const IInterface* parent);
42 
43 
45  virtual StatusCode book();
46 
47 
56  virtual StatusCode fill (const AmgSymMatrix(5) &p);
57 
58  virtual StatusCode fill (const AmgSymMatrix(3) &p);
59 
60  virtual StatusCode fill (const Amg::MatrixX &p);
61 
62 private:
63 
71 
73  std::vector<float*> m_err;
74 
76  std::vector<float*> m_cov;
77 
78 };
79 
80 
81 } // namespace D3PD
82 
83 
84 #endif // not TRACKD3PDMAKER_COVARIANCEFILLERTOOL_H
Amg::MatrixX
Eigen::Matrix< double, Eigen::Dynamic, Eigen::Dynamic > MatrixX
Dynamic Matrix - dynamic allocation.
Definition: EventPrimitives.h:27
D3PD::CovarianceFillerTool::m_writeError
bool m_writeError
parameters
Definition: CovarianceFillerTool.h:65
D3PD::CovarianceFillerTool::m_err
std::vector< float * > m_err
Variables: uncertainty.
Definition: CovarianceFillerTool.h:73
D3PD::CovarianceFillerTool::m_writeOffDiagCovariance
bool m_writeOffDiagCovariance
Definition: CovarianceFillerTool.h:67
D3PD::CovarianceFillerTool
Block filler tool for error and covariance matrix.
Definition: CovarianceFillerTool.h:31
D3PD::CovarianceFillerTool::book
virtual StatusCode book()
Book variables for this block.
Definition: CovarianceFillerTool.cxx:49
D3PD::CovarianceFillerTool::CovarianceFillerTool
CovarianceFillerTool(const std::string &type, const std::string &name, const IInterface *parent)
Standard Gaudi tool constructor.
Definition: CovarianceFillerTool.cxx:32
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
python.utils.AtlRunQueryDQUtils.p
p
Definition: AtlRunQueryDQUtils.py:210
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
BlockFillerToolMulti.h
A specialization of BlockFillerTool that can accept one of several types.
D3PD::CovarianceFillerTool::m_nParameters
int m_nParameters
Definition: CovarianceFillerTool.h:70
EventPrimitives.h
D3PD::CovarianceFillerTool::m_writeDiagCovariance
bool m_writeDiagCovariance
Definition: CovarianceFillerTool.h:66
name
std::string name
Definition: Control/AthContainers/Root/debug.cxx:228
D3PD::CovarianceFillerTool::m_cov
std::vector< float * > m_cov
Variables: covariance matrix.
Definition: CovarianceFillerTool.h:76
D3PD::CovarianceFillerTool::fill
virtual StatusCode fill(const AmgSymMatrix(5) &p)
Fill one block — type-safe version.
Definition: CovarianceFillerTool.cxx:169
D3PD::CovarianceFillerTool::m_isTrackPerigee
bool m_isTrackPerigee
Definition: CovarianceFillerTool.h:69
python.CaloScaleNoiseConfig.type
type
Definition: CaloScaleNoiseConfig.py:78
D3PD::CovarianceFillerTool::m_isPosition
bool m_isPosition
Definition: CovarianceFillerTool.h:68