Belle II Software development
|
Class for storing an algorithm determining the residual (ref-test) of momentum in theta (in degrees) More...
#include <AnalyzingAlgorithmResiduals.h>
Public Member Functions | |
AnalyzingAlgorithmResidualPTheta () | |
constructor | |
DataType | calcData (const TCInfoType &aTC) override |
returns the residual (ref-test) of momentum in theta (in degrees) | |
BELLE2_DEFINE_EXCEPTION (No_refTC_Attached, "To given testTC no refTC was attached, could not provide valid data for algorithm - no value returned!") | |
this exception is thrown if m_storeRefTCDataForTestTC is true and no refTC could be found | |
bool | operator== (const AnalyzingAlgorithmBase &b) const |
operator for comparison. | |
AlgoritmType::Type | getID () const |
returns unique ID | |
std::string | getIDName () const |
returns unique ID as a string | |
Static Public Member Functions | |
static VectorType & | getOrigin () |
returns current value for the origin | |
static void | setOrigin (VectorType newOrigin) |
set origin for all inherited classes | |
static bool | willRefTCdataBeUsed4TestTCs () |
returns current choice for behavior of algorithms in terms of storing reference or testData for successfully matched TCs | |
static void | setWillRefTCdataBeUsed4TestTCs (bool newBehavior) |
set behavior of algorithms in terms of storing reference or testData for successfully matched TCs | |
Protected Member Functions | |
virtual const TCInfoType & | chooseCorrectTC (const TCInfoType &aTC) const |
virtual class to determine the correct TC to be used for algorithm calculation. | |
virtual const TcPair | chooseCorrectPairOfTCs (const TCInfoType &aTC) const |
makes sure that TcPair.refTC and .testTC are correctly set - throws exception if there are problems | |
Protected Attributes | |
AlgoritmType::Type | m_iD |
carries unique ID | |
Static Protected Attributes | |
static VectorType | s_origin = VectorType(0, 0, 0) |
stores the origin used for some calculations, can be set here | |
static bool | m_storeRefTCDataForTestTC = false |
if true, for testTC the values of attached refTC will be stored instead of own values. | |
Class for storing an algorithm determining the residual (ref-test) of momentum in theta (in degrees)
Definition at line 118 of file AnalyzingAlgorithmResiduals.h.
|
inline |
constructor
Definition at line 121 of file AnalyzingAlgorithmResiduals.h.
|
inlineoverridevirtual |
returns the residual (ref-test) of momentum in theta (in degrees)
Reimplemented from AnalyzingAlgorithmBase< DataType, TCInfoType, VectorType >.
Definition at line 125 of file AnalyzingAlgorithmResiduals.h.
|
inlineprotectedvirtualinherited |
makes sure that TcPair.refTC and .testTC are correctly set - throws exception if there are problems
Definition at line 100 of file AnalyzingAlgorithmBase.h.
|
inlineprotectedvirtualinherited |
virtual class to determine the correct TC to be used for algorithm calculation.
Definition at line 84 of file AnalyzingAlgorithmBase.h.
|
inlineinherited |
returns unique ID
Definition at line 131 of file AnalyzingAlgorithmBase.h.
|
inlineinherited |
returns unique ID as a string
Definition at line 134 of file AnalyzingAlgorithmBase.h.
|
inlinestaticinherited |
returns current value for the origin
Definition at line 137 of file AnalyzingAlgorithmBase.h.
|
inlineinherited |
|
inlinestaticinherited |
set origin for all inherited classes
Definition at line 141 of file AnalyzingAlgorithmBase.h.
|
inlinestaticinherited |
set behavior of algorithms in terms of storing reference or testData for successfully matched TCs
Definition at line 149 of file AnalyzingAlgorithmBase.h.
|
inlinestaticinherited |
returns current choice for behavior of algorithms in terms of storing reference or testData for successfully matched TCs
Definition at line 145 of file AnalyzingAlgorithmBase.h.
|
protectedinherited |
carries unique ID
Definition at line 51 of file AnalyzingAlgorithmBase.h.