ATLAS Offline Software
Loading...
Searching...
No Matches
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 }
std::map< int, MuonDQAHistList > m_data_int

◆ 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 }
std::map< std::string, MuonDQAHistList > m_data
str station_name
Simple script to generate a BIS78 cabling map as used for the Monte Carlo processing.

◆ 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 {
91 std::map<int, MuonDQAHistList>::iterator it;
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 {
76 std::map<std::string,MuonDQAHistList>::iterator it;
77 it = m_data.find( station_name );
78 if ( it != m_data.end() ) {
79 return it->second;
80 } else {
81 m_data[station_name] = MuonDQAHistList();
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: