#include <MedianCommonModeCalculator.h>
Public Member Functions | |
TkCommonMode * | commonMode () override |
ApvAnalysis::PedestalType | doIt (const ApvAnalysis::PedestalType &) override |
float | getCMSlope () override |
MedianCommonModeCalculator () | |
void | newEvent () override |
void | setCM (TkCommonMode *in) override |
void | setCM (const std::vector< float > &in) override |
~MedianCommonModeCalculator () override | |
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.
|
override |
Definition at line 16 of file MedianCommonModeCalculator.cc.
References gather_cfg::cout, and doIt().
|
protected |
Definition at line 42 of file MedianCommonModeCalculator.cc.
References alreadyUsedEvent, setCM(), and theCommonModeValues.
Referenced by doIt(), and getCMSlope().
|
inlineoverridevirtual |
Get CM value
Implements TkCommonModeCalculator.
Definition at line 22 of file MedianCommonModeCalculator.h.
References newEvent(), and theTkCommonMode.
|
overridevirtual |
Return CM-subtracted data in APV
Implements TkCommonModeCalculator.
Definition at line 23 of file MedianCommonModeCalculator.cc.
References calculateCommonMode(), mps_fire::i, MillePedeFileConverter_cfg::out, TkCommonModeTopology::setOfStrip(), theCommonModeValues, theTkCommonMode, and TkCommonMode::topology().
Referenced by MassReplace.MassSearchReplaceAnyInputTagVisitor::doIt(), ConfigBuilder.ConfigBuilder.MassSearchReplaceProcessNameVisitor::doIt(), MassReplace.MassSearchReplaceAnyInputTagVisitor::enter(), ConfigBuilder.ConfigBuilder.MassSearchReplaceProcessNameVisitor::enter(), and ~MedianCommonModeCalculator().
|
inlineoverridevirtual |
Get Slope
Implements TkCommonModeCalculator.
Definition at line 25 of file MedianCommonModeCalculator.h.
References calculateCommonMode(), and slope.
|
overridevirtual |
Tell CM calculator that a new event is available
Reimplemented from TkCommonModeCalculator.
Definition at line 68 of file MedianCommonModeCalculator.cc.
References alreadyUsedEvent.
Referenced by commonMode().
|
inlineoverridevirtual |
Implements TkCommonModeCalculator.
Definition at line 20 of file MedianCommonModeCalculator.h.
References recoMuon::in, and theTkCommonMode.
Referenced by calculateCommonMode().
|
inlineoverridevirtual |
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(), and doIt().
|
protected |
Definition at line 31 of file MedianCommonModeCalculator.h.
Referenced by commonMode(), doIt(), and setCM().