18 const int keventweight):
40 std::map<int,double>::const_iterator MapEnd ,
46 std::vector<float>
energy ;
49 for (std::map<int,double>::const_iterator itMap = MapBegin ;
54 position.push_back (itMap->first) ;
55 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.)
insert an entry
static int position[TOTALCHAMBERS][3]
const T & max(const T &a, const T &b)
int solve(int usingBlockSolver, double min, double max)
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)
void reset()
reset the calib objects