Belle II Software development
KLMChannelStatusAlgorithm::Results Class Reference

Calibration results. More...

#include <KLMChannelStatusAlgorithm.h>

Public Member Functions

 Results ()
 Constructor.
 
 Results (const Results &results)
 Copy constructor.
 
 ~Results ()
 Destructor.
 
KLMChannelStatusgetChannelStatus () const
 Get channel status (last calibration).
 
KLMChannelStatusgetModuleStatus () const
 Get module status (last calibration).
 
const KLMChannelMapValue< unsigned int > & getHitMapChannel () const
 Get channel hit map.
 
const KLMChannelMapValue< unsigned int > & getHitMapModule () const
 Get module hit map.
 
const KLMChannelMapValue< unsigned int > & getHitMapSector () const
 Get sector hit map.
 
const KLMChannelMapValue< unsigned int > & getHitMapModuleNoHot () const
 Get module hit map (no hot channels).
 
const KLMChannelMapValue< unsigned int > & getHitMapSectorNoHot () const
 Get sector hit map (no hot channels).
 
const KLMChannelMapValue< unsigned int > & getModuleActiveChannelMap () const
 Get module active-channel map.
 
unsigned int getTotalHitNumber () const
 Get total hit number.
 
unsigned int getHitNumberEKLM () const
 Get number of hits in EKLM.
 
unsigned int getHitNumberBKLM () const
 Get number of hits in BKLM.
 

Private Attributes

KLMChannelStatusm_ModuleStatus = nullptr
 Module status.
 
KLMChannelStatusm_ChannelStatus = nullptr
 Channel status.
 
KLMChannelMapValue< unsigned int > m_HitMapChannel
 Channel hit map.
 
KLMChannelMapValue< unsigned int > m_HitMapModule
 Module hit map.
 
KLMChannelMapValue< unsigned int > m_HitMapSector
 Sector hit map.
 
KLMChannelMapValue< unsigned int > m_HitMapModuleNoHot
 Module hit map (no hit channels).
 
KLMChannelMapValue< unsigned int > m_HitMapSectorNoHot
 Sector hit map (no hot channels).
 
KLMChannelMapValue< unsigned int > m_ModuleActiveChannelMap
 Module active-channel map (number of active channels in module).
 
unsigned int m_TotalHitNumber = 0
 Total hit number.
 
unsigned int m_HitNumberBKLM = 0
 Number of hits in BKLM.
 
unsigned int m_HitNumberEKLM = 0
 Number of hits in EKLM.
 
unsigned int m_HitNumberBKLMNoHot = 0
 Number of hits in BKLM (no hot channels).
 
unsigned int m_HitNumberEKLMNoHot = 0
 Number of hits in EKLM (no hot channels).
 

Friends

class KLMChannelStatusAlgorithm
 

Detailed Description

Calibration results.

Definition at line 34 of file KLMChannelStatusAlgorithm.h.

Constructor & Destructor Documentation

◆ Results() [1/2]

Results ( )

Constructor.

Definition at line 20 of file KLMChannelStatusAlgorithm.cc.

21{
22}

◆ Results() [2/2]

Results ( const Results results)

Copy constructor.

Definition at line 24 of file KLMChannelStatusAlgorithm.cc.

