#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 (const std::vector< float > &in) override |
void | setCM (TkCommonMode *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 | ( | ) |
|
override |
Definition at line 16 of file MedianCommonModeCalculator.cc.
References gather_cfg::cout.
|
protected |
Definition at line 41 of file MedianCommonModeCalculator.cc.
References alreadyUsedEvent, setCM(), and theCommonModeValues.
Referenced by doIt().
|
inlineoverridevirtual |
Get CM value
Implements TkCommonModeCalculator.
Definition at line 21 of file MedianCommonModeCalculator.h.
References 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(), MassReplace.MassSearchReplaceParamVisitor::enter(), and ConfigBuilder.ConfigBuilder.MassSearchReplaceProcessNameVisitor::enter().
|
inlineoverridevirtual |
Get Slope
Implements TkCommonModeCalculator.
Definition at line 24 of file MedianCommonModeCalculator.h.
References slope.
|
overridevirtual |
Tell CM calculator that a new event is available
Reimplemented from TkCommonModeCalculator.
Definition at line 65 of file MedianCommonModeCalculator.cc.
References alreadyUsedEvent.
|
inlineoverridevirtual |
Implements TkCommonModeCalculator.
Definition at line 20 of file MedianCommonModeCalculator.h.
References recoMuon::in, TkCommonMode::setCommonMode(), and theTkCommonMode.
|
inlineoverridevirtual |
Implements TkCommonModeCalculator.
Definition at line 19 of file MedianCommonModeCalculator.h.
References recoMuon::in, and theTkCommonMode.
Referenced by calculateCommonMode().
|
protected |
Definition at line 31 of file MedianCommonModeCalculator.h.
Referenced by calculateCommonMode(), and newEvent().
|
protected |
Definition at line 32 of file MedianCommonModeCalculator.h.
Referenced by getCMSlope().
|
protected |
Definition at line 30 of file MedianCommonModeCalculator.h.
Referenced by calculateCommonMode(), and doIt().
|
protected |
Definition at line 29 of file MedianCommonModeCalculator.h.
Referenced by commonMode(), doIt(), and setCM().