Public Member Functions | |
EcalTPGPedestalsHelper () | |
Protected Types | |
typedef EcalTPGPedestal | EcalObject |
Protected Member Functions | |
type_vValues | getValues (const std::vector< EcalObject > &vItems) |
Definition at line 42 of file EcalTPGPedestalsPyWrapper.cc.
typedef EcalTPGPedestal cond::EcalTPGPedestalsHelper::EcalObject [protected] |
Definition at line 48 of file EcalTPGPedestalsPyWrapper.cc.
cond::EcalTPGPedestalsHelper::EcalTPGPedestalsHelper | ( | ) | [inline] |
Definition at line 44 of file EcalTPGPedestalsPyWrapper.cc.
type_vValues cond::EcalTPGPedestalsHelper::getValues | ( | const std::vector< EcalObject > & | vItems | ) | [inline, protected, virtual] |
Implements EcalPyWrapperHelper< EcalTPGPedestal >.
Definition at line 50 of file EcalTPGPedestalsPyWrapper.cc.
References EcalPyWrapperHelper< EcalTPGPedestal >::total_values.
{ type_vValues vValues(total_values); //change us vValues[0].first = "mean_x12"; vValues[1].first = "mean_x6"; vValues[2].first = "mean_x1"; vValues[0].second = .0; vValues[1].second = .0; vValues[2].second = .0; //get info: for(std::vector<EcalObject>::const_iterator iItems = vItems.begin(); iItems != vItems.end(); ++iItems){ //change us vValues[0].second += iItems->mean_x12; vValues[1].second += iItems->mean_x6; vValues[2].second += iItems->mean_x1; } return vValues; }