14 const int keventweight):
36 std::map<int,double>::const_iterator MapEnd ,
42 std::vector<float>
energy ;
45 for (std::map<int,double>::const_iterator itMap = MapBegin ;
50 position.push_back (itMap->first) ;
51 energy.push_back (itMap->second) ;
element for the single ECAL block intercalibration
MinL3AlgoUniv< unsigned int > * m_L3AlgoUniv
the L3 algo
void addEvent(const std::vector< float > &myCluster, const std::vector< IDdet > &idCluster, const float &energy)
add event to the calculation of the calibration vector
L3CalibBlock(const int numberOfElements, const int keventweight=1)
ctor
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
int solve(int usingBlockSolver, double min, double max) override
get the coefficients
std::map< unsigned int, float > m_coefficients
map of coefficients
void resetSolution()
reset for new iteration
IDmap getSolution(const bool resetsolution=true)
static int position[264][3]
void reset() override
reset the calib objects
~L3CalibBlock() override
dtor