#include <TkCommonMode.h>
Public Member Functions | |
std::vector< float > | returnAsVector () const |
void | setCommonMode (const std::vector< float > &in) |
virtual void | setTopology (TkCommonModeTopology *in) |
virtual TkCommonModeTopology & | topology () |
std::vector< float > | toVector () const |
virtual | ~TkCommonMode () |
Private Attributes | |
TkCommonModeTopology * | myTkCommonModeTopology |
std::vector< float > | theCommonMode |
A common mode class which can work with any common mode topology, where the topology refers to the number of strips for which a common mode value is calculed (128 or less). Currently quite slow....
Definition at line 13 of file TkCommonMode.h.
|
inlinevirtual |
Definition at line 15 of file TkCommonMode.h.
|
inline |
Return vector containing all the independent CM values in the APV.
Definition at line 23 of file TkCommonMode.h.
References theCommonMode, and toVector().
|
inline |
Set the independent CM values in the APV
Definition at line 21 of file TkCommonMode.h.
References recoMuon::in, and theCommonMode.
Referenced by MedianCommonModeCalculator::setCM(), and TT6CommonModeCalculator::setCM().
|
inlinevirtual |
Definition at line 18 of file TkCommonMode.h.
References recoMuon::in, and myTkCommonModeTopology.
Referenced by ApvAnalysisFactory::constructAuxiliaryApvClasses().
|
inlinevirtual |
Definition at line 17 of file TkCommonMode.h.
References myTkCommonModeTopology.
Referenced by TT6CommonModeCalculator::calculateCommonMode(), ApvAnalysisFactory::deleteApv(), TT6CommonModeCalculator::doIt(), and MedianCommonModeCalculator::doIt().
vector< float > TkCommonMode::toVector | ( | ) | const |
Return vector of dimension 128, with CM value on each strip
Definition at line 3 of file TkCommonMode.cc.
References mps_fire::i, and groupFilesInBlocks::temp.
Referenced by returnAsVector().
|
private |
Definition at line 27 of file TkCommonMode.h.
Referenced by setTopology(), and topology().
|
private |
Definition at line 28 of file TkCommonMode.h.
Referenced by returnAsVector(), and setCommonMode().