Public Member Functions | |
EcalTPGLinearizationConstHelper () | |
Protected Types | |
typedef EcalTPGLinearizationConstant | EcalObject |
Protected Member Functions | |
type_vValues | getValues (const std::vector< EcalObject > &vItems) |
Definition at line 43 of file EcalTPGLinearizationConstPyWrapper.cc.
typedef EcalTPGLinearizationConstant cond::EcalTPGLinearizationConstHelper::EcalObject [protected] |
Definition at line 50 of file EcalTPGLinearizationConstPyWrapper.cc.
cond::EcalTPGLinearizationConstHelper::EcalTPGLinearizationConstHelper | ( | ) | [inline] |
Definition at line 46 of file EcalTPGLinearizationConstPyWrapper.cc.
type_vValues cond::EcalTPGLinearizationConstHelper::getValues | ( | const std::vector< EcalObject > & | vItems | ) | [inline, protected, virtual] |
Implements EcalPyWrapperHelper< EcalTPGLinearizationConstant >.
Definition at line 52 of file EcalTPGLinearizationConstPyWrapper.cc.
References EcalPyWrapperHelper< EcalTPGLinearizationConstant >::total_values.
{ type_vValues vValues(total_values); vValues[0].second = .0; vValues[1].second = .0; vValues[2].second = .0; vValues[3].second = .0; vValues[4].second = .0; vValues[5].second = .0; //change us vValues[0].first = "mult_x12"; vValues[1].first = "mult_x6"; vValues[2].first = "mult_x1"; vValues[3].first = "shift_x12"; vValues[4].first = "shift_x6"; vValues[5].first = "shift_x1"; for(std::vector<EcalObject>::const_iterator iItems = vItems.begin(); iItems != vItems.end(); ++iItems){ //change us vValues[0].second += iItems->mult_x12; vValues[1].second += iItems->mult_x6; vValues[2].second += iItems->mult_x1; vValues[3].second += iItems->shift_x12; vValues[4].second += iItems->shift_x6; vValues[5].second += iItems->shift_x1; } return vValues; }