14 std::cout <<
"I'm going to check the internal consistancy of EcalTPGScale transformation..." << std::endl;
35 vector<DetId>::const_iterator it;
42 for (
unsigned int ADC = 0;
ADC < 256;
ADC++) {
44 unsigned int tpgADC = ecalScale.
getTPGInADC(gev, towidEB);
47 cout <<
" ERROR : with ADC = " <<
ADC <<
" getTPGInGeV = " << gev <<
" getTPGInADC = " << tpgADC << endl;
57 for (
unsigned int ADC = 0;
ADC < 256;
ADC++) {
59 unsigned int tpgADC = ecalScale.
getTPGInADC(gev, towidEE);
62 cout <<
" ERROR : with ADC = " <<
ADC <<
" getTPGInGeV = " << gev <<
" getTPGInADC = " << tpgADC << endl;
68 cout <<
" there is no error with EcalTPGScale internal consistancy " << endl;