ATLAS Offline Software
|
#include <EMClusterPhiErrorsMatrix.h>
Public Member Functions | |
EMClusterPhiErrorsMatrix () | |
EMClusterPhiErrorsMatrix (const std::vector< EMAPMatrixAxis > &axes, const std::string &textDescription="") | |
~EMClusterPhiErrorsMatrix () | |
Default destructor. More... | |
StatusCode | setError (double eta, float a) |
Add the outcome of the test at the given "eta" and "pt" value, i.e. if the reconstruction was successful or not. More... | |
double | getError (double eta, double energyCluster) const |
Get (reconstruction/trigger) efficiency for a track. More... | |
StatusCode | setError (const std::vector< double > &x, const EMClusterErrorsEntry &apEntry) |
Sets bin-content to "apEntry" in bin which corresponds to value std::vector x. More... | |
const EMClusterErrorsEntry * | getError (std::vector< double > x) const |
Get efficiency in bin which corresponds to value std::vector x. More... | |
const EMClusterErrorsEntry * | getError (double x) const |
void | printMatrix () const |
StatusCode | setupMatrix (std::vector< EMAPMatrixAxis > axes) |
Setup Matrix via given std::vector of EMAPMatrixAxis objects. More... | |
StatusCode | setBinContent (double x, EMClusterErrorsEntry value) |
Set Bin-content to "T" in bin which corresponds to value "x". More... | |
StatusCode | setBinContent (double x, double y, EMClusterErrorsEntry value) |
Set Bin-content to "T" in bin which corresponds to value "x" and "y". More... | |
StatusCode | setBinContent (double x, double y, double z, EMClusterErrorsEntry value) |
Set Bin-content to "T" in bin which corresponds to value "x,y,z". More... | |
StatusCode | setBinContent (double x, double y, double z, double u, EMClusterErrorsEntry value) |
Set Bin-content to "T" in bin which corresponds to value "x,y,z,u". More... | |
StatusCode | setBinContent (double x, double y, double z, double u, double v, EMClusterErrorsEntry value) |
Set Bin-content to "T" in bin which corresponds to value "x,y,z,u,v". More... | |
StatusCode | setBinContent (const std::vector< double > &x, EMClusterErrorsEntry value) |
Set Bin-content to "T" in bin which corresponds to value std::vector x. More... | |
const EMClusterErrorsEntry * | getBinContent (double x) const |
Get Bin-content to "T" in bin which corresponds to value "x". More... | |
const EMClusterErrorsEntry * | getBinContent (double x, double y) const |
Get Bin-content to "T" in bin which corresponds to value "x,y". More... | |
const EMClusterErrorsEntry * | getBinContent (double x, double y, double z) const |
Get Bin-content to "T" in bin which corresponds to value "x,y,z". More... | |
const EMClusterErrorsEntry * | getBinContent (double x, double y, double z, double u) const |
Get Bin-content to "T" in bin which corresponds to value "x,y,z,u". More... | |
const EMClusterErrorsEntry * | getBinContent (double x, double y, double z, double u, double v) const |
Get Bin-content to "T" in bin which corresponds to value "x,y,z,u,v". More... | |
const EMClusterErrorsEntry * | getBinContent (const std::vector< double > &x) const |
Get Bin-content to "T" in bin which corresponds to value std::vector x. More... | |
int | getDimensions () const |
Return status code of last operations. More... | |
EMAPMatrixAxis | getAxis (unsigned int i) const |
const std::vector< EMClusterErrorsEntry > & | getValues () const |
return the std::vector<T> which contains all content information of the matrix. More... | |
void | clear () |
Clear all Matrix information (Also binning,...) More... | |
void | clearEntries () |
Clear Matrix content but not binning, dimensions and axis. More... | |
bool | isInRange (const std::vector< double > &x) const |
void | setTextDescription (const std::string &text) |
The user can add a Description of what this matrix contains and how it was produced, e.g. More... | |
const std::string & | getTextDescription () const |
The user can add a Description of what this matrix contains and how it was produced, e.g. More... | |
Protected Member Functions | |
StatusCode | setupEntries () |
Description of the content of this matrix. More... | |
unsigned int | Index (const std::vector< unsigned int > &x) const |
std::vector< unsigned int > | Index (unsigned int id) |
Protected Attributes | |
unsigned int | m_dimensions |
std::vector< EMAPMatrixAxis > | m_axis |
std::vector< EMClusterErrorsEntry > | m_matrix |
std::vector< unsigned int > | m_base |
representation of the content of matrix More... | |
std::string | m_textDescription |
helper object which is used to "convert" the 1dim m_matrix into a n-dimensional object More... | |
The EMClusterPhiErrorsMatrix class is derived of EMClusterErrorsMatrix and was designed to represents the cluster phi resulutions. The current binning is in eta.
Definition at line 19 of file EMClusterPhiErrorsMatrix.h.
EMClusterPhiErrorsMatrix::EMClusterPhiErrorsMatrix | ( | ) |
Definition at line 12 of file EMClusterPhiErrorsMatrix.cxx.
EMClusterPhiErrorsMatrix::EMClusterPhiErrorsMatrix | ( | const std::vector< EMAPMatrixAxis > & | axes, |
const std::string & | textDescription = "" |
||
) |
Definition at line 18 of file EMClusterPhiErrorsMatrix.cxx.
|
inline |
|
inherited |
Clear all Matrix information (Also binning,...)
|
inherited |
Clear Matrix content but not binning, dimensions and axis.
|
inlineinherited |
Definition at line 168 of file EMAPMatrix.h.
|
inherited |
Get Bin-content to "T" in bin which corresponds to value std::vector x.
Can only used for n-dimensional matrix if the length of the std::vector x ind n.
x | std::vector of length n which represents the values on all axes |
T | value which should be recieved |
|
inherited |
Get Bin-content to "T" in bin which corresponds to value "x".
Can only used for 1-dimensional matrix
x | value on x-axis |
T | value which is received |
|
inherited |
Get Bin-content to "T" in bin which corresponds to value "x,y".
Can only used for 2-dimensional matrix
x | value on x-axis |
y | value on y-axis |
T | value which is received |
|
inherited |
Get Bin-content to "T" in bin which corresponds to value "x,y,z".
Can only used for 3-dimensional matrix
x | value on x-axis |
y | value on y-axis |
z | value on z-axis |
T | value which is received |
|
inherited |
Get Bin-content to "T" in bin which corresponds to value "x,y,z,u".
Can only used for 4-dimensional matrix
|
inherited |
Get Bin-content to "T" in bin which corresponds to value "x,y,z,u,v".
Can only used for 5-dimensional matrix
|
inlineinherited |
Return status code of last operations.
Some access operations might have failed. In this case, the statusCode is set to false Return number of dimensions of this matrix
Definition at line 165 of file EMAPMatrix.h.
double EMClusterPhiErrorsMatrix::getError | ( | double | eta, |
double | energyCluster | ||
) | const |
Get (reconstruction/trigger) efficiency for a track.
Get the efficiency for the given "eta" and "pt" value.
vec | Vector with eta, phi and pt information of track |
Error on phi = C(eta) mrad/sqrt(Energy)
NOTE : Eta dependence of C will be implemented later. C=70mrad based on EG6 note
Definition at line 38 of file EMClusterPhiErrorsMatrix.cxx.
|
inlineinherited |
Definition at line 52 of file EMClusterErrorsMatrix.h.
|
inlineinherited |
Get efficiency in bin which corresponds to value std::vector x.
Can only used for n-dimensional matrix if the length of the std::vector x ind n.
x | std::vector of length n which represents the values on all axes |
Definition at line 51 of file EMClusterErrorsMatrix.h.
|
inherited |
The user can add a Description of what this matrix contains and how it was produced, e.g.
cuts
|
inlineinherited |
return the std::vector<T> which contains all content information of the matrix.
Note that the binning and dimensions is not coded inside
Definition at line 171 of file EMAPMatrix.h.
|
protectedinherited |
|
protectedinherited |
|
inherited |
|
inherited |
Definition at line 29 of file EMClusterErrorsMatrix.cxx.
|
inherited |
Set Bin-content to "T" in bin which corresponds to value std::vector x.
Can only used for n-dimensional matrix if the length of the std::vector x ind n.
x | std::vector of length n which represents the values on all axes |
T | value which should be set |
|
inherited |
Set Bin-content to "T" in bin which corresponds to value "x,y,z,u,v".
Can only used for 5-dimensional matrix
|
inherited |
Set Bin-content to "T" in bin which corresponds to value "x,y,z,u".
Can only used for 4-dimensional matrix
|
inherited |
Set Bin-content to "T" in bin which corresponds to value "x,y,z".
Can only used for 3-dimensional matrix
x | value on x-axis |
y | value on y-axis |
z | value on z-axis |
T | value which should be set |
|
inherited |
Set Bin-content to "T" in bin which corresponds to value "x" and "y".
Can only used for 2-dimensional matrix
x | value on x-axis |
y | value on y-axis |
T | value which should be set |
|
inherited |
Set Bin-content to "T" in bin which corresponds to value "x".
Can only used for 1-dimensional matrix
x | value on x-axis |
T | value which should be set |
|
inherited |
Sets bin-content to "apEntry" in bin which corresponds to value std::vector x.
Can only used for n-dimensional matrix if the length of the std::vector x ind n.
x | std::vector of length n which represents the values on all axes |
apEntry | value which should be set |
Definition at line 24 of file EMClusterErrorsMatrix.cxx.
StatusCode EMClusterPhiErrorsMatrix::setError | ( | double | eta, |
float | a | ||
) |
Add the outcome of the test at the given "eta" and "pt" value, i.e. if the reconstruction was successful or not.
Definition at line 25 of file EMClusterPhiErrorsMatrix.cxx.
|
inherited |
The user can add a Description of what this matrix contains and how it was produced, e.g.
cuts
|
protectedinherited |
Description of the content of this matrix.
|
inherited |
Setup Matrix via given std::vector of EMAPMatrixAxis objects.
|
protectedinherited |
Definition at line 193 of file EMAPMatrix.h.
|
protectedinherited |
representation of the content of matrix
Definition at line 196 of file EMAPMatrix.h.
|
protectedinherited |
Definition at line 191 of file EMAPMatrix.h.
|
protectedinherited |
Definition at line 195 of file EMAPMatrix.h.
|
protectedinherited |
helper object which is used to "convert" the 1dim m_matrix into a n-dimensional object
Definition at line 197 of file EMAPMatrix.h.