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