25{
26 m_ModuleStatus = new KLMChannelStatus(*results.m_ModuleStatus);
27 m_ChannelStatus = new KLMChannelStatus(*results.m_ChannelStatus);
28 m_HitMapChannel = results.m_HitMapChannel;
29 m_HitMapModule = results.m_HitMapModule;
30 m_HitMapSector = results.m_HitMapSector;
31 m_HitMapModuleNoHot = results.m_HitMapModuleNoHot;
32 m_HitMapSectorNoHot = results.m_HitMapSectorNoHot;
33 m_ModuleActiveChannelMap = results.m_ModuleActiveChannelMap;
34 m_TotalHitNumber = results.m_TotalHitNumber;
35 m_HitNumberBKLM = results.m_HitNumberBKLM;
36 m_HitNumberEKLM = results.m_HitNumberEKLM;
37 m_HitNumberBKLMNoHot = results.m_HitNumberBKLMNoHot;
38 m_HitNumberEKLMNoHot = results.m_HitNumberEKLMNoHot;
39}
unsigned int m_HitNumberEKLM
Number of hits in EKLM.
KLMChannelStatus * m_ChannelStatus
Channel status.
KLMChannelMapValue< unsigned int > m_HitMapModuleNoHot
Module hit map (no hit channels).
KLMChannelMapValue< unsigned int > m_HitMapSectorNoHot
Sector hit map (no hot channels).
KLMChannelMapValue< unsigned int > m_HitMapChannel
Channel hit map.
KLMChannelMapValue< unsigned int > m_ModuleActiveChannelMap
Module active-channel map (number of active channels in module).
unsigned int m_HitNumberBKLM
Number of hits in BKLM.
KLMChannelMapValue< unsigned int > m_HitMapModule
Module hit map.
KLMChannelMapValue< unsigned int > m_HitMapSector
Sector hit map.
unsigned int m_HitNumberBKLMNoHot
Number of hits in BKLM (no hot channels).
unsigned int m_HitNumberEKLMNoHot
Number of hits in EKLM (no hot channels).
KLM channel status.

◆ ~Results()

~Results ( )

Destructor.

Definition at line 41 of file KLMChannelStatusAlgorithm.cc.

42{
43 if (m_ModuleStatus != nullptr)
44 delete m_ModuleStatus;
45 if (m_ChannelStatus != nullptr)
46 delete m_ChannelStatus;
47}

Member Function Documentation

◆ getChannelStatus()

KLMChannelStatus & getChannelStatus ( ) const
inline

Get channel status (last calibration).

Definition at line 58 of file KLMChannelStatusAlgorithm.h.

59 {
60 return *m_ChannelStatus;
61 }

◆ getHitMapChannel()

const KLMChannelMapValue< unsigned int > & getHitMapChannel ( ) const
inline

Get channel hit map.

Definition at line 74 of file KLMChannelStatusAlgorithm.h.

75 {
76 return m_HitMapChannel;
77 }

◆ getHitMapModule()

const KLMChannelMapValue< unsigned int > & getHitMapModule ( ) const
inline

Get module hit map.

Definition at line 82 of file KLMChannelStatusAlgorithm.h.

83 {
84 return m_HitMapModule;
85 }

◆ getHitMapModuleNoHot()

const KLMChannelMapValue< unsigned int > & getHitMapModuleNoHot ( ) const
inline

Get module hit map (no hot channels).

Definition at line 98 of file KLMChannelStatusAlgorithm.h.

99 {
100 return m_HitMapModuleNoHot;
101 }

◆ getHitMapSector()

const KLMChannelMapValue< unsigned int > & getHitMapSector ( ) const
inline

Get sector hit map.

Definition at line 90 of file KLMChannelStatusAlgorithm.h.

91 {
92 return m_HitMapSector;
93 }

◆ getHitMapSectorNoHot()

const KLMChannelMapValue< unsigned int > & getHitMapSectorNoHot ( ) const
inline

Get sector hit map (no hot channels).

Definition at line 106 of file KLMChannelStatusAlgorithm.h.

107 {
108 return m_HitMapSectorNoHot;
109 }

◆ getHitNumberBKLM()

unsigned int getHitNumberBKLM ( ) const
inline

Get number of hits in BKLM.

Definition at line 138 of file KLMChannelStatusAlgorithm.h.

139 {
140 return m_HitNumberBKLM;
141 }

◆ getHitNumberEKLM()

unsigned int getHitNumberEKLM ( ) const
inline

Get number of hits in EKLM.

