#include <MedianCommonModeCalculator.h>
Public Member Functions | |
TkCommonMode * | commonMode () |
ApvAnalysis::PedestalType | doIt (ApvAnalysis::PedestalType) |
float | getCMSlope () |
MedianCommonModeCalculator () | |
void | newEvent () |
void | setCM (TkCommonMode *in) |
void | setCM (std::vector< float > in) |
virtual | ~MedianCommonModeCalculator () |
Public Member Functions inherited from TkCommonModeCalculator | |
virtual | ~TkCommonModeCalculator () |
Protected Member Functions | |
void | calculateCommonMode (ApvAnalysis::PedestalType &) |
Protected Attributes | |
bool | alreadyUsedEvent |
float | slope |
std::vector< float > | theCommonModeValues |
TkCommonMode * | theTkCommonMode |
Concrete implementation of TkCommonModeCalculator for Median.
Definition at line 11 of file MedianCommonModeCalculator.h.
MedianCommonModeCalculator::MedianCommonModeCalculator | ( | ) |
Definition at line 5 of file MedianCommonModeCalculator.cc.
References gather_cfg::cout.
|
virtual |
|
protected |
Definition at line 41 of file MedianCommonModeCalculator.cc.
References alreadyUsedEvent, getHLTprescales::index, setCM(), python.multivaluedict::sort(), and theCommonModeValues.
|
inlinevirtual |
Get CM value
Implements TkCommonModeCalculator.
Definition at line 22 of file MedianCommonModeCalculator.h.
References theTkCommonMode.
|
virtual |
Return CM-subtracted data in APV
Implements TkCommonModeCalculator.
Definition at line 23 of file MedianCommonModeCalculator.cc.
References i, and dbtoconf::out.
Referenced by helpers.MassSearchReplaceAnyInputTagVisitor::doIt(), HiHelperTools.MassSearchReplaceAnyInputTagVisitor::doIt(), ConfigBuilder.ConfigBuilder.MassSearchReplaceProcessNameVisitor::doIt(), HiHelperTools.MassSearchReplaceAnyInputTagVisitor::enter(), helpers.MassSearchReplaceAnyInputTagVisitor::enter(), and ConfigBuilder.ConfigBuilder.MassSearchReplaceProcessNameVisitor::enter().
|
inlinevirtual |
Get Slope
Implements TkCommonModeCalculator.
Definition at line 25 of file MedianCommonModeCalculator.h.
References slope.
|
virtual |
Tell CM calculator that a new event is available
Reimplemented from TkCommonModeCalculator.
Definition at line 67 of file MedianCommonModeCalculator.cc.
References alreadyUsedEvent.
|
inlinevirtual |
Implements TkCommonModeCalculator.
Definition at line 20 of file MedianCommonModeCalculator.h.
References recoMuon::in, and theTkCommonMode.
Referenced by calculateCommonMode().
|
inlinevirtual |
Implements TkCommonModeCalculator.
Definition at line 21 of file MedianCommonModeCalculator.h.
References TkCommonMode::setCommonMode(), and theTkCommonMode.
|
protected |
Definition at line 33 of file MedianCommonModeCalculator.h.
Referenced by calculateCommonMode(), and newEvent().
|
protected |
Definition at line 34 of file MedianCommonModeCalculator.h.
Referenced by Vispa.Views.LineDecayView.DecayLine::containsPoint(), getCMSlope(), and Vispa.Views.LineDecayView.DecayLine::transform().
|
protected |
Definition at line 32 of file MedianCommonModeCalculator.h.
Referenced by calculateCommonMode().
|
protected |
Definition at line 31 of file MedianCommonModeCalculator.h.
Referenced by commonMode(), and setCM().