ATLAS Offline Software
Public Member Functions | Public Attributes | List of all members
CaloGPUClusterAndCellDataMonitor::sample_comparisons_holder Struct Reference
Collaboration diagram for CaloGPUClusterAndCellDataMonitor::sample_comparisons_holder:

Public Member Functions

int r2t (const int i) const
 Converts a cluster index from the reference tool (first) to the test tool (second). More...
 
int t2r (const int i) const
 Converts a cluster index from the test tool (second) to the reference tool (first). More...
 
int ref_unmatched () const
 Returns the number of unmatched clusters in the reference (first) tool. More...
 
int test_unmatched () const
 Returns the number of unmatched clusters in the test (second) tool. More...
 

Public Attributes

std::vector< int > r2t_table
 
std::vector< int > t2r_table
 
std::vector< int > unmatched_ref_list
 
std::vector< int > unmatched_test_list
 

Detailed Description

Definition at line 128 of file CaloGPUClusterAndCellDataMonitor.h.

Member Function Documentation

◆ r2t()

int CaloGPUClusterAndCellDataMonitor::sample_comparisons_holder::r2t ( const int  i) const
inline

Converts a cluster index from the reference tool (first) to the test tool (second).

Returns -1 in case the cluster has not been matched.

Definition at line 135 of file CaloGPUClusterAndCellDataMonitor.h.

136  {
137  return r2t_table[i];
138  }

◆ ref_unmatched()

int CaloGPUClusterAndCellDataMonitor::sample_comparisons_holder::ref_unmatched ( ) const
inline

Returns the number of unmatched clusters in the reference (first) tool.

Definition at line 146 of file CaloGPUClusterAndCellDataMonitor.h.

147  {
148  return unmatched_ref_list.size();
149  }

◆ t2r()

int CaloGPUClusterAndCellDataMonitor::sample_comparisons_holder::t2r ( const int  i) const
inline

Converts a cluster index from the test tool (second) to the reference tool (first).

Returns -1 in case the cluster has not been matched.

Definition at line 141 of file CaloGPUClusterAndCellDataMonitor.h.

142  {
143  return t2r_table[i];
144  }

◆ test_unmatched()

int CaloGPUClusterAndCellDataMonitor::sample_comparisons_holder::test_unmatched ( ) const
inline

Returns the number of unmatched clusters in the test (second) tool.

Definition at line 151 of file CaloGPUClusterAndCellDataMonitor.h.

152  {
153  return unmatched_test_list.size();
154  }

Member Data Documentation

◆ r2t_table

std::vector<int> CaloGPUClusterAndCellDataMonitor::sample_comparisons_holder::r2t_table

Definition at line 130 of file CaloGPUClusterAndCellDataMonitor.h.

◆ t2r_table

std::vector<int> CaloGPUClusterAndCellDataMonitor::sample_comparisons_holder::t2r_table

Definition at line 130 of file CaloGPUClusterAndCellDataMonitor.h.

◆ unmatched_ref_list

std::vector<int> CaloGPUClusterAndCellDataMonitor::sample_comparisons_holder::unmatched_ref_list

Definition at line 131 of file CaloGPUClusterAndCellDataMonitor.h.

◆ unmatched_test_list

std::vector<int> CaloGPUClusterAndCellDataMonitor::sample_comparisons_holder::unmatched_test_list

Definition at line 131 of file CaloGPUClusterAndCellDataMonitor.h.


The documentation for this struct was generated from the following file:
CaloGPUClusterAndCellDataMonitor::sample_comparisons_holder::r2t_table
std::vector< int > r2t_table
Definition: CaloGPUClusterAndCellDataMonitor.h:130
CaloGPUClusterAndCellDataMonitor::sample_comparisons_holder::unmatched_test_list
std::vector< int > unmatched_test_list
Definition: CaloGPUClusterAndCellDataMonitor.h:131
lumiFormat.i
int i
Definition: lumiFormat.py:85
CaloGPUClusterAndCellDataMonitor::sample_comparisons_holder::t2r_table
std::vector< int > t2r_table
Definition: CaloGPUClusterAndCellDataMonitor.h:130
CaloGPUClusterAndCellDataMonitor::sample_comparisons_holder::unmatched_ref_list
std::vector< int > unmatched_ref_list
Definition: CaloGPUClusterAndCellDataMonitor.h:131