|
| CaloLocalHadCoeff () |
| Default constructor. More...
|
|
| CaloLocalHadCoeff (const CaloLocalHadCoeff &other)=default |
| Copy constructor. More...
|
|
CaloLocalHadCoeff & | operator= (const CaloLocalHadCoeff &other)=default |
|
| CaloLocalHadCoeff (CaloLocalHadCoeff &&) noexcept=default |
|
CaloLocalHadCoeff & | operator= (CaloLocalHadCoeff &&) noexcept=default |
|
const std::string & | getTitle () const |
| return name More...
|
|
void | setTitle (const std::string &title) |
| set name More...
|
|
int | getSizeAreaSet () const |
| return number of areas defined for this data set More...
|
|
void | addArea (LocalHadArea &theArea) |
| add new area More...
|
|
void | setArea (const int n_area, const LocalHadArea &theArea) |
| replace existing area with another one More...
|
|
const LocalHadArea * | getArea (int n_area) const |
| return area More...
|
|
const LocalHadArea * | getAreaFromBin (int iBin) const |
| return area defined for given general iBin More...
|
|
const LocalHadArea * | getAreaFromBin (int iBin, int &i_area) const |
| return area (and area index) defined for given general iBin More...
|
|
int | getSizeCoeffSet () const |
| return total number of coefficient sets More...
|
|
void | setCoeff (const int iBin, const LocalHadCoeff &theCoeff) |
| set new data More...
|
|
const LocalHadCoeff * | getCoeff (const int &iBin) const |
| get data for given general bin number More...
|
|
const LocalHadCoeff * | getCoeff (const int &n_area, std::vector< float > &vars) const |
| get data for given area and list of cluster variables More...
|
|
int | getBin (const int n_area, std::vector< float > &vars) const |
| calculate general bin from vector of input cluster variables More...
|
|
int | getBin (const int n_area, std::vector< int > &v_indexes) const |
| calculate general bin from known bins in dimensions More...
|
|
int | bin2indexes (const int iBin, std::vector< int > &v_dim_indx) const |
| expand general bin into vector of bins for defined dimensions More...
|
|
bool | isNeighbour (const int iBinx, std::vector< int > &v_indx) const |
| are this bins is neighbour to this indexes vector (any of their indexes differ per one ?) More...
|
|
bool | isFilled (const int iBin) const |
| check if general bin is filled More...
|
|
bool | getInterpArrays (const int n_area, const std::vector< int > &dim, std::vector< float > &x, std::vector< double > &xadj, std::vector< unsigned int > &gbin) const |
| for interpolation, build the vector of relative x, and global bins for interpolated array for area n_area and list of dimensions (all in case dim is empty) More...
|
|
Hold binned correction data for local hadronic calibration procedure.
defines enums and data types of CaloLocalHadCoeff
- Author
- Gennady Pospelov guenn.nosp@m.adi..nosp@m.pospe.nosp@m.lov@.nosp@m.cern..nosp@m.ch, Pavol Strizenec pavol.nosp@m.@mai.nosp@m.l.cer.nosp@m.n.ch
- Date
- 20-July-2009 This class holds binned correction data in multi-dimensional space for classification, weighting, out-of-cluster or dead material correction tools. Data are holded as vector of floats for each bin defined, thereby that at the end they appear to be vector of vector of float. One data set (one CaloLocalHadCoeff) serve for one correction tool.
Binning definition is done via conception of 'correction areas'. One area has fixed number of dimenensions, fixed way how these dimensions have been binned and fixed number of correction parameters for each bin.
For example, em/had classification tool requires following setup: 3 correction coefficients (em fraction of bin, number of entries in bin, some error in bin) are binned in 4 dimensions: cluster eta, log10(cluster energy), log10(cluster energy density), log10(cluter depth).
There could be more, than one, correction area defined for one correction tool. For example, dead material correction have 8 different areas defined for different kind of dead material energy depositions (before presamplers, between emec and hec, before FCAL, etc)
- Author
- Gennady Pospelov guenn.nosp@m.adi..nosp@m.pospe.nosp@m.lov@.nosp@m.cern..nosp@m.ch
- Date
- 18-August-2009
Definition at line 41 of file CaloLocalHadCoeff.h.