Public Member Functions | |
EcalGainRatiosHelper () | |
Protected Types | |
typedef EcalMGPAGainRatio | EcalObject |
Protected Member Functions | |
type_vValues | getValues (const std::vector< EcalObject > &vItems) |
Definition at line 55 of file EcalGainRatiosPyWrapper.cc.
typedef EcalMGPAGainRatio cond::EcalGainRatiosHelper::EcalObject [protected] |
Definition at line 61 of file EcalGainRatiosPyWrapper.cc.
cond::EcalGainRatiosHelper::EcalGainRatiosHelper | ( | ) | [inline] |
Definition at line 57 of file EcalGainRatiosPyWrapper.cc.
type_vValues cond::EcalGainRatiosHelper::getValues | ( | const std::vector< EcalObject > & | vItems | ) | [inline, protected, virtual] |
Implements EcalPyWrapperHelper< EcalMGPAGainRatio >.
Definition at line 63 of file EcalGainRatiosPyWrapper.cc.
References EcalPyWrapperHelper< EcalMGPAGainRatio >::total_values.
{ //change me //unsigned int totalValues = 2; type_vValues vValues(total_values); //change us vValues[0].first = "gain12Over6"; vValues[1].first = "gain6Over1"; vValues[0].second = .0; vValues[1].second = .0; //get info: for(std::vector<EcalObject>::const_iterator iItems = vItems.begin(); iItems != vItems.end(); ++iItems){ //change us vValues[0].second += iItems->gain12Over6(); vValues[1].second += iItems->gain6Over1(); } return vValues; }