#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, and slope.
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().
|
inlinevirtual |
Get CM value
Implements TkCommonModeCalculator.
Definition at line 23 of file TT6CommonModeCalculator.h.
References newEvent(), and theTkCommonMode.
|
virtual |
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().
|
inlinevirtual |
Get Slope
Implements TkCommonModeCalculator.
Definition at line 26 of file TT6CommonModeCalculator.h.
References calculateCMSlope(), calculateCommonMode(), and slope.
|
virtual |
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().
|
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(), 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().