interface to the L3Univ class for testing More...
#include <L3CalibBlock.h>
Public Member Functions | |
double | at (int) |
To retrieve the coefficients. More... | |
void | Fill (std::map< int, double >::const_iterator, std::map< int, double >::const_iterator, double pTk, double pSubtract, double sigma=1.) override |
insert an entry More... | |
L3CalibBlock (const int numberOfElements, const int keventweight=1) | |
ctor More... | |
void | reset () override |
reset the calib objects More... | |
int | solve (int usingBlockSolver, double min, double max) override |
get the coefficients More... | |
~L3CalibBlock () override | |
dtor More... | |
Public Member Functions inherited from VEcalCalibBlock | |
float | at (const unsigned int index) |
retrieve the coefficients More... | |
VEcalCalibBlock (int numberOfElements) | |
ctor More... | |
virtual | ~VEcalCalibBlock () |
dtor More... | |
Private Attributes | |
MinL3AlgoUniv< unsigned int > * | m_L3AlgoUniv |
the L3 algo More... | |
Additional Inherited Members | |
Protected Attributes inherited from VEcalCalibBlock | |
std::map< unsigned int, float > | m_coefficients |
map of coefficients More... | |
unsigned int | m_numberOfElements |
The only parameter! More... | |
interface to the L3Univ class for testing
Definition at line 24 of file L3CalibBlock.h.
L3CalibBlock::L3CalibBlock | ( | const int | numberOfElements, |
const int | keventweight = 1 |
||
) |
ctor
Definition at line 13 of file L3CalibBlock.cc.
References reset().
|
override |
dtor
Definition at line 25 of file L3CalibBlock.cc.
References m_L3AlgoUniv.
double L3CalibBlock::at | ( | int | ) |
To retrieve the coefficients.
|
overridevirtual |
insert an entry
Implements VEcalCalibBlock.
Definition at line 35 of file L3CalibBlock.cc.
References MinL3AlgoUniv< IDdet >::addEvent(), randomXiThetaGunProducer_cfi::energy, m_L3AlgoUniv, position, and mathSSE::return().
|
overridevirtual |
reset the calib objects
Implements VEcalCalibBlock.
Definition at line 74 of file L3CalibBlock.cc.
References m_L3AlgoUniv, MinL3AlgoUniv< IDdet >::resetSolution(), and mathSSE::return().
Referenced by MatrixReader.MatrixReader::__init__(), L3CalibBlock(), data_sources.json_list::next(), and MatrixReader.MatrixReader::showRaw().
|
overridevirtual |
get the coefficients
Implements VEcalCalibBlock.
Definition at line 63 of file L3CalibBlock.cc.
References MinL3AlgoUniv< IDdet >::getSolution(), VEcalCalibBlock::m_coefficients, and m_L3AlgoUniv.
|
private |
the L3 algo
the universal L3 algo
Definition at line 52 of file L3CalibBlock.h.
Referenced by Fill(), reset(), solve(), and ~L3CalibBlock().