ATLAS Offline Software
Loading...
Searching...
No Matches
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
23namespace D3PD {
24
25
30 : public BlockFillerTool<Types<AmgSymMatrix(5),AmgSymMatrix(3),Amg::MatrixX>>
31{
32public:
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
62private:
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
A specialization of BlockFillerTool that can accept one of several types.
#define AmgSymMatrix(dim)
Type-safe wrapper for block filler tools.
virtual StatusCode book()
Book variables for this block.
std::vector< float * > m_cov
Variables: covariance matrix.
std::vector< float * > m_err
Variables: uncertainty.
virtual StatusCode fill(const AmgSymMatrix(5) &p)
Fill one block — type-safe version.
CovarianceFillerTool(const std::string &type, const std::string &name, const IInterface *parent)
Standard Gaudi tool constructor.
Eigen::Matrix< double, Eigen::Dynamic, Eigen::Dynamic > MatrixX
Dynamic Matrix - dynamic allocation.
Block filler tool for noisy FEB information.