#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 79 of file TT6CommonModeCalculator.cc.
References alignCSCRings::s, slope, and jetUpdater_cfi::sort.
Referenced by calculateCommonMode().
|
protected |
Definition at line 39 of file TT6CommonModeCalculator.cc.
References alreadyUsedEvent, calculateCMSlope(), cutToAvoidSignal, TkCommonModeTopology::finalStrips(), mps_fire::i, TkCommonModeTopology::initialStrips(), dqmiolumiharvest::j, TkApvMask::mask(), TkNoiseCalculator::noise(), TkCommonModeTopology::numberOfSets(), TkApvMask::ok, setCM(), theApvMask, theCommonModeValues, theNoiseCalculator, theTkCommonMode, and TkCommonMode::topology().
Referenced by doIt().
|
inlineoverridevirtual |
Get CM value
Implements TkCommonModeCalculator.
Definition at line 21 of file TT6CommonModeCalculator.h.
References theTkCommonMode.
|
overridevirtual |
Return CM-subtracted data in APV
Implements TkCommonModeCalculator.
Definition at line 21 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(), MassReplace.MassSearchReplaceParamVisitor::enter(), and ConfigBuilder.ConfigBuilder.MassSearchReplaceProcessNameVisitor::enter().
|
inlineoverridevirtual |
Get Slope
Implements TkCommonModeCalculator.
Definition at line 24 of file TT6CommonModeCalculator.h.
References slope.
|
overridevirtual |
Tell CM calculator that a new event is available
Reimplemented from TkCommonModeCalculator.
Definition at line 75 of file TT6CommonModeCalculator.cc.
References alreadyUsedEvent.
|
inlineoverridevirtual |
Implements TkCommonModeCalculator.
Definition at line 19 of file TT6CommonModeCalculator.h.
References recoMuon::in, and theTkCommonMode.
Referenced by calculateCommonMode().
|
inlineoverridevirtual |
Implements TkCommonModeCalculator.
Definition at line 20 of file TT6CommonModeCalculator.h.
References recoMuon::in, TkCommonMode::setCommonMode(), and theTkCommonMode.
|
protected |
Definition at line 34 of file TT6CommonModeCalculator.h.
Referenced by calculateCommonMode(), and newEvent().
|
protected |
Definition at line 37 of file TT6CommonModeCalculator.h.
Referenced by calculateCommonMode(), and TT6CommonModeCalculator().
|
protected |
Definition at line 35 of file TT6CommonModeCalculator.h.
Referenced by calculateCMSlope(), and getCMSlope().
|
protected |
Definition at line 33 of file TT6CommonModeCalculator.h.
Referenced by calculateCommonMode().
|
protected |
Definition at line 31 of file TT6CommonModeCalculator.h.
Referenced by calculateCommonMode(), and doIt().
|
protected |
Definition at line 32 of file TT6CommonModeCalculator.h.
Referenced by calculateCommonMode().
|
protected |
Definition at line 30 of file TT6CommonModeCalculator.h.
Referenced by calculateCommonMode(), commonMode(), doIt(), and setCM().