![]()  | 
  
    ATLAS Offline Software
    
   | 
 
Class for data object used in SCT_MajorityCondAlg and SCT_MajorityConditionsTool. More...
#include <SCT_MajorityCondData.h>
Public Member Functions | |
| SCT_MajorityCondData () | |
| Constructor.  More... | |
| virtual | ~SCT_MajorityCondData ()=default | 
| Destructor.  More... | |
| void | setMajorityState (const int ®ion, const bool &majorityState) | 
| Set majority state for a region.  More... | |
| bool | getMajorityState (const int ®ion) const | 
| Get majority state for a region.  More... | |
| void | clearMajorityStates () | 
| Clear majority state.  More... | |
| void | setHVFraction (const int ®ion, const float &hvFraction) | 
| Set HV fraction for a region.  More... | |
| float | getHVFraction (const int ®ion) const | 
| Get HV fraction for a region.  More... | |
| void | clearHVFractions () | 
| Clear HV fractions.  More... | |
| void | setFilled (const bool &filled) | 
| Set filled variable.  More... | |
| bool | isFilled () const | 
| Get filled variable.  More... | |
Private Attributes | |
| std::map< int, bool > | m_majorityState | 
| Map to store majority state.  More... | |
| std::map< int, float > | m_hvFraction | 
| Map to store HV fraction.  More... | |
| bool | m_filled | 
| Flag to check data are filled or not.  More... | |
Class for data object used in SCT_MajorityCondAlg and SCT_MajorityConditionsTool.
Definition at line 23 of file SCT_MajorityCondData.h.
| SCT_MajorityCondData::SCT_MajorityCondData | ( | ) | 
Constructor.
Definition at line 13 of file SCT_MajorityCondData.cxx.
      
  | 
  virtualdefault | 
Destructor.
| void SCT_MajorityCondData::clearHVFractions | ( | ) | 
Clear HV fractions.
Definition at line 61 of file SCT_MajorityCondData.cxx.
| void SCT_MajorityCondData::clearMajorityStates | ( | ) | 
Clear majority state.
Definition at line 37 of file SCT_MajorityCondData.cxx.
| float SCT_MajorityCondData::getHVFraction | ( | const int & | region | ) | const | 
| bool SCT_MajorityCondData::getMajorityState | ( | const int & | region | ) | const | 
| bool SCT_MajorityCondData::isFilled | ( | ) | const | 
Get filled variable.
Definition at line 76 of file SCT_MajorityCondData.cxx.
| void SCT_MajorityCondData::setFilled | ( | const bool & | filled | ) | 
Set filled variable.
Definition at line 69 of file SCT_MajorityCondData.cxx.
Set HV fraction for a region.
Definition at line 45 of file SCT_MajorityCondData.cxx.
Set majority state for a region.
Definition at line 21 of file SCT_MajorityCondData.cxx.
      
  | 
  private | 
Flag to check data are filled or not.
Definition at line 55 of file SCT_MajorityCondData.h.
      
  | 
  private | 
Map to store HV fraction.
Definition at line 53 of file SCT_MajorityCondData.h.
      
  | 
  private | 
Map to store majority state.
Definition at line 51 of file SCT_MajorityCondData.h.
 1.8.18