#include <TT6CommonModeCalculator.h>
Public Member Functions | |
TkCommonMode * | commonMode () override |
ApvAnalysis::PedestalType | doIt (const ApvAnalysis::PedestalType &) override |
float | getCMSlope () override |
void | newEvent () override |
void | setCM (TkCommonMode *in) override |
void | setCM (const std::vector< float > &in) override |
TT6CommonModeCalculator (TkNoiseCalculator *noise_calc, TkApvMask *mask_calc, float sig_cut) | |
~TT6CommonModeCalculator () override | |
Public Member Functions inherited from TkCommonModeCalculator | |
virtual | ~TkCommonModeCalculator () |
Protected Member Functions | |
void | calculateCMSlope (ApvAnalysis::PedestalType &) |
void | calculateCommonMode (ApvAnalysis::PedestalType &) |
Protected Attributes | |
bool | alreadyUsedEvent |
float | cutToAvoidSignal |
float | slope |
TkApvMask * | theApvMask |
std::vector< float > | theCommonModeValues |
TkNoiseCalculator * | theNoiseCalculator |
TkCommonMode * | theTkCommonMode |
Concrete implementation of TkCommonModeCalculator for TT6.
Definition at line 11 of file TT6CommonModeCalculator.h.
TT6CommonModeCalculator::TT6CommonModeCalculator | ( | TkNoiseCalculator * | noise_calc, |
TkApvMask * | mask_calc, | ||
float | sig_cut | ||
) |
Definition at line 5 of file TT6CommonModeCalculator.cc.
References gather_cfg::cout, and cutToAvoidSignal.
|
override |
|
protected |
Definition at line 85 of file TT6CommonModeCalculator.cc.
References alignCSCRings::s, slope, and jetUpdater_cfi::sort.
Referenced by calculateCommonMode(), and getCMSlope().
|
protected |
Definition at line 42 of file TT6CommonModeCalculator.cc.
References alreadyUsedEvent, calculateCMSlope(), cutToAvoidSignal, TkCommonModeTopology::finalStrips(), mps_fire::i, TkCommonModeTopology::initialStrips(), TkApvMask::mask(), TkNoiseCalculator::noise(), TkCommonModeTopology::numberOfSets(), TkApvMask::ok, setCM(), theApvMask, theCommonModeValues, theNoiseCalculator, theTkCommonMode, and TkCommonMode::topology().
Referenced by doIt(), and getCMSlope().
|
inlineoverridevirtual |
Get CM value
Implements TkCommonModeCalculator.
Definition at line 23 of file TT6CommonModeCalculator.h.
References newEvent(), and theTkCommonMode.
|
overridevirtual |
Return CM-subtracted data in APV
Implements TkCommonModeCalculator.
Definition at line 23 of file TT6CommonModeCalculator.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 ~TT6CommonModeCalculator().
|
inlineoverridevirtual |
Get Slope
Implements TkCommonModeCalculator.
Definition at line 26 of file TT6CommonModeCalculator.h.
References calculateCMSlope(), calculateCommonMode(), and slope.
|
overridevirtual |
Tell CM calculator that a new event is available
Reimplemented from TkCommonModeCalculator.
Definition at line 79 of file TT6CommonModeCalculator.cc.
References alreadyUsedEvent.
Referenced by commonMode().
|
inlineoverridevirtual |
Implements TkCommonModeCalculator.
Definition at line 21 of file TT6CommonModeCalculator.h.
References recoMuon::in, and theTkCommonMode.
Referenced by calculateCommonMode().
|
inlineoverridevirtual |
Implements TkCommonModeCalculator.
Definition at line 22 of file TT6CommonModeCalculator.h.
References TkCommonMode::setCommonMode(), and theTkCommonMode.
|
protected |
Definition at line 37 of file TT6CommonModeCalculator.h.
Referenced by calculateCommonMode(), and newEvent().
|
protected |
Definition at line 41 of file TT6CommonModeCalculator.h.
Referenced by calculateCommonMode(), and TT6CommonModeCalculator().
|
protected |
Definition at line 38 of file TT6CommonModeCalculator.h.
Referenced by calculateCMSlope(), Vispa.Views.LineDecayView.DecayLine::containsPoint(), getCMSlope(), and Vispa.Views.LineDecayView.DecayLine::transform().
|
protected |
Definition at line 36 of file TT6CommonModeCalculator.h.
Referenced by calculateCommonMode().
|
protected |
Definition at line 34 of file TT6CommonModeCalculator.h.
Referenced by calculateCommonMode(), and doIt().
|
protected |
Definition at line 35 of file TT6CommonModeCalculator.h.
Referenced by calculateCommonMode().
|
protected |
Definition at line 33 of file TT6CommonModeCalculator.h.
Referenced by calculateCommonMode(), commonMode(), doIt(), and setCM().