ATLAS Offline Software
Public Member Functions | Private Attributes | List of all members
MuonDQAHistMap Class Reference

#include <MuonDQAHistMap.h>

Collaboration diagram for MuonDQAHistMap:

Public Member Functions

void clear ()
 
void addList (const std::string &station_name, const MuonDQAHistList &lst)
 
MuonDQAHistListgetList (std::string station_name)
 
void addList (const int &station_idInt, const MuonDQAHistList &lst)
 
MuonDQAHistListgetList (int station_idInt)
 

Private Attributes

std::map< std::string, MuonDQAHistListm_data
 
std::map< int, MuonDQAHistListm_data_int
 

Detailed Description

Definition at line 108 of file MuonDQAHistMap.h.

Member Function Documentation

◆ addList() [1/2]

void MuonDQAHistMap::addList ( const int &  station_idInt,
const MuonDQAHistList lst 
)
inline

Definition at line 129 of file MuonDQAHistMap.h.

129  {
130  m_data_int[station_idInt] = lst;
131  }

◆ addList() [2/2]

void MuonDQAHistMap::addList ( const std::string &  station_name,
const MuonDQAHistList lst 
)
inline

Definition at line 114 of file MuonDQAHistMap.h.

114  {
115  m_data[station_name] = lst;
116  }

◆ clear()

void MuonDQAHistMap::clear ( )
inline

Definition at line 110 of file MuonDQAHistMap.h.

110  {
111  m_data.clear();
112  }

◆ getList() [1/2]

MuonDQAHistList& MuonDQAHistMap::getList ( int  station_idInt)
inline

Definition at line 133 of file MuonDQAHistMap.h.

133  {
135  it = m_data_int.find( station_idInt );
136  if ( it != m_data_int.end() ) {
137  return it->second;
138  } else {
139  m_data_int[station_idInt] = MuonDQAHistList();
140  return m_data_int[station_idInt];
141  }
142  }

◆ getList() [2/2]

MuonDQAHistList& MuonDQAHistMap::getList ( std::string  station_name)
inline

Definition at line 118 of file MuonDQAHistMap.h.

118  {
120  it = m_data.find( station_name );
121  if ( it != m_data.end() ) {
122  return it->second;
123  } else {
125  return m_data[station_name];
126  }
127  }

Member Data Documentation

◆ m_data

std::map< std::string, MuonDQAHistList > MuonDQAHistMap::m_data
private

Definition at line 145 of file MuonDQAHistMap.h.

◆ m_data_int

std::map< int, MuonDQAHistList > MuonDQAHistMap::m_data_int
private

Definition at line 146 of file MuonDQAHistMap.h.


The documentation for this class was generated from the following file:
xAOD::iterator
JetConstituentVector::iterator iterator
Definition: JetConstituentVector.cxx:68
MuonDQAHistMap::m_data
std::map< std::string, MuonDQAHistList > m_data
Definition: MuonDQAHistMap.h:145
skel.it
it
Definition: skel.GENtoEVGEN.py:423
createCablingJSON.station_name
int station_name
Simple script to generate a BIS78 cabling map as used for the Monte Carlo processing.
Definition: createCablingJSON.py:8
MuonDQAHistMap::m_data_int
std::map< int, MuonDQAHistList > m_data_int
Definition: MuonDQAHistMap.h:146
MuonDQAHistList
Definition: MuonDQAHistMap.h:31