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

Member Function Documentation

◆ addList() [1/2]

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

Definition at line 89 of file MuonDQAHistMap.h.

89  {
90  m_data_int[station_idInt] = lst;
91  }

◆ addList() [2/2]

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

Definition at line 74 of file MuonDQAHistMap.h.

74  {
75  m_data[station_name] = lst;
76  }

◆ clear()

void MuonDQAHistMap::clear ( )
inline

Definition at line 70 of file MuonDQAHistMap.h.

70  {
71  m_data.clear();
72  }

◆ getList() [1/2]

MuonDQAHistList& MuonDQAHistMap::getList ( int  station_idInt)
inline

Definition at line 93 of file MuonDQAHistMap.h.

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

◆ getList() [2/2]

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

Definition at line 78 of file MuonDQAHistMap.h.

78  {
80  it = m_data.find( station_name );
81  if ( it != m_data.end() ) {
82  return it->second;
83  } else {
85  return m_data[station_name];
86  }
87  }

Member Data Documentation

◆ m_data

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

Definition at line 105 of file MuonDQAHistMap.h.

◆ m_data_int

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

Definition at line 106 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:105
skel.it
it
Definition: skel.GENtoEVGEN.py:396
MuonDQAHistMap::m_data_int
std::map< int, MuonDQAHistList > m_data_int
Definition: MuonDQAHistMap.h:106
MuonDQAHistList
Definition: MuonDQAHistMap.h:29
createCablingJSON.station_name
string station_name
Simple script to generate a BIS78 cabling map as used for the Monte Carlo processing.
Definition: createCablingJSON.py:8