ATLAS Offline Software
Toggle main menu visibility
Loading...
Searching...
No Matches
Event
FourMom
FourMom
ErrorMatrixPxPyPzM.h
Go to the documentation of this file.
1
/*
2
Copyright (C) 2002-2017 CERN for the benefit of the ATLAS collaboration
3
*/
4
5
#ifndef ErrorMatrixPxPyPzM_H
6
#define ErrorMatrixPxPyPzM_H
7
8
#include "
FourMom/ErrorMatrixBase.h
"
9
10
#include <cmath>
11
12
class
ErrorMatrixPxPyPzM
:
private
ErrorMatrixBase
< ErrorMatrixPxPyPzM> {
13
public
:
14
15
typedef
ErrorMatrixBase< ErrorMatrixPxPyPzM>
Base
;
16
18
enum
Index
{
ipx
=0,
ipy
=1,
ipz
=2,
ie
=3};
19
21
ErrorMatrixPxPyPzM
();
22
24
ErrorMatrixPxPyPzM
(
const
CLHEP::HepSymMatrix& mat);
25
26
using
Base::operator();
27
using
Base::hsm
;
28
using
Base::num_row
;
29
using
Base::num_col
;
30
31
double
pxError
()
const
{
32
return
std::sqrt(
impl
()(
ipx
,
ipx
));
33
}
34
35
36
};
37
38
#endif
ErrorMatrixBase.h
ErrorMatrixBase< ErrorMatrixPxPyPzM >::hsm
const CLHEP::HepSymMatrix & hsm() const
Definition
ErrorMatrixBase.h:29
ErrorMatrixBase< ErrorMatrixPxPyPzM >::ErrorMatrixBase
ErrorMatrixBase()
Definition
ErrorMatrixBase.h:14
ErrorMatrixBase< ErrorMatrixPxPyPzM >::num_col
int num_col() const
Definition
ErrorMatrixBase.h:19
ErrorMatrixBase< ErrorMatrixPxPyPzM >::num_row
int num_row() const
Definition
ErrorMatrixBase.h:18
ErrorMatrixBase< ErrorMatrixPxPyPzM >::impl
const CLHEP::HepSymMatrix & impl() const
Definition
ErrorMatrixBase.h:58
ErrorMatrixPxPyPzM::Index
Index
Enumerator for error parameterization.
Definition
ErrorMatrixPxPyPzM.h:18
ErrorMatrixPxPyPzM::ipy
@ ipy
Definition
ErrorMatrixPxPyPzM.h:18
ErrorMatrixPxPyPzM::ipx
@ ipx
Definition
ErrorMatrixPxPyPzM.h:18
ErrorMatrixPxPyPzM::ie
@ ie
Definition
ErrorMatrixPxPyPzM.h:18
ErrorMatrixPxPyPzM::ipz
@ ipz
Definition
ErrorMatrixPxPyPzM.h:18
ErrorMatrixPxPyPzM::ErrorMatrixPxPyPzM
ErrorMatrixPxPyPzM()
Default constructor creates zeroed 4x4 matrix.
Definition
ErrorMatrixPxPyPzM.cxx:8
ErrorMatrixPxPyPzM::Base
ErrorMatrixBase< ErrorMatrixPxPyPzM > Base
Definition
ErrorMatrixPxPyPzM.h:15
ErrorMatrixPxPyPzM::pxError
double pxError() const
Definition
ErrorMatrixPxPyPzM.h:31
Generated on
for ATLAS Offline Software by
1.17.0