Public Member Functions | |
EcalLaserAPDPNRatiosHelper () | |
Protected Types | |
typedef EcalLaserAPDPNRatios::EcalLaserAPDPNpair | EcalObject |
Protected Member Functions | |
type_vValues | getValues (const std::vector< EcalLaserAPDPNRatios::EcalLaserAPDPNpair > &vItems) |
Definition at line 62 of file EcalLaserAPDPNRatiosPyWrapper.cc.
typedef EcalLaserAPDPNRatios::EcalLaserAPDPNpair cond::EcalLaserAPDPNRatiosHelper::EcalObject [protected] |
Definition at line 66 of file EcalLaserAPDPNRatiosPyWrapper.cc.
cond::EcalLaserAPDPNRatiosHelper::EcalLaserAPDPNRatiosHelper | ( | ) | [inline] |
Definition at line 64 of file EcalLaserAPDPNRatiosPyWrapper.cc.
type_vValues cond::EcalLaserAPDPNRatiosHelper::getValues | ( | const std::vector< EcalLaserAPDPNRatios::EcalLaserAPDPNpair > & | vItems | ) | [inline, protected, virtual] |
Implements EcalPyWrapperHelper< EcalLaserAPDPNRatios::EcalLaserAPDPNpair >.
Definition at line 67 of file EcalLaserAPDPNRatiosPyWrapper.cc.
References EcalPyWrapperHelper< EcalLaserAPDPNRatios::EcalLaserAPDPNpair >::total_values.
{ //unsigned int totalValues = 6; type_vValues vValues(total_values); vValues[0].first = "p1"; vValues[1].first = "p2"; vValues[2].first = "p3"; vValues[0].second = .0; vValues[1].second = .0; vValues[2].second = .0; //get info: for(std::vector<EcalLaserAPDPNRatios::EcalLaserAPDPNpair>::const_iterator iItems = vItems.begin(); iItems != vItems.end(); ++iItems){ vValues[0].second += iItems->p1; vValues[1].second += iItems->p2; vValues[2].second += iItems->p3; } return vValues; }