8 alreadyUsedEvent(
false)
10 if (0)
cout <<
"Constructing MedianCommonMode Calculator ..." << endl;
17 if (0)
cout <<
"Destructing TT6CommonModeCalculator " << endl;
26 calculateCommonMode(indat);
28 if(theCommonModeValues.size() >0) {
29 for (
unsigned int i=0;
i<indat.size();
i++){
30 setNumber = theTkCommonMode->topology().setOfStrip(
i);
31 out.push_back(indat[
i] - theCommonModeValues[setNumber]);
51 sort(indat.begin(),indat.end());
53 uint16_t
index = indat.size()%2 ? indat.size()/2 : indat.size()/2-1;
54 if ( !indat.empty() ) { avVal = indat[
index]; }
std::vector< float > PedestalType