#include <TT6CommonModeCalculator.h>
Public Member Functions | |
TkCommonMode * | commonMode () |
ApvAnalysis::PedestalType | doIt (const ApvAnalysis::PedestalType &) |
float | getCMSlope () |
void | newEvent () |
void | setCM (TkCommonMode *in) |
void | setCM (const std::vector< float > &in) |
TT6CommonModeCalculator (TkNoiseCalculator *noise_calc, TkApvMask *mask_calc, float sig_cut) | |
virtual | ~TT6CommonModeCalculator () |
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.
|
virtual |
|
protected |
Definition at line 85 of file TT6CommonModeCalculator.cc.
References alignCSCRings::s, slope, and python.multivaluedict::sort().
Referenced by calculateCommonMode().
|
protected |
Definition at line 42 of file TT6CommonModeCalculator.cc.
References alreadyUsedEvent, calculateCMSlope(), cutToAvoidSignal, TkCommonModeTopology::finalStrips(), i, TkCommonModeTopology::initialStrips(), j, TkApvMask::mask(), TkNoiseCalculator::noise(), TkCommonModeTopology::numberOfSets(), TkApvMask::ok, setCM(), theApvMask, theCommonModeValues, theNoiseCalculator, theTkCommonMode, and TkCommonMode::topology().
|
inlinevirtual |
Get CM value
Implements TkCommonModeCalculator.
Definition at line 23 of file TT6CommonModeCalculator.h.
References theTkCommonMode.
|
virtual |
Return CM-subtracted data in APV
Implements TkCommonModeCalculator.
Definition at line 23 of file TT6CommonModeCalculator.cc.
References i, and dbtoconf::out.
Referenced by HiHelperTools.MassSearchReplaceAnyInputTagVisitor::doIt(), helpers.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 26 of file TT6CommonModeCalculator.h.
References slope.
|
virtual |
Tell CM calculator that a new event is available
Reimplemented from TkCommonModeCalculator.
Definition at line 79 of file TT6CommonModeCalculator.cc.
References alreadyUsedEvent.
|
inlinevirtual |
Implements TkCommonModeCalculator.
Definition at line 21 of file TT6CommonModeCalculator.h.
References recoMuon::in, and theTkCommonMode.
Referenced by calculateCommonMode().
|
inlinevirtual |
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().
|
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(), and setCM().