Definition at line 136 of file EcalPedestalsPyWrapper.cc.
cond::EcalPedestalsHelper::EcalPedestalsHelper |
( |
| ) |
|
|
inline |
Implements EcalPyWrapperHelper< EcalPedestal >.
Definition at line 141 of file EcalPedestalsPyWrapper.cc.
References EcalPyWrapperHelper< EcalPedestal >::total_values.
146 vValues[0].first =
"mean_x12";
147 vValues[1].first =
"rms_x12";
148 vValues[2].first =
"mean_x6";
149 vValues[3].first =
"rms_x6";
150 vValues[4].first =
"mean_x1";
151 vValues[5].first =
"rms_x1";
153 vValues[0].second = .0;
154 vValues[1].second = .0;
155 vValues[2].second = .0;
156 vValues[3].second = .0;
157 vValues[4].second = .0;
158 vValues[5].second = .0;
161 for(std::vector<EcalPedestal>::const_iterator iItems = vItems.begin(); iItems != vItems.end(); ++iItems){
162 vValues[0].second += iItems->mean(1);
163 vValues[1].second += iItems->rms(1);
164 vValues[2].second += iItems->mean(2);
165 vValues[3].second += iItems->rms(2);
166 vValues[4].second += iItems->mean(3);
167 vValues[5].second += iItems->rms(3);
std::vector< std::pair< std::string, float > > type_vValues
unsigned int total_values