Public Member Functions | |
EcalPedestalsHelper () | |
Protected Types | |
typedef EcalPedestal | EcalObject |
Protected Member Functions | |
type_vValues | getValues (const std::vector< EcalPedestal > &vItems) |
Definition at line 136 of file EcalPedestalsPyWrapper.cc.
typedef EcalPedestal cond::EcalPedestalsHelper::EcalObject [protected] |
Definition at line 140 of file EcalPedestalsPyWrapper.cc.
cond::EcalPedestalsHelper::EcalPedestalsHelper | ( | ) | [inline] |
Definition at line 138 of file EcalPedestalsPyWrapper.cc.
type_vValues cond::EcalPedestalsHelper::getValues | ( | const std::vector< EcalPedestal > & | vItems | ) | [inline, protected, virtual] |
Implements EcalPyWrapperHelper< EcalPedestal >.
Definition at line 141 of file EcalPedestalsPyWrapper.cc.
References EcalPyWrapperHelper< EcalPedestal >::total_values.
{ //unsigned int totalValues = 6; type_vValues vValues(total_values); vValues[0].first = "mean_x12"; vValues[1].first = "rms_x12"; vValues[2].first = "mean_x6"; vValues[3].first = "rms_x6"; vValues[4].first = "mean_x1"; vValues[5].first = "rms_x1"; vValues[0].second = .0; vValues[1].second = .0; vValues[2].second = .0; vValues[3].second = .0; vValues[4].second = .0; vValues[5].second = .0; //get info: for(std::vector<EcalPedestal>::const_iterator iItems = vItems.begin(); iItems != vItems.end(); ++iItems){ vValues[0].second += iItems->mean(1); vValues[1].second += iItems->rms(1); vValues[2].second += iItems->mean(2); vValues[3].second += iItems->rms(2); vValues[4].second += iItems->mean(3); vValues[5].second += iItems->rms(3); } return vValues; }