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.)
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
return(e1-e2)*(e1-e2)+dp *dp
IDmap getSolution(const bool resetsolution=true)
void reset()
reset the calib objects