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

#include <MuonDQAHistMap.h>

Collaboration diagram for MuonDQAHistMap_LW:

Public Member Functions

void clear ()
 
void addList (const std::string &station_name, const MuonDQAHistList_LW &lst)
 
MuonDQAHistList_LWgetList (std::string station_name)
 
void addList (const int &station_idInt, const MuonDQAHistList_LW &lst)
 
MuonDQAHistList_LWgetList (int station_idInt)
 

Private Attributes

std::map< std::string, MuonDQAHistList_LWm_data
 
std::map< int, MuonDQAHistList_LWm_data_int
 

Detailed Description

Definition at line 149 of file MuonDQAHistMap.h.

Member Function Documentation

◆ addList() [1/2]

void MuonDQAHistMap_LW::addList ( const int &  station_idInt,
const MuonDQAHistList_LW lst 
)
inline

Definition at line 170 of file MuonDQAHistMap.h.

170  {
171  m_data_int[station_idInt] = lst;
172  }

◆ addList() [2/2]

void MuonDQAHistMap_LW::addList ( const std::string &  station_name,
const MuonDQAHistList_LW lst 
)
inline

Definition at line 155 of file MuonDQAHistMap.h.

155  {
156  m_data[station_name] = lst;
157  }

◆ clear()

void MuonDQAHistMap_LW::clear ( )
inline

Definition at line 151 of file MuonDQAHistMap.h.

151  {
152  m_data.clear();
153  }

◆ getList() [1/2]

MuonDQAHistList_LW& MuonDQAHistMap_LW::getList ( int  station_idInt)
inline

Definition at line 174 of file MuonDQAHistMap.h.

174  {
176  it = m_data_int.find( station_idInt );
177  if ( it != m_data_int.end() ) {
178  return it->second;
179  } else {
180  m_data_int[station_idInt] = MuonDQAHistList_LW();
181  return m_data_int[station_idInt];
182  }
183  }

◆ getList() [2/2]

MuonDQAHistList_LW& MuonDQAHistMap_LW::getList ( std::string  station_name)
inline

Definition at line 159 of file MuonDQAHistMap.h.

159  {
161  it = m_data.find( station_name );
162  if ( it != m_data.end() ) {
163  return it->second;
164  } else {
166  return m_data[station_name];
167  }
168  }

Member Data Documentation

◆ m_data

std::map< std::string, MuonDQAHistList_LW > MuonDQAHistMap_LW::m_data
private

Definition at line 186 of file MuonDQAHistMap.h.

◆ m_data_int

std::map< int, MuonDQAHistList_LW > MuonDQAHistMap_LW::m_data_int
private

Definition at line 187 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_LW::m_data_int
std::map< int, MuonDQAHistList_LW > m_data_int
Definition: MuonDQAHistMap.h:187
skel.it
it
Definition: skel.GENtoEVGEN.py:423
MuonDQAHistList_LW
Definition: MuonDQAHistMap.h:69
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_LW::m_data
std::map< std::string, MuonDQAHistList_LW > m_data
Definition: MuonDQAHistMap.h:186