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 65 of file MuonDQAHistMap.h.

Member Function Documentation

◆ addList() [1/2]

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

Definition at line 86 of file MuonDQAHistMap.h.

86  {
87  m_data_int[station_idInt] = lst;
88  }

◆ addList() [2/2]

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

Definition at line 71 of file MuonDQAHistMap.h.

71  {
73  }

◆ clear()

void MuonDQAHistMap::clear ( )
inline

Definition at line 67 of file MuonDQAHistMap.h.

67  {
68  m_data.clear();
69  }

◆ getList() [1/2]

MuonDQAHistList& MuonDQAHistMap::getList ( int  station_idInt)
inline

Definition at line 90 of file MuonDQAHistMap.h.

90  {
92  it = m_data_int.find( station_idInt );
93  if ( it != m_data_int.end() ) {
94  return it->second;
95  } else {
96  m_data_int[station_idInt] = MuonDQAHistList();
97  return m_data_int[station_idInt];
98  }
99  }

◆ getList() [2/2]

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

Definition at line 75 of file MuonDQAHistMap.h.

75  {
77  it = m_data.find( station_name );
78  if ( it != m_data.end() ) {
79  return it->second;
80  } else {
82  return m_data[station_name];
83  }
84  }

Member Data Documentation

◆ m_data

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

Definition at line 102 of file MuonDQAHistMap.h.

◆ m_data_int

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

Definition at line 103 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:102
skel.it
it
Definition: skel.GENtoEVGEN.py:407
MuonDQAHistMap::m_data_int
std::map< int, MuonDQAHistList > m_data_int
Definition: MuonDQAHistMap.h:103
python.getProblemFolderFromLogs.lst
lst
Definition: getProblemFolderFromLogs.py:44
MuonDQAHistList
Definition: MuonDQAHistMap.h:26
createCablingJSON.station_name
string station_name
Simple script to generate a BIS78 cabling map as used for the Monte Carlo processing.
Definition: createCablingJSON.py:13