ATLAS Offline Software
Public Types | Public Member Functions | Public Attributes | Private Types | Private Attributes | List of all members
IMdtCalibrationTool::ToolSettings Struct Reference

#include <IMdtCalibrationTool.h>

Collaboration diagram for IMdtCalibrationTool::ToolSettings:

Public Types

enum  Property : int {
  Property::TofCorrection = 0, Property::PropCorrection, Property::TempCorrection, Property::MagFieldCorrection,
  Property::SlewCorrection, Property::BackgroundCorrection, Property::NumSettings
}
 

Public Member Functions

void setBit (const Property prop, const bool value)
 
bool isActive (const Property prop) const
 

Public Attributes

timeWindowMode window {timeWindowMode::UserDefined}
 

Private Types

using bitmask = std::bitset< static_cast< unsigned >(Property::NumSettings)>
 

Private Attributes

bitmask m_mask {0}
 

Detailed Description

Definition at line 90 of file IMdtCalibrationTool.h.

Member Typedef Documentation

◆ bitmask

using IMdtCalibrationTool::ToolSettings::bitmask = std::bitset<static_cast<unsigned>(Property::NumSettings)>
private

Definition at line 109 of file IMdtCalibrationTool.h.

Member Enumeration Documentation

◆ Property

enum IMdtCalibrationTool::ToolSettings::Property : int
strong
Enumerator
TofCorrection 
PropCorrection 
TempCorrection 
MagFieldCorrection 
SlewCorrection 
BackgroundCorrection 
NumSettings 

Definition at line 91 of file IMdtCalibrationTool.h.

91  : int {
92  TofCorrection = 0,
93  PropCorrection,
94  TempCorrection,
95  MagFieldCorrection,
96  SlewCorrection,
97  BackgroundCorrection,
98  NumSettings
99  };

Member Function Documentation

◆ isActive()

bool IMdtCalibrationTool::ToolSettings::isActive ( const Property  prop) const
inline

Definition at line 104 of file IMdtCalibrationTool.h.

104  {
105  return m_mask.test(static_cast<unsigned int>(prop));
106  }

◆ setBit()

void IMdtCalibrationTool::ToolSettings::setBit ( const Property  prop,
const bool  value 
)
inline

Definition at line 101 of file IMdtCalibrationTool.h.

101  {
102  m_mask.set(static_cast<unsigned int>(prop), value);
103  }

Member Data Documentation

◆ m_mask

bitmask IMdtCalibrationTool::ToolSettings::m_mask {0}
private

Definition at line 110 of file IMdtCalibrationTool.h.

◆ window

timeWindowMode IMdtCalibrationTool::ToolSettings::window {timeWindowMode::UserDefined}

Definition at line 107 of file IMdtCalibrationTool.h.


The documentation for this struct was generated from the following file:
athena.value
value
Definition: athena.py:124
IMdtCalibrationTool::ToolSettings::m_mask
bitmask m_mask
Definition: IMdtCalibrationTool.h:110