Definition at line 130 of file KLMChannelStatusAlgorithm.h.

131 {
132 return m_HitNumberEKLM;
133 }

◆ getModuleActiveChannelMap()

const KLMChannelMapValue< unsigned int > & getModuleActiveChannelMap ( ) const
inline

Get module active-channel map.

Definition at line 114 of file KLMChannelStatusAlgorithm.h.

115 {
117 }

◆ getModuleStatus()

KLMChannelStatus & getModuleStatus ( ) const
inline

Get module status (last calibration).

Definition at line 66 of file KLMChannelStatusAlgorithm.h.

67 {
68 return *m_ModuleStatus;
69 }

◆ getTotalHitNumber()

unsigned int getTotalHitNumber ( ) const
inline

Get total hit number.

Definition at line 122 of file KLMChannelStatusAlgorithm.h.

123 {
124 return m_TotalHitNumber;
125 }

Friends And Related Function Documentation

◆ KLMChannelStatusAlgorithm

friend class KLMChannelStatusAlgorithm
friend

Definition at line 36 of file KLMChannelStatusAlgorithm.h.

Member Data Documentation

◆ m_ChannelStatus

KLMChannelStatus* m_ChannelStatus = nullptr
private

Channel status.

Definition at line 149 of file KLMChannelStatusAlgorithm.h.

◆ m_HitMapChannel

KLMChannelMapValue<unsigned int> m_HitMapChannel
private

Channel hit map.

Definition at line 152 of file KLMChannelStatusAlgorithm.h.

◆ m_HitMapModule

KLMChannelMapValue<unsigned int> m_HitMapModule
private

Module hit map.

Definition at line 155 of file KLMChannelStatusAlgorithm.h.

◆ m_HitMapModuleNoHot

KLMChannelMapValue<unsigned int> m_HitMapModuleNoHot
private

Module hit map (no hit channels).

Definition at line 161 of file KLMChannelStatusAlgorithm.h.

◆ m_HitMapSector

KLMChannelMapValue<unsigned int> m_HitMapSector
private

Sector hit map.

Definition at line 158 of file KLMChannelStatusAlgorithm.h.

◆ m_HitMapSectorNoHot

KLMChannelMapValue<unsigned int> m_HitMapSectorNoHot
private

Sector hit map (no hot channels).

Definition at line 164 of file KLMChannelStatusAlgorithm.h.

◆ m_HitNumberBKLM

unsigned int m_HitNumberBKLM = 0
private

Number of hits in BKLM.

Definition at line 173 of file KLMChannelStatusAlgorithm.h.

◆ m_HitNumberBKLMNoHot

unsigned int m_HitNumberBKLMNoHot = 0
private

Number of hits in BKLM (no hot channels).

Definition at line 179 of file KLMChannelStatusAlgorithm.h.

◆ m_HitNumberEKLM

unsigned int m_HitNumberEKLM = 0
private

Number of hits in EKLM.

Definition at line 176 of file KLMChannelStatusAlgorithm.h.

◆ m_HitNumberEKLMNoHot

unsigned int m_HitNumberEKLMNoHot = 0
private

Number of hits in EKLM (no hot channels).

Definition at line 182 of file KLMChannelStatusAlgorithm.h.

◆ m_ModuleActiveChannelMap

KLMChannelMapValue<unsigned int> m_ModuleActiveChannelMap
private

Module active-channel map (number of active channels in module).

Definition at line 167 of file KLMChannelStatusAlgorithm.h.

◆ m_ModuleStatus

KLMChannelStatus* m_ModuleStatus = nullptr
private

Module status.

Definition at line 146 of file KLMChannelStatusAlgorithm.h.

◆ m_TotalHitNumber

unsigned int m_TotalHitNumber = 0
private

Total hit number.

Definition at line 170 of file KLMChannelStatusAlgorithm.h.


The documentation for this class was generated from the following files: