ATLAS Offline Software
Public Member Functions | Private Member Functions | Private Attributes | List of all members
Ringer::PreProcessing::Norm::ConstantValue Class Referenceabstract

#include <Normalizations.h>

Inheritance diagram for Ringer::PreProcessing::Norm::ConstantValue:
Collaboration diagram for Ringer::PreProcessing::Norm::ConstantValue:

Public Member Functions

 ConstantValue ()
 
 ConstantValue (const float constantValue)
 
virtual void execute (std::vector< float > &inputSpace) const final override
 
virtual void write (TDirectory *configDir, const char *idxStr="") const =0
 Write Ringer procedure to configuration directory. More...
 

Private Member Functions

 ConstantValue (ConstantValue &&)
 

Private Attributes

float m_constantInv
 Inverse value of the constant value normalization. More...
 

Detailed Description

Definition at line 108 of file Normalizations.h.

Constructor & Destructor Documentation

◆ ConstantValue() [1/3]

Ringer::PreProcessing::Norm::ConstantValue::ConstantValue ( )
inline

Definition at line 116 of file Normalizations.h.

117  : m_constantInv(1){;}

◆ ConstantValue() [2/3]

Ringer::PreProcessing::Norm::ConstantValue::ConstantValue ( const float  constantValue)
inline

Definition at line 118 of file Normalizations.h.

120  : m_constantInv(1/constantValue)
121  {
122  if (!m_constantInv) {
123  throw std::runtime_error(
124  std::string("Initialized ConstantValueVarDep norm with zero constant"));
125  }
126  }

◆ ConstantValue() [3/3]

Ringer::PreProcessing::Norm::ConstantValue::ConstantValue ( ConstantValue &&  )
private

Member Function Documentation

◆ execute()

virtual void Ringer::PreProcessing::Norm::ConstantValue::execute ( std::vector< float > &  inputSpace) const
finaloverridevirtual

◆ write()

virtual void Ringer::IRingerProcedure::write ( TDirectory *  configDir,
const char *  idxStr = "" 
) const
pure virtualinherited

Write Ringer procedure to configuration directory.

Member Data Documentation

◆ m_constantInv

float Ringer::PreProcessing::Norm::ConstantValue::m_constantInv
private

Inverse value of the constant value normalization.

Definition at line 133 of file Normalizations.h.


The documentation for this class was generated from the following file:
Ringer::PreProcessing::Norm::ConstantValue::m_constantInv
float m_constantInv
Inverse value of the constant value normalization.
Definition: Normalizations.h:133