Definition of correction area.
More...
#include <CaloLocalHadCoeff.h>
|
| std::string | m_title |
| | area title
|
| unsigned int | m_type |
| | area type
|
| int | m_npars |
| | number of correction parameters
|
| int | m_offset |
| | offset for the data in global vector (if more than one area is defined)
|
| int | m_length |
| | length of area data block (product of m_nbins over all dimensions defined)
|
| std::vector< LocalHadDimension > | m_dims |
| | vector of defined dimensions
|
| std::vector< int > | m_dims_loc |
| | locator index for dimensions
|
Definition of correction area.
Definition at line 145 of file CaloLocalHadCoeff.h.
◆ LocalHadArea() [1/4]
| CaloLocalHadCoeff::LocalHadArea::LocalHadArea |
( |
| ) |
|
|
inline |
Default Constructor.
Definition at line 150 of file CaloLocalHadCoeff.h.
int m_offset
offset for the data in global vector (if more than one area is defined)
unsigned int m_type
area type
int m_length
length of area data block (product of m_nbins over all dimensions defined)
int m_npars
number of correction parameters
◆ LocalHadArea() [2/4]
| CaloLocalHadCoeff::LocalHadArea::LocalHadArea |
( |
const char * | title, |
|
|
int | typ, |
|
|
int | npars ) |
|
inline |
Constructor.
- Parameters
-
| title | Name of the area |
| typ | Type of area |
| npars | Number of correction parameters |
Definition at line 157 of file CaloLocalHadCoeff.h.
158 {
161 };
std::vector< LocalHadDimension > m_dims
vector of defined dimensions
std::string m_title
area title
std::vector< int > m_dims_loc
locator index for dimensions
◆ LocalHadArea() [3/4]
| CaloLocalHadCoeff::LocalHadArea::LocalHadArea |
( |
const LocalHadArea & | other | ) |
|
|
default |
◆ LocalHadArea() [4/4]
| CaloLocalHadCoeff::LocalHadArea::LocalHadArea |
( |
LocalHadArea && | other | ) |
|
|
defaultnoexcept |
◆ addDimension()
to add new dimension
Definition at line 135 of file CaloLocalHadCoeff.cxx.
136{
138
141 for(
int i=0;
i<ndim;
i++){
143 }
144
146 for(int i_dim=0; i_dim<ndim; i_dim++){
147 int xloc = 1;
148 for(int j=i_dim+1; j<ndim; j++){
149 xloc = xloc*
m_dims[j].getNbins();
150 }
152 }
153}
◆ getDimension()
◆ getDimLoc()
| int CaloLocalHadCoeff::LocalHadArea::getDimLoc |
( |
int | i_dim | ) |
const |
|
inline |
◆ getLength()
| int CaloLocalHadCoeff::LocalHadArea::getLength |
( |
| ) |
const |
|
inline |
◆ getNdim()
| int CaloLocalHadCoeff::LocalHadArea::getNdim |
( |
| ) |
const |
|
inline |
◆ getNpars()
| int CaloLocalHadCoeff::LocalHadArea::getNpars |
( |
| ) |
const |
|
inline |
◆ getOffset()
| int CaloLocalHadCoeff::LocalHadArea::getOffset |
( |
| ) |
const |
|
inline |
◆ getTitle()
| const std::string & CaloLocalHadCoeff::LocalHadArea::getTitle |
( |
| ) |
const |
|
inline |
◆ getType()
| unsigned int CaloLocalHadCoeff::LocalHadArea::getType |
( |
| ) |
const |
|
inline |
◆ operator=() [1/2]
◆ operator=() [2/2]
◆ setLength()
| void CaloLocalHadCoeff::LocalHadArea::setLength |
( |
int | length | ) |
|
|
inline |
◆ setOffset()
| void CaloLocalHadCoeff::LocalHadArea::setOffset |
( |
int | offset | ) |
|
|
inline |
◆ m_dims
◆ m_dims_loc
| std::vector<int > CaloLocalHadCoeff::LocalHadArea::m_dims_loc |
|
private |
◆ m_length
| int CaloLocalHadCoeff::LocalHadArea::m_length |
|
private |
length of area data block (product of m_nbins over all dimensions defined)
Definition at line 208 of file CaloLocalHadCoeff.h.
◆ m_npars
| int CaloLocalHadCoeff::LocalHadArea::m_npars |
|
private |
◆ m_offset
| int CaloLocalHadCoeff::LocalHadArea::m_offset |
|
private |
offset for the data in global vector (if more than one area is defined)
Definition at line 205 of file CaloLocalHadCoeff.h.
◆ m_title
| std::string CaloLocalHadCoeff::LocalHadArea::m_title |
|
private |
◆ m_type
| unsigned int CaloLocalHadCoeff::LocalHadArea::m_type |
|
private |
The documentation for this class was generated from the following